- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for uintptr_t (0.11 sec)
-
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)); } absl::Status ZerosLike(AbstractContext* ctx, AbstractTensorHandle* t, AbstractTensorHandle** result) { AbstractOperationPtr op(ctx->CreateOperation());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K 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) { }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K 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,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K 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)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.1K 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))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.2K bytes - Viewed (0) -
api/go1.23.txt
pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395 pkg sync/atomic, func OrInt32(*int32, int32) int32 #61395 pkg sync/atomic, func OrInt64(*int64, int64) int64 #61395 pkg sync/atomic, func OrUint32(*uint32, uint32) uint32 #61395 pkg sync/atomic, func OrUint64(*uint64, uint64) uint64 #61395 pkg sync/atomic, func OrUintptr(*uintptr, uintptr) uintptr #61395 pkg sync/atomic, method (*Int32) And(int32) int32 #61395
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 25 17:08:08 UTC 2024 - 10.1K bytes - Viewed (0) -
cni/pkg/nodeagent/netns.go
// limitations under the License. package nodeagent import "io" type NetnsFd interface { Fd() uintptr } type Netns interface { NetnsFd Inode() uint64 } type NetnsCloser interface { io.Closer Netns } type NetnsWithFd struct { netns io.Closer fd uintptr inode uint64 } func (n *NetnsWithFd) Close() error { if n.netns == nil { return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.2K bytes - Viewed (0) -
api/go1.17.txt
pkg runtime/cgo (darwin-amd64-cgo), type Handle uintptr pkg runtime/cgo (darwin-arm64-cgo), func NewHandle(interface{}) Handle pkg runtime/cgo (darwin-arm64-cgo), method (Handle) Delete() pkg runtime/cgo (darwin-arm64-cgo), method (Handle) Value() interface{} pkg runtime/cgo (darwin-arm64-cgo), type Handle uintptr pkg runtime/cgo (freebsd-386-cgo), func NewHandle(interface{}) Handle
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
api/go1.19.txt
pkg sync/atomic, method (*Uint64) Swap(uint64) uint64 #50860 pkg sync/atomic, method (*Uintptr) Add(uintptr) uintptr #50860 pkg sync/atomic, method (*Uintptr) CompareAndSwap(uintptr, uintptr) bool #50860 pkg sync/atomic, method (*Uintptr) Load() uintptr #50860 pkg sync/atomic, method (*Uintptr) Store(uintptr) #50860 pkg sync/atomic, method (*Uintptr) Swap(uintptr) uintptr #50860 pkg sync/atomic, type Bool struct #50860
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 17.9K 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} }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 23:33:46 UTC 2024 - 3.9K bytes - Viewed (0)