码迷,mamicode.com
首页 >  
搜索关键字:kvm system halt    ( 51873个结果
对数据库中时间为空的处理和数据转换成百分数
public System.DateTime LatestEditedTime { get; set; } public string LatestEditedTimeValue { get { ...
分类:数据库   时间:2014-05-10 06:13:39    阅读次数:365
make_ext4fs 文件权限控制
问题最近在给 android 系统的 data 分区制作 ext4 镜像,但是发现系统启动后,文件的 user 和 group 都变成了 root,不是原有的属性。困扰了很久。解决make_ext4fs 有一个选项是 ‘-a’ ,即挂载点。这个选项是配合android/system/core/inc...
分类:其他好文   时间:2014-05-10 05:53:22    阅读次数:1777
一个Java方法覆盖的小问题
1 class SuperClass{ 2 3 public SuperClass() { 4 System.out.println("superclass "); 5 show(); 6 } 7 public void show() { 8 System.out...
分类:编程语言   时间:2014-05-10 05:47:03    阅读次数:299
C# 索引器
使用索引器的目的是为了能够像数组一样访问类中的数组型的对象。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace...
分类:其他好文   时间:2014-05-10 05:43:44    阅读次数:218
模板方法模式
参考资料:《大话设计模式》//模板方法模式--处理问题的步骤相同,但步骤的实现不同using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ds_templatemethod...
分类:其他好文   时间:2014-05-10 05:19:04    阅读次数:322
简单工厂模式与Strategy模式
参考资料:《大话设计模式》简单工厂模式://////简单工厂模式实验,2014.05.07---通过工厂类实例化对象///using System;using System.Collections.Generic;using System.Linq;using System.Text;namespa...
分类:其他好文   时间:2014-05-10 05:16:31    阅读次数:332
代理模式(Proxy)
参考资料《大话设计模式》using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ds_proxy{ class Program { static ...
分类:其他好文   时间:2014-05-10 05:15:33    阅读次数:290
java语言实现快速排序的两种方式
方法一:public class QuickSortExp1{ public static void main(String[] args){ int[] sortArray = new int[]{5,7,4,2,9,8,3,6}; System.out.println("before sor.....
分类:编程语言   时间:2014-05-10 05:08:46    阅读次数:496
java 语言实现选择排序
public class TestSelectSort{ public static void main(String[] args){ int[] sortArray = new int[]{5,7,4,2,9,8,3,6}; System.out.println("before sortin.....
分类:编程语言   时间:2014-05-10 05:04:52    阅读次数:322
Linux System Programming 学习笔记(一) 介绍
1. Linux系统编程的三大基石:系统调用、C语言库、C编译器系统调用:内核向用户级程序提供服务的唯一接口。在i386中,用户级程序执行软件中断指令 INT n 之后切换至内核空间用户程序通过寄存器告知内核执行系统调用的所需参数2. API 和 ABIAPI:application program...
分类:系统相关   时间:2014-05-10 03:22:26    阅读次数:321
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!