(一)引入问题 当并行执行的处理更新数据时,会产生数据不一致的情况,有时应用程序还会异常结束,虽然使用Serial Dipatch queue和dispatch_barrier_async函数可避免这类问题,但有必要进行更加细腻的排他控制 1 /*! 2 * @brief 不考虑顺序,将所有数据添加
分类:
其他好文 时间:
2016-02-27 18:04:36
阅读次数:
3511
Intrinsic Functions (DirectX HLSL) The following table lists the intrinsic functions available in HLSL. Each function has a brief description, and a l
分类:
其他好文 时间:
2016-02-23 17:15:22
阅读次数:
402
/** *@brief <title>: 简要注释. appledoc中仅对属性、方法有效,对类、协议 无效,会造成后续内容解析失败. *@param <name> <description>: 参数描述. *@return <description>: 返回值描述. *@exception <na
分类:
其他好文 时间:
2016-02-22 15:36:24
阅读次数:
123
感谢:https://github.com/ty4z2008/Qix/blob/master/dl.md 《Brief History of Machine Learning》 介绍:这是一篇介绍机器学习历史的文章,介绍很全面,从感知机、神经网络、决策树、SVM、Adaboost 到随机森林、Dee
分类:
其他好文 时间:
2016-02-16 16:52:41
阅读次数:
1845
测试函数的模板实现 [cpp] view plain copy /// @file my_template.h /// @brief 测试数据类型用的模板实现 #ifndef MY_TEMPLATE_H_2016_0123_1226 #define MY_TEMPLATE_H_2016_0123_1
分类:
其他好文 时间:
2016-02-12 22:08:41
阅读次数:
285
[cpp] view plain copy /// @file main.cpp /// @brief 不包含SDK头文件, 补全API定义 #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define DECLARE_HANDLE
C语言标准是没有 try-catch语法 的, M$家自己提供了一组. [cpp] view plain copy /// @file ClassroomExamples.c /// @brief 验证C语言的非标准try, catch #include <windows.h> #include <
分类:
其他好文 时间:
2016-02-12 22:04:18
阅读次数:
278
第0行第1行(32-63),依次类推。C++代码如下:/**@fileBitmap*@copyrightpersonal*@brief接口头文件*@versionv1.0.0*@authorfangyuan*@date2015/10/20*@note测试版本*/#include"iostream"#include<math.h>#include"vector"#defineINT_BYTESsizeof(int)//int型所占字节#de..
分类:
编程语言 时间:
2016-02-02 00:05:06
阅读次数:
252
前言 将代码拆分了一下, 如果处理更多的消息也不怕看的眼花 SDK编程就是对各种Windows消息的处理 实验工程 [cpp] view plaincopy /// @file exam_1.cpp /// @brief 查阅本地MSDN, 手工写SDK程序 #include "common.h"
分类:
其他好文 时间:
2016-02-01 09:38:22
阅读次数:
375
在UML 2.0的13种图形中,类图是使用频率最高的UML图之一。Martin Fowler在其著作《UML Distilled: A Brief Guide to the Standard Object Modeling Language, Third Edition》(《UML精粹:标准对象建模
分类:
其他好文 时间:
2016-01-31 09:33:18
阅读次数:
227