1、OpenGL使用的是RGB颜色空间,例如三个颜色分量各占8位,那么就说这个颜色值色深24,能够表示2^24中颜色。 2、多重采样是基于采样的抗锯齿技术,有OGAA(ordered grid anti-sliasing)、SGAA(sparse grid anti-aliasing)、MSAA(m ...
分类:
其他好文 时间:
2020-02-24 00:33:17
阅读次数:
83
1、dev_update_off ();dev_update_on 2、dev_close_window () 3、dev_open_window( : : Row, Column, Width, Height, Background : WindowHandle) 4、set_display_fo ...
分类:
其他好文 时间:
2020-02-23 21:58:02
阅读次数:
488
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Linq.Expressions; using ...
分类:
数据库 时间:
2020-02-23 19:53:14
阅读次数:
293
方法一: region 登录部分 private void RtnLoginOK_Click(object sender, EventArgs e) //登录按钮单击事件 { this.Hide(); FrmRoutineMain formRtnLoginOK = new FrmRoutineMai ...
注释形式统一 在整个解决方案中,使用一致的标点和结构的样式来构造注释,是架起团队成员沟通的桥梁既可以提高程序开发效率,也可以保证程序的可维护性。但是请不要试图使用这个标准来破坏旧解决方案的注释规范。一个解决方案的规范标准一致性才是最重要的。 命名规范 解决方案:名称采用驼峰命名法(lowerCame ...
分类:
其他好文 时间:
2020-02-20 13:22:28
阅读次数:
64
数据库设计数据库设计如下,其中商品与店铺信息之间进行了垂直分库,分为了PRODUCT_DB(商品库)和STORE_DB(店铺库);商品信息还进行了垂直分表,分为了商品基本信息(product_info)和商品描述信息(product_descript),地理区域信息(region)作为公共表,冗余在 ...
分类:
数据库 时间:
2020-02-18 22:06:02
阅读次数:
120
1、region拆分机制region中存储的是大量的rowkey数据,当region中的数据条数过多的时候,直接影响查询效率.当region过大的时候.hbase会拆分region,这也是Hbase的一个优点.HBase的regionsplit策略一共有以下几种:1、ConstantSizeRegionSplitPolicy0.94版本前默认切分策略当region大小大于某个阈值(hbase.hr
分类:
其他好文 时间:
2020-02-17 17:35:33
阅读次数:
102
天真的我最开始以为可以写成list.distinct(x=>x.name);以为这样就可以按照name去重了,结果是不行的。这里记录下正确的用法。 1.这里是针对int集合 可以满足 #region 对数字集合的去重 //List<int> list = new List<int> { 1,1,2, ...
分类:
其他好文 时间:
2020-02-13 23:09:56
阅读次数:
1426
题目: Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner ( ...
分类:
编程语言 时间:
2020-02-12 00:30:01
阅读次数:
62
#region 第一种 自定义 Action<UpdataUIAction> action = new Action<UpdataUIAction>(m); UpdataUIAction x = new UpdataUIAction(); action.Invoke(x); private void ...
分类:
其他好文 时间:
2020-02-09 12:06:46
阅读次数:
93