码迷,mamicode.com
首页 >  
搜索关键字:system message queue    ( 66669个结果
Java基础:泛型
Java的泛型是什么呢, 就是类型的参数化,也就是原本该是确定类型的地方换成了变量,把类型的确定时间向后延迟了。     在之前,学过“重载”的概念,重载是什么呢,举例来说 public class Test{ // 处理整型数据 void receive(int i) { System.out.println("Received one int data"); System.ou...
分类:编程语言   时间:2014-07-22 23:04:34    阅读次数:324
Linq to EF 和 Linq to SQL 中间Linq 产生的SQL语句
一,Linq to EF using System;using System.Runtime.CompilerServices;using System.Linq;using System.Data; namespace EntityframeworkSQL{ class Program { sta...
分类:数据库   时间:2014-07-22 23:00:53    阅读次数:553
C#简单工厂模式(文件案例)
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 读文件案例{ cla...
分类:其他好文   时间:2014-07-22 22:59:55    阅读次数:241
DbUtility-查询DataTable
直接上源码 1 using System; 2 using System.Data; 3 using System.Threading.Tasks; 4 using DbUtility; 5 6 namespace TestDbUtilityConsole 7 { 8 class Prog...
分类:数据库   时间:2014-05-01 21:15:43    阅读次数:560
IOS中Block的循环引用
@interface DemoObj()@property (nonatomic, strong) NSOperationQueue *queue;@end@implementation DemoObj- (instancetype)init{ self = [super init]; ...
分类:移动开发   时间:2014-05-01 20:28:37    阅读次数:917
在windows 2008 R2中SQl Server 2008中代理启动失败的一个原因总结
启动SQL代理的时候报错如下:关调用实时(JIT)调试而不是此对话框的详细信息,请参见此消息的结尾。************** 异常文本 **************System.NullReferenceException: 未将对象引用设置到对象的实例。Server stack trace: ...
分类:数据库   时间:2014-05-01 20:21:21    阅读次数:796
C#冒泡排序
C#冒泡排序,转载自:http://bbs.it-home.org/forum-net-2.html不多解析自己看去吧using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace...
分类:其他好文   时间:2014-05-01 20:17:35    阅读次数:348
[Javascript] Try...Catch和异常处理
在JavaScript可以使用try...catch来进行异常处理。例如: try { foo.bar(); } catch (e) { alert(e.name + " : " + e.message); } 目前我们可能得到的系统异常主要包含以下6种: EvalError: raised whe...
分类:编程语言   时间:2014-05-01 19:01:02    阅读次数:325
archlinux xfce conky 设置
~/.conkyrc# Conky, a system monitor, based on torsmo## Any original torsmo code is licensed under the BSD license## All code written since the fork of...
分类:系统相关   时间:2014-05-01 18:42:00    阅读次数:580
HDU 3410 && POJ 3776 Passing the Message 单调队列
题意: 给定n长的数组(下标从1-n)(n个人的身高,身高各不相同 问:对于第i个人,他能看到的左边最矮的人下标。(如果这个最矮的人被挡住了,则这个值为0) 还有右边最高的人下标,同理若被挡住了则这个值为0 输出n行,每个人左右2边的下标。 单调队列,对于 front - rear 的队列(注意出队都是在rear,入队也是在rear) 当加入元素x,若这队列是单调递增的,显然q.fro...
分类:其他好文   时间:2014-05-01 17:21:43    阅读次数:429
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!