code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_ENUM.as
ActionScript
bsd
1,031
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_SINT64.as
ActionScript
bsd
969
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_BOOL.as
ActionScript
bsd
1,147
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_SFIXED32.as
ActionScript
bsd
975
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_SFIXED32.as
ActionScript
bsd
1,165
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_FIXED32.as
ActionScript
bsd
1,161
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_SINT32.as
ActionScript
bsd
967
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_UINT64.as
ActionScript
bsd
1,154
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_SINT64.as
ActionScript
bsd
1,153
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_FIXED32.as
ActionScript
bsd
971
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_SINT32.as
ActionScript
bsd
1,151
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_INT64.as
ActionScript
bsd
1,149
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_MESSAGE.as
ActionScript
bsd
1,131
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_BYTES.as
ActionScript
bsd
1,175
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_INT64.as
ActionScript
bsd
965
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_UINT64.as
ActionScript
bsd
970
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_FLOAT.as
ActionScript
bsd
966
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_DOUBLE.as
ActionScript
bsd
1,160
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_UINT32.as
ActionScript
bsd
968
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_MESSAGE.as
ActionScript
bsd
1,332
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_DOUBLE.as
ActionScript
bsd
970
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_UINT32.as
ActionScript
bsd
1,152
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_BYTES.as
ActionScript
bsd
981
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_INT32.as
ActionScript
bsd
963
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_STRING.as
ActionScript
bsd
1,164
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_BOOL.as
ActionScript
bsd
963
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_SFIXED64.as
ActionScript
bsd
1,167
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_INT32.as
ActionScript
bsd
1,147
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_ENUM.as
ActionScript
bsd
1,215
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // Copyright (c) 2012 , Yang Bo. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/lic...
118194141-test
as3/com/netease/protobuf/ReadUtils.as
ActionScript
bsd
5,959
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { impor...
118194141-test
as3/com/netease/protobuf/RepeatedFieldDescriptor.as
AngelScript
bsd
2,082
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2012 , Yang Bo. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { /** ...
118194141-test
as3/com/netease/protobuf/used_by_generated_code.as
ActionScript
bsd
381
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // Copyright (c) 2012 , Yang Bo. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the New BSD License // as listed at <url: http://www.opensource.org/licen...
118194141-test
as3/com/netease/protobuf/CustomOption.as
ActionScript
bsd
1,445
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { impor...
118194141-test
as3/com/netease/protobuf/FieldDescriptor.as
ActionScript
bsd
779
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf...
118194141-test
as3/com/netease/protobuf/stringToByteArray.as
ActionScript
bsd
585
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // Copyright (c) 2012 , Yang Bo. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the New BSD License // as listed at <url: http://www.opensource.org/licen...
118194141-test
as3/com/netease/protobuf/Message.as
ActionScript
bsd
7,031
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the New BSD License // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { /** ...
118194141-test
as3/com/netease/protobuf/IFieldDescriptor.as
ActionScript
bsd
493
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf...
118194141-test
as3/com/netease/protobuf/WritingBuffer.as
AngelScript
bsd
1,595
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // Copyright (c) 2012 , Yang Bo. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/lic...
118194141-test
as3/com/netease/protobuf/WriteUtils.as
ActionScript
bsd
4,977
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf...
118194141-test
as3/com/netease/protobuf/ZigZag.as
AngelScript
bsd
990
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { import...
118194141-test
as3/com/netease/protobuf/BaseFieldDescriptor.as
ActionScript
bsd
2,596
#ifndef __NONAME_GETPROC_H__ #define __NONAME_GETPROC_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" #include "nm_undoc.h" class kgetproc { public: kgetproc(PDRIVER_OBJECT DriverObj) {m_LoadedModuleList = (PLIST_ENTRY)DriverObj->DriverSection;} PVOID GetSystemRoutineAddress(PUNI...
0cch
branches/noname/0.0.1.1/nm_getproc.h
C++
lgpl
526
#ifndef __NM_EXCEPTION_H__ #define __NM_EXCEPTION_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" class KException { public: static void Install(); NTSTATUS Status() const; PVOID const At() const; protected: KException(EXCEPTION_POINTERS const &info); static void __cdecl ...
0cch
branches/noname/0.0.1.1/nm_exception.h
C++
lgpl
1,003
#include "nm_hashtable.h"
0cch
branches/noname/0.0.1.1/nm_hashtable.cpp
C++
lgpl
29
#include "nm_mem.h" klookaside::klookaside( ULONG Size, ULONG Tag /*= NM_LOOKASIDE_TAG*/, POOL_TYPE PoolType /*= PagedPool*/ ) : m_PagedLookasideList(NULL), m_NPagedLookasideList(NULL), m_PoolType(PoolType); { if (PoolType == NonPagedPool) { m_NPagedLookasideList = new(NonPagedPool, Tag) NPAGED_LOOKASIDE...
0cch
branches/noname/0.0.1.1/nm_mem.cpp
C++
lgpl
1,629
#include "nm_workthread.h" kworkthread::kworkthread() : m_Stop(FALSE), m_Lookaside(sizeof(WORK_ITEM)) { RtlZeroMemory(&m_ClientId, sizeof(CLIENT_ID)); InitializeListHead(&m_ListHeader); KeInitializeEvent(&m_InsertEvent, SynchronizationEvent, FALSE); KeInitializeSpinLock(&m_Lock); PsCreateSystemThread(&m_T...
0cch
branches/noname/0.0.1.1/nm_workthread.cpp
C++
lgpl
2,049
#ifndef __NONAME_CRICULARQUEUE_H__ #define __NONAME_CRICULARQUEUE_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" #define DEFAULT_MAX_CQ_SIZE 64 template <class T> class cirbuf { public: cirbuf( ULONG Size = DEFAULT_MAX_CQ_SIZE ) : m_Tail(0), m_Head(0), m_ItemCount(0) { m_Buffe...
0cch
branches/noname/0.0.1.1/nm_crique.h
C++
lgpl
1,011
#include "nm_list.h"
0cch
branches/noname/0.0.1.1/nm_list.cpp
C++
lgpl
24
#include "nm_exception.h" extern "C" { typedef void (__cdecl *_se_translator_function)(ULONG ExceptionCode, EXCEPTION_POINTERS* pExceptionPointers); _se_translator_function __cdecl set_se_translator(_se_translator_function); } KException::KException(EXCEPTION_POINTERS const &info) { EXCEPTION_RECORD...
0cch
branches/noname/0.0.1.1/nm_exception.cpp
C++
lgpl
1,033
/* --------------------------------------------------------------------------- Copyright (c) 2003, Dominik Reichl <dominik.reichl@t-online.de>, Germany. All rights reserved. Distributed under the terms of the GNU General Public License v2. This software is provided 'as is' with no explicit or implied warr...
0cch
branches/noname/0.0.1.1/algo/crc32.cpp
C++
lgpl
4,531
/* --------------------------------------------------------------------------- Copyright (c) 2003, Dominik Reichl <dominik.reichl@t-online.de>, Germany. All rights reserved. Distributed under the terms of the GNU General Public License v2. This software is provided 'as is' with no explicit or implied warr...
0cch
branches/noname/0.0.1.1/algo/crc32.h
C
lgpl
763
#include "nm_stack.h"
0cch
branches/noname/0.0.1.1/nm_stack.cpp
C++
lgpl
25
#ifndef __NONAME_LIST_H__ #define __NONAME_LIST_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" typedef BOOLEAN (__stdcall *COMPAREPROC)(PVOID Dst, PVOID Src); template <class T> struct _klist_entry { struct _klist_entry<T> *FLink, *BLink; T Value; public: _klist_entry() {FLink = N...
0cch
branches/noname/0.0.1.1/nm_list.h
C++
lgpl
4,605
/* ___________________________________________________ Opcode Length Disassembler. Coded By Ms-Rem ( Ms-Rem@yandex.ru ) ICQ 286370715 --------------------------------------------------- 12.08.2005 - fixed many bugs... 09.08.2005 - fixed bug with 0F BA opcode. 07.08.2005 - added SSE, SSE2, SSE3 and ...
0cch
branches/noname/0.0.1.1/disasm/LDasm.c
C
lgpl
24,936
#ifndef _LDASM_ #define _LDASM_ #ifdef __cplusplus extern "C" { #endif unsigned long __fastcall SizeOfCode(void *Code, unsigned char **pOpcode); unsigned long __fastcall SizeOfProc(void *Proc); char __fastcall IsRelativeCmd(unsigned char *pOpcode); #ifdef __cplusplus } #endif #endif
0cch
branches/noname/0.0.1.1/disasm/LDasm.h
C
lgpl
306
#include "nm_event.h" NTSTATUS kevent::Create( EVENT_TYPE Type /*= NotificationEvent*/, BOOLEAN InitialState /*= FALSE*/ ) { NTSTATUS ns; OBJECT_ATTRIBUTES oa; m_Event = 0; InitializeObjectAttributes(&oa, NULL, OBJ_KERNEL_HANDLE, 0, NULL); ns = ZwCreateEvent(&m_Event, EVENT_ALL_ACCE...
0cch
branches/noname/0.0.1.1/nm_event.cpp
C++
lgpl
1,074
#include "nm_vector.h"
0cch
branches/noname/0.0.1.1/nm_vector.cpp
C++
lgpl
24
#ifndef __NONAME_STACK_H__ #define __NONAME_STACK_H__ #define NONAME_LIB_USE #include <ntifs.h> #define DEFAULT_STACK_SIZE 64 template <class T> class kstack { public: kstack(); kstack(ULONG Size); void Release(); ULONG Push(const T &Val); ULONG pop(T &Val); ULONG GetStackPointer() {return ...
0cch
branches/noname/0.0.1.1/nm_stack.h
C++
lgpl
1,369
#ifndef __NONAME_STRING_H__ #define __NONAME_STRING_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" #include <ntstrsafe.h> class kstringw { public: kstringw(); kstringw(PWCHAR String); kstringw(PUNICODE_STRING UniString); void Release(); PWCHAR Allocate(ULONG size, BOOLEAN S...
0cch
branches/noname/0.0.1.1/nm_string.h
C++
lgpl
1,602
#include "nm_cppcrt.h" #pragma section(".CRT$XCA",long,read) KCRT_FUNCTION xc_a[] = { 0 }; #pragma section(".CRT$XCZ",long,read) KCRT_FUNCTION xc_z[] = { 0 }; #pragma data_seg() #pragma comment(linker, "/merge:.CRT=.data") AtExitCall* AtExitCall::m_ExitList = 0; #ifdef __cplusplus extern "C" { #en...
0cch
branches/noname/0.0.1.1/nm_cppcrt.cpp
C++
lgpl
1,289
#include "nm_inlinehook.h" VOID __stdcall kinlinehook::DpcLock(struct _KDPC *Dpc, PVOID DeferredContext, PVOID SystemArgument1, PVOID SystemArgument2) { __asm cli; InterlockedIncrement(&((PDPCLOCK_CONTEXT)DeferredContext)->Locks); do { __asm pause; } while (!((PDPCLOCK_CONTEXT)DeferredContext)->Relea...
0cch
branches/noname/0.0.1.1/nm_inlinehook.cpp
C++
lgpl
4,780
#include "nm_file.h" kfile::kfile() { m_filehandle = 0; m_fileobj = NULL; } void kfile::Release() { Close(); } VOID kfile::Close() { if (m_fileobj != NULL) { ObDereferenceObject(m_fileobj); m_fileobj = NULL; } if (m_filehandle != NULL) { ZwClose(m_filehandle); m_filehandle = ...
0cch
branches/noname/0.0.1.1/nm_file.cpp
C++
lgpl
7,735
#include "nm_crique.h"
0cch
branches/noname/0.0.1.1/nm_crique.cpp
C++
lgpl
22
#ifndef __NONAME_CPPCRT_H__ #define __NONAME_CPPCRT_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" extern "C" NTSTATUS __cdecl NM_DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegPath); typedef void(__cdecl* KCRT_FUNCTION)(); class AtExitCall { public: AtExitCall(KCRT_F...
0cch
branches/noname/0.0.1.1/nm_cppcrt.h
C++
lgpl
636
#ifndef __NONAME_EVENT_H__ #define __NONAME_EVENT_H__ #define NONAME_LIB_USE #include <ntifs.h> class kevent { public: kevent() : m_Event(0) {} NTSTATUS Create(EVENT_TYPE Type = NotificationEvent, BOOLEAN InitialState = FALSE); NTSTATUS Create(PWCHAR Name, EVENT_TYPE Type = NotificationEvent, BOOLEAN I...
0cch
branches/noname/0.0.1.1/nm_event.h
C++
lgpl
497
#ifndef __NONAME_WORKTHREAD_H__ #define __NONAME_WORKTHREAD_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" typedef VOID (__stdcall *WORKITEMPROC)(PVOID Context); class kworkthread { public: kworkthread(); void Release(); VOID InsertItem(WORKITEMPROC Address, PVOID Context, PRK...
0cch
branches/noname/0.0.1.1/nm_workthread.h
C++
lgpl
825
#ifndef __NONAME_MEMORY_H__ #define __NONAME_MEMORY_H__ #include <ntifs.h> #include "nm_undoc.h" #ifndef NONAME_MEM_TAG #define NONAME_MEM_TAG 'nonm' #endif #ifndef NONAME_MEM_TYPE #define NONAME_MEM_TYPE PagedPool #endif #ifdef NONAME_LIB_USE #define NONAME_INTER_MEM_TYPE NONAME_MEM_TYPE #else ...
0cch
branches/noname/0.0.1.1/nm_mem.h
C++
lgpl
3,336
#include "nm_getproc.h" PVOID kgetproc::FindExportedRoutineByName(PVOID DllBase, PANSI_STRING AnsiImageRoutineName ) { USHORT OrdinalNumber; PULONG NameTableBase; PUSHORT NameOrdinalTableBase; PULONG Addr; LONG High; LONG Low; LONG Middle; LONG Result; ULONG ExportSize; PVOID FunctionAddress; ...
0cch
branches/noname/0.0.1.1/nm_getproc.cpp
C++
lgpl
2,680
#ifndef __NONAME_HASHTABLE_H__ #define __NONAME_HASHTABLE_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" #include "algo/crc32.h" #define HASH_DEFAULT_CAP 128 template< class VAL > class khashtable { public: BOOLEAN Init( ULONG Size = HASH_DEFAULT_CAP ); BOOLEAN Resize( ULONG Si...
0cch
branches/noname/0.0.1.1/nm_hashtable.h
C++
lgpl
5,700
#ifndef __NONAME_FILE_H__ #define __NONAME_FILE_H__ #define NONAME_LIB_USE #include <Ntifs.h> #include "nm_mem.h" #include "nm_string.h" #define FILE_BEGIN 0 #define FILE_CURRENT 1 #define FILE_END 2 class kfile { public: kfile(); void Release(); VOID Close(); NTSTATUS Create( kstring...
0cch
branches/noname/0.0.1.1/nm_file.h
C++
lgpl
1,629
#include "nm_dir.h" kdirectory::kdirectory() { m_filehandle = 0; m_fileobj = NULL; } void kdirectory::Release() { Close(); } VOID kdirectory::Close() { if (m_fileobj != NULL) { ObDereferenceObject(m_fileobj); m_fileobj = NULL; } if (m_filehandle != NULL) { ZwClose(m_filehandle);...
0cch
branches/noname/0.0.1.1/nm_dir.cpp
C++
lgpl
6,813
#ifndef __NONAME_INLINE_HOOK_H__ #define __NONAME_INLINE_HOOK_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" #include "disasm/LDasm.h" typedef BOOLEAN (__stdcall *HOOKPROC)(PVOID Context); typedef struct _DPCLOCK_CONTEXT { PKDPC Dpcs; LONG Locks; BOOLEAN Release; _DPCLOCK_C...
0cch
branches/noname/0.0.1.1/nm_inlinehook.h
C++
lgpl
1,040
#ifndef __NONAME_UNDOCUMENT_H__ #define __NONAME_UNDOCUMENT_H__ #include <ntifs.h> #define IMAGE_DIRECTORY_ENTRY_EXPORT 0 typedef struct _IMAGE_EXPORT_DIRECTORY { ULONG Characteristics; ULONG TimeDateStamp; USHORT MajorVersion; USHORT MinorVersion; ULONG Name; ULONG Base; ULONG Numb...
0cch
branches/noname/0.0.1.1/nm_undoc.h
C
lgpl
1,795
#ifndef __NONAME_VECTOR_H__ #define __NONAME_VECTOR_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" #define DEFAULT_INIT_VECTOR 32 template <class T> class kvector { public: kvector(); kvector(ULONG Size, ULONG Step); void Release(); ULONG Size() { return m_ItemCount; } T& ...
0cch
branches/noname/0.0.1.1/nm_vector.h
C++
lgpl
1,229
#include "nm_string.h" kstringw::kstringw() { m_stringw = NULL; m_len = 0; } kstringw::kstringw( PWCHAR String ) { ULONG Size; Size = wcslen(String); m_stringw = Allocate(Size, FALSE); RtlStringCchCopyW(m_stringw, Size, String); m_len = Size; } kstringw::kstringw( PUNICODE_STRING UniStrin...
0cch
branches/noname/0.0.1.1/nm_string.cpp
C++
lgpl
7,554
#ifndef __NONAME_DIR_H__ #define __NONAME_DIR_H__ #define NONAME_LIB_USE #include <ntifs.h> #include "nm_mem.h" #include "nm_string.h" class kdirectory { public: kdirectory(); void Release(); VOID Close(); NTSTATUS Create( kstringw& FileName, ULONG CreateDisposition = FILE_OPEN, ACCE...
0cch
branches/noname/0.0.1.1/nm_dir.h
C++
lgpl
1,705
#ifndef __SECTOR_MON_H__ #define __SECTOR_MON_H__ #include <ntifs.h> #include <Ntddvol.h> #define DEVICE_TYPE_CTRL 0 #define DEVICE_TYPE_FILTER 1 typedef struct _DISK_FLT_DEVICE_EXT { ULONG DeviceType; PDEVICE_OBJECT FilterDeviceObject; PDEVICE_OBJECT LowerDeviceObject; PDEVICE_OBJECT Physic...
0cch
branches/SectorMon/SectorMon.h
C
lgpl
4,498
#include "SectorMon.h" BOOLEAN StartFilter = FALSE; BOOLEAN InitFilter = FALSE; NTFS_BOOT_SEC BootSec; GLOBAL_CONTEXT GlobalContext = {0}; USHORT BytesPerSector = 512; NTSTATUS RecoverBootStatus() { NTSTATUS ns; HANDLE FileHandle; OBJECT_ATTRIBUTES oa; IO_STATUS_BLOCK Iob; LARGE_INTEGER Offset =...
0cch
branches/SectorMon/SectorMon.c
C
lgpl
26,789
public class TestSVNCode { //nhom google code nhom 8 public static void main(String[] args) { System.out.println("hello world"); System.out.println("hello world"); System.out.println("nhom 8"); } }
00da-2014-group08
TestSVNCode/src/TestSVNCode.java
Java
epl
221
#------------------------------------------------- # # Project created by QtCreator 2010-07-08T08:02:01 # #------------------------------------------------- QT += core gui network TARGET = 1000Bornes TEMPLATE = app #CONFIG += debug CONFIG += console DEPENDPATH += . src src/engine src/gui src/net...
1000-bornes
trunk/1000Bornes.pro
QMake
gpl3
1,215
#include "Skin.h" Skin::Skin(QString name, QString extension, QString path) { this->name = name; this->extension = extension; this->path = path; } /** * Create a skin instance from a path (must have at least a valid info.ini file) */ Skin* Skin::fromPath(QString path) { // Checking the ini file...
1000-bornes
trunk/src/gui/Skin.cpp
C++
gpl3
3,237
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); private: Ui::MainWindow *ui; }; #endif // MAINWINDOW_H
1000-bornes
trunk/src/gui/MainWindow.h
C++
gpl3
317
#include "MainWindow.h" #include "ui_MainWindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; }
1000-bornes
trunk/src/gui/MainWindow.cpp
C++
gpl3
233
#ifndef SKIN_H #define SKIN_H #include "includes.h" /** * Proxy class to handle card skins. Allows to: * - Skins listing with proper names * - Skins "loading" (only loads name, properties and path) * - Proxying each card file path: skin path if it exists, default path else */ class Skin : public QOb...
1000-bornes
trunk/src/gui/Skin.h
C++
gpl3
893
#ifndef PROPERTIES_H #define PROPERTIES_H #include <QString> class Properties { public: // Application static const QString ORGANIZATION; static const QString APPLICATION; static const QString SETTINGS; // Networking static const quint16 DEFAULT_LISTENPORT; // Cards informations ...
1000-bornes
trunk/src/Properties.h
C++
gpl3
1,630
#ifndef INCLUDES_H #define INCLUDES_H // Application properties #include "Properties.h" /* Common includes for classes */ #include <QApplication> #include <QObject> #include <QDebug> // GUI /*#include <QSplashScreen> #include <QLabel> #include <QMessageBox> #include <QCheckBox> #include <QFil...
1000-bornes
trunk/src/includes.h
C
gpl3
1,364
#ifndef CARDINFO_H #define CARDINFO_H #include "includes.h" class CardInfo : public QObject { Q_OBJECT public: /* Function of the card: Distance, hazard, remedy or safety */ enum FunctionType { Function_NoFunction, // NoCard Function_Distance, Function_Hazard, Function_Remedy, Functi...
1000-bornes
trunk/src/engine/CardInfo.h
C++
gpl3
1,453
#include "Tableau.h" Tableau::Tableau(Team* owningTeam) { this->owningTeam = owningTeam; this->winDistance = 1000; // Let's say default value. Can be set/"extended" during gameplay } Tableau::~Tableau() { this->owningTeam = NULL; } /** * The number of 200km already played. */ int Tableau::nu...
1000-bornes
trunk/src/engine/Tableau.cpp
C++
gpl3
7,398
#ifndef DISCARDPILE_H #define DISCARDPILE_H #include "includes.h" #include "Card.h" class DiscardPile : public QList<CardID> { public: explicit DiscardPile(); }; #endif // DISCARDPILE_H
1000-bornes
trunk/src/engine/DiscardPile.h
C++
gpl3
205
#include "RaceInfo.h" RaceInfo::RaceInfo() { this->numberOfCards = 0; this->extension = false; this->extensionAllowed = false; this->normalDistance = 1000; this->extensionDistance = 1000; } RaceInfo::RaceInfo(int numberOfCard, bool extension, bool extensionAllowed, int normalDistance, int extensionDist...
1000-bornes
trunk/src/engine/RaceInfo.cpp
C++
gpl3
1,326
#include "DiscardPile.h" DiscardPile::DiscardPile() {}
1000-bornes
trunk/src/engine/DiscardPile.cpp
C++
gpl3
61
#include "Card.h" QHash<CardID,CardInfo*>* Card::infoHash = NULL; Card::Card() {} CardInfo* Card::getInfo(CardID id) { // Ensures a singleton hash AND that the hash is filled before reading it. if (infoHash == NULL) createInfoHash(); return infoHash->value(id); } CardID Card::cardForPropert...
1000-bornes
trunk/src/engine/Card.cpp
C++
gpl3
4,115
#ifndef PLAYER_H #define PLAYER_H #include "includes.h" #include "Hand.h" class Player { public: explicit Player(QString name); QString getName() const; Hand getHand() const; private: QString name; Hand hand; }; #endif // PLAYER_H
1000-bornes
trunk/src/engine/Player.h
C++
gpl3
265
#include "DrawPile.h" DrawPile::DrawPile() {}
1000-bornes
trunk/src/engine/DrawPile.cpp
C++
gpl3
54
#ifndef CARD_H #define CARD_H #include "includes.h" #include "CardInfo.h" class Card : public QObject { Q_OBJECT public: /* Card unique IDs */ enum ID { CardID_NoCard, CardID_Distance_25, CardID_Distance_50, CardID_Distance_75, CardID_Distance_100, CardID_Distance_200, ...
1000-bornes
trunk/src/engine/Card.h
C++
gpl3
1,038
#include "CardInfo.h" CardInfo::CardInfo(QString name, QString filename, CardFunction function, CardNature nature, int distance) { this->name = name; this->filename = filename; this->function = function; this->nature = nature; this->distance = distance; } QString CardInfo::getName() const { return ...
1000-bornes
trunk/src/engine/CardInfo.cpp
C++
gpl3
590
#ifndef RACEINFO_H #define RACEINFO_H #include "includes.h" class RaceInfo : public QObject { Q_OBJECT public: RaceInfo(); RaceInfo(int numberOfCard, bool extension, bool extensionAllowed, int normalDistance, int extensionDistance); public: int numberOfCards; bool extension; bool extensionAll...
1000-bornes
trunk/src/engine/RaceInfo.h
C++
gpl3
629
#ifndef TEAM_H #define TEAM_H #include "includes.h" #include "Player.h" #include "Tableau.h" class Tableau; class Player; class Team : public QList<Player*> { public: Team(); ~Team(); Tableau* getTableau(); void addPlayer(Player* player); private: Tableau* tableau; }; #end...
1000-bornes
trunk/src/engine/Team.h
C++
gpl3
334
#include "Hand.h" Hand::Hand() {}
1000-bornes
trunk/src/engine/Hand.cpp
C++
gpl3
40
#ifndef TABLEAU_H #define TABLEAU_H #include "includes.h" #include "Team.h" #include "Player.h" #include "Card.h" #include "CardInfo.h" class Team; /*$this->pileVitesse = array(); $this->pileCombat = array(); $this->pile200 = array(); $this->pile100 = array(); $this->pile75 = array(); $...
1000-bornes
trunk/src/engine/Tableau.h
C++
gpl3
1,262