一、前言这篇文章其实是上篇文章的内存优化部分。博主的php程序在执行的时候,报错: Out of memory (allocated 364904448) (tried to allocate 262144 bytes) 也就是传统的内存不足报错,问题是我本地设置的内存已经是1280M了,简直不能忍 ...
分类:
编程语言 时间:
2019-11-02 16:09:29
阅读次数:
98
官方文档:http://www.codeisbug.com/Doc/8/1159二: 返回指定列匿名类集合 var data = db.Queryable() .Select(f => new { f.ID, f.Name }).ToList(); /* 生成SQL: SELECT [ID] AS ... ...
分类:
数据库 时间:
2019-10-31 23:22:02
阅读次数:
1382
# 前言 Postman目前是一款很火的接口测试工具,它有着非常强大结果判断能力。 为什么说强大呢,因为Postman有自带的校验脚本,根本不需要我们去学习JS脚本语言,对于代码能力为0的各位测试小伙伴来说,特别的友好。  //判断页面是否出现alert弹窗 ey: wait = WebDriverWait(driver,10) # 打印alert框的信息 w ...
分类:
其他好文 时间:
2019-10-25 13:09:43
阅读次数:
59
MVP模型 View主要是Activity,Fragment MVP和MVC的差别 1.Model和View不再直接通信,通过中间层Presenter来实现。 2.Activity的功能被简化,不再充当控制器,主要负责View层面的工作。 ...
分类:
移动开发 时间:
2019-10-23 11:24:35
阅读次数:
93
/** * ReactDOM v15.6.1 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license ...
分类:
其他好文 时间:
2019-10-22 23:48:19
阅读次数:
100
/** * React v15.6.1 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license fou ...
分类:
其他好文 时间:
2019-10-22 23:40:29
阅读次数:
91
Unit 1 Present continuous (I am doing) Am/is/are + -ing is the Present continuous. I am doing something = I'm in the middle of doing it; I've started ...
分类:
其他好文 时间:
2019-10-22 22:27:02
阅读次数:
88
A. Stones Description 给出3堆物品,个数分别为a,b,c 有两种取数方式,a1b2,b1c2,问最多取多少物品 Solution $O(n^2)暴力$ 1 #include <algorithm> 2 #include <cctype> 3 #include <cmath> 4 ...
分类:
其他好文 时间:
2019-10-22 22:25:44
阅读次数:
99