CONTAINING_RECORD 这样的一个宏,我看了它的定义,如下:#define 
CONTAINING_RECORD(address, type, field) ((type *)( (PCHAR)(address) - 
(ULONG_PTR)(&((type*)0)->field)))cla...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 04:21:01   
                                阅读次数:
330
                             
                    
                        
                            
                            
                                Steps to Writing Well-—Reading NotesSteps to 
Writing Well-—Reading NotesTable of Contents1. Chapter 1 PrewritingThis post is 
used to record the learni...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 03:22:50   
                                阅读次数:
363
                             
                    
                        
                            
                            
                                详情请参考官网:http://www.erlang.org/doc/reference_manual/records.htmlhttp://www.erlang.org/doc/programming_examples/records.html1. 
record本质上是tuple.2.获取recor...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 21:17:40   
                                阅读次数:
362
                             
                    
                        
                            
                            
                                6.7备注
有时有个像Pasca中“记录”和C中“数据体”的数据类型非常有用。集合一些数据项。一个空类定义可以清楚地显示:
class Employee:
pass
john = Employee() # Create an empty employee record
# Fill the fields of the record
john.name = ’John Doe’
joh...
                            
                            
                                分类:
编程语言   时间:
2014-05-07 11:25:11   
                                阅读次数:
311
                             
                    
                        
                            
                            
                                之前在查看v$open_cursor的时候,发现很多相同的record。 让我很疑惑, sid 
saddr sql_id 都相同,我就想 这不是一个cursor吗? 那为什么在open_cursor中出现多次? 
后来通过别人点拨明白了,这应该是一个相同的SQL语句被 session 打开了并运行了很...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 01:11:25   
                                阅读次数:
403
                             
                    
                        
                            
                            
                                awk 每次从数据文件中只读取一行数据进行处理。awk是依照其内置变量 RS(Record 
Separator) 的定义将文件中的数据分隔成一行一行的Record。RS 的默认值是 "\n"(换行符),故平常awk中一行数据就是一条 Record。 
但有些文件中一条Record涵盖了多行数据,...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 11:31:49   
                                阅读次数:
308
                             
                    
                        
                            
                            
                                The well-armed problem-finder/solver is fluent 
in many mental languages and is able to use them interchangeably to record 
information, communicate wit...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 20:13:44   
                                阅读次数:
433
                             
                    
                        
                            
                            
                                // 
查找满足指定条件的结果中的第一行$post=Post::model()->find($condition,$params);// 
查找具有指定主键值的那一行$post=Post::model()->findByPk($postID,$condition,$params);// 
查找具有指定属性...
                            
                            
                                分类:
数据库   时间:
2014-05-01 01:59:01   
                                阅读次数:
411
                             
                    
                        
                            
                            
                                undo信息oracle中undo的信息主要完成下面的功能:1,构建块一致性读2,回滚事务UBA:undo block 
address1,块中的事务槽ITL中的UBA表示这个ITL所在的block历经的最后一次改变所对应的undo 
record所在的UBA,主要用于一致读。2,undo segmen...
                            
                            
                                分类:
数据库   时间:
2014-04-28 01:49:29   
                                阅读次数:
619