//// main.cpp// circleQueue//// Created by zhou on 14-6-19.// Copyright (c) 2014年 zhou. All rights reserved.//#define Max 50typedef struct ...
分类:
其他好文 时间:
2014-06-28 18:54:47
阅读次数:
171
Copyright (2014) 郭龙仓. All Rights Reserved.OpenFlow传统的网络环境中,仅仅有路由器/交换机之间的接口/协议是标准化的,可是在网络设备内部,数据平面和控制平面事实上是耦合在一起的,每一家厂商都有自己专有的系统来实现这两个平面,并且数据平面和控制平面不可以...
分类:
其他好文 时间:
2014-06-28 18:32:46
阅读次数:
175
下面是代码,注释也写得比较清楚:
//
// HttpDemo.h
// MyAddressBook
//
// Created by hherima on 14-6-23.
// Copyright (c) 2014年 chinasofti. All rights reserved.
//
#import
#import
@interface HttpDemo : NSObjec...
分类:
其他好文 时间:
2014-06-25 00:07:58
阅读次数:
190
1 AppDelegate.swift
//
// AppDelegate.swift
// QQDemo
//
// Created by 赵超 on 14-6-21.
// Copyright (c) 2014年 赵超. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIRes...
分类:
Web程序 时间:
2014-06-24 19:13:48
阅读次数:
385
结构体的内存布局记住两个规则即可,这是编译器的优化措施。
规则1:结构体中第一个成员的偏移量是0,以后每个成员的位置是x的倍数;
x = min(#pragma pack(), 该成员自身的长度)
规则2:成员对齐后,结构体自身也要对齐,按照y的倍数进行;
y = min(#pragma pack(), 最大成员尺寸)。
其中#pragma pa...
分类:
其他好文 时间:
2014-06-22 19:35:35
阅读次数:
171
虽然内存对齐是老话题,但还是时常犯错,几下个例子,谨记: 1 void func10() 2 { 3 //要牢记,默认按4字节对齐,其他就很容易想了=============================== 4 union u_my 5 { 6 int n...
分类:
其他好文 时间:
2014-06-21 17:33:45
阅读次数:
198
//// OriginNetwork.m// guligei_AppFactory//// Created by wangyanan on 6/18/14.// Copyright (c) 2014 wangyanan. All rights reserved.//#import "OriginNe...
分类:
其他好文 时间:
2014-06-21 10:41:00
阅读次数:
433
问题描述:
[celladmin@vrh4 ~]$ cellcli
CellCLI: Release 11.2.3.2.0 - Production on Sat Jun 14 09:11:08 EDT 2014
Copyright (c) 2007, 2012, Oracle. All rights reserved.
Cell Efficiency Ratio: 1
CellCLI...
分类:
其他好文 时间:
2014-06-15 15:02:45
阅读次数:
211
个人写的一些例子:
//
// ViewController.m
// CABasicAnimationDemo
//
// Created by haotian on 14-6-13.
// Copyright (c) 2014年 Baseus. All rights reserved.
//
#import "ViewController.h"
@interface ViewCo...
分类:
其他好文 时间:
2014-06-15 11:17:24
阅读次数:
215
/*
*Copyright (c) 2013, 烟台大学计算机学院
* All rights reserved.
* 作 者:马广明
* 完成日期:2014 年 6 月 7 日
* 版 本 号:v1.0
* 问题描述:电子词典
*/
#include
#include
#include
#include
using namespace std;
clas...
分类:
其他好文 时间:
2014-06-14 17:52:17
阅读次数:
209