上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页
摘要: 例子:一个高速路有10个入口,每个入口每秒钟只能进1辆车1、请问1秒钟最多能进几辆车? TPS=102、每辆车需要多长时间进行响应? reponse time = 13、改成20辆车,每秒能进几辆?每辆车的响应时间是多长? TPS = 10,reponse time = 1 (10个为一等份,分成两 阅读全文
posted @ 2017-09-14 20:43 幸福安康 阅读(783) 评论(0) 推荐(0) 编辑
摘要: csdn中使用git必须的条件(windows系统下): 1、本机当前登录用户文件夹下必须有.ssh隐藏文件,并且这个文件中必须有用git bash中用命令生成的密钥文件:id_rsa id_rsa.pub 2、把id_rsa.pub中的字符添加到自己在csdn中的公钥管理中 步骤如下: 1、下载g 阅读全文
posted @ 2017-09-10 22:34 幸福安康 阅读(278) 评论(0) 推荐(0) 编辑
摘要: http: https: 阅读全文
posted @ 2017-09-05 10:19 幸福安康 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: C#笔记25:比较和排序(IComparable和IComparer以及它们的泛型实现) 本文摘要: 1:比较和排序的概念; 2:IComparable和IComparer; 3:IComparable和IComparer的泛型实现IComparable<T>和IComparer<T>; 1:比较和 阅读全文
posted @ 2017-08-13 17:11 幸福安康 阅读(374) 评论(0) 推荐(0) 编辑
摘要: //1、 // 装箱和拆箱是一个抽象的概念 //2、 // 装箱是将值类型转换为引用类型 ;拆箱是将引用类型转换为值类型 // 利用装箱和拆箱功能,可通过允许值类型的任何值与Object 类型的值相互转换,将//值类型与引用类型链接起来 //例如: int val = 100; object obj = val; Console.WriteLine (“对象的值 ... 阅读全文
posted @ 2017-08-13 17:06 幸福安康 阅读(458) 评论(0) 推荐(1) 编辑
摘要: //使用Sort方法,可以对集合中的元素进行排序。Sort有三种重载方法,声明代码如下所//示。 public void Sort(); //使用集合元素的比较方式进行排序 public void Sort(IComparer comparer); //使用自定义比较器进行排序 public void Sort(int index, int count, IComparer compare... 阅读全文
posted @ 2017-08-13 16:47 幸福安康 阅读(2006) 评论(0) 推荐(0) 编辑
摘要: 在sqlserver2008中“新建查询”,执行批量添加语句的执行时间: 10000 条数据 用了3秒50000 条数据 21秒100000 条数据 42秒40000 条数据 16秒200000 条数据 1:37秒 阅读全文
posted @ 2017-08-10 15:05 幸福安康 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 1、安装方法有4种,官方推荐是第一种. virtualenv(官方推荐) "native" pip Docker Anaconda 2、基于virtualenv的安装方法: 1)、Install pip and virtualenv by issuing one of the following c 阅读全文
posted @ 2017-08-09 14:24 幸福安康 阅读(236) 评论(0) 推荐(0) 编辑
摘要: # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the L... 阅读全文
posted @ 2017-08-09 10:59 幸福安康 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 在我们的程序中,经常会有一些耗时较长的运算,为了保证用户体验,不引起界面不响应,我们一般会采用多线程操作,让耗时操作在后台完成,完成后再进行处理或给出提示,在运行中,也会时时去刷新界面上的进度条等显示元,必要进,还要控制后台线程中断当前操作。 以前,类似的应用会比较麻烦,需要写的代码较多,也很容易出 阅读全文
posted @ 2017-07-19 17:57 幸福安康 阅读(295) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页