- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for uintptr_t (0.19 sec)
-
src/cmd/cgo/internal/test/cthread_windows.c
addThread(void *p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) Add(i); return 0; } void doAdd(int max, int nthread) { enum { MaxThread = 20 }; int i; uintptr_t thread_id[MaxThread]; if(nthread > MaxThread) nthread = MaxThread; for(i=0; i<nthread; i++) thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0); for(i=0; i<nthread; i++) {
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_eager.cc
auto handle = dyn_cast<ImmediateExecutionTensorHandle>(unwrap(at)); if (!handle) { string msg = StrCat("Not an eager tensor handle.", reinterpret_cast<uintptr_t>(at)); TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str()); return nullptr; } return wrap(handle); } TFE_Context* TF_ExecutionContextGetTFEContext(TF_ExecutionContext* ctx,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jun 25 04:40:46 GMT 2020 - 3.2K bytes - Viewed (0) -
src/cmd/cgo/doc.go
linkage to the desired libraries. The main function is provided by _cgo_main.c: int main() { return 0; } void crosscall2(void(*fn)(void*), void *a, int c, uintptr_t ctxt) { } uintptr_t _cgo_wait_runtime_init_done(void) { return 0; } void _cgo_release_context(uintptr_t ctxt) { } char* _cgo_topofstack(void) { return (char*)0; } void _cgo_allocate(void *a, int c) { } void _cgo_panic(void *a, int c) { } void _cgo_reginit(void) { }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
// may lead to collisions. Introduce another way to get a unique id for this // tensor. int64_t ToId(const AbstractTensorHandle* t) { return static_cast<int64_t>(reinterpret_cast<uintptr_t>(t)); } Status ZerosLike(AbstractContext* ctx, AbstractTensorHandle* t, AbstractTensorHandle** result) { AbstractOperationPtr op(ctx->CreateOperation());
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// to release (that's why this stuff is in CF*Internal*.h), // as can the definition of type info vs payload above. // #if __LP64__ #define CF_IS_TAGGED_OBJ(PTR) ((uintptr_t)(PTR) & 0x1) #define CF_TAGGED_OBJ_TYPE(PTR) ((uintptr_t)(PTR) & 0xF) #else #define CF_IS_TAGGED_OBJ(PTR) 0 #define CF_TAGGED_OBJ_TYPE(PTR) 0 #endif enum { kCFTaggedObjectID_Invalid = 0,
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
api/go1.12.txt
pkg syscall (windows-386), const UNIX_PATH_MAX ideal-int pkg syscall (windows-386), func Syscall18(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) pkg syscall (windows-386), type RawSockaddrAny struct, Pad [100]int8
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Jan 02 21:21:53 GMT 2019 - 13.5K bytes - Viewed (0) -
internal/disk/type_windows.go
// ); _, _, _ = GetVolumeInformation.Call(uintptr(unsafe.Pointer(ps)), uintptr(unsafe.Pointer(&volumeName)), uintptr(volumeNameSize), uintptr(unsafe.Pointer(&lpVolumeSerialNumber)), uintptr(unsafe.Pointer(&lpMaximumComponentLength)), uintptr(unsafe.Pointer(&lpFileSystemFlags)), uintptr(unsafe.Pointer(&lpFileSystemNameBuffer)), uintptr(nFileSystemNameSize))
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.2K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
return nil } // fakeNs is a mock struct for testing type fakeNs struct { closed *atomic.Bool fd uintptr inode uint64 } func newFakeNs(fd uintptr) *fakeNs { // the fake inode is the fd! magic. return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: uint64(fd)} } func newFakeNsInode(fd uintptr, inode uint64) *fakeNs { return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: inode} }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
api/go1.9.txt
pkg syscall (linux-386-cgo), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-386), type Credential struct, NoSetGroups bool pkg syscall (linux-386), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-amd64-cgo), type Credential struct, NoSetGroups bool pkg syscall (linux-amd64-cgo), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-amd64), type Credential struct, NoSetGroups bool
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Viewed (0) -
internal/disk/stat_windows.go
// _Out_ LPDWORD lpTotalNumberOfClusters // ); _, _, _ = GetDiskFreeSpace.Call(uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(path))), uintptr(unsafe.Pointer(&lpSectorsPerCluster)), uintptr(unsafe.Pointer(&lpBytesPerSector)), uintptr(unsafe.Pointer(&lpNumberOfFreeClusters)), uintptr(unsafe.Pointer(&lpTotalNumberOfClusters))) info.Files = uint64(lpTotalNumberOfClusters)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.1K bytes - Viewed (0)