- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 60 for csize (0.05 sec)
-
src/cmd/vendor/golang.org/x/sys/windows/security_windows.go
// be aligned properly. When we're copying a Windows-allocated struct to a // Go-allocated one, make sure that the Go allocation is aligned to the // pointer size. const psize = int(unsafe.Sizeof(uintptr(0))) alloc := make([]uintptr, (sdLen+psize-1)/psize) dst := unsafe.Slice((*byte)(unsafe.Pointer(&alloc[0])), sdLen) copy(dst, src) return (*SECURITY_DESCRIPTOR)(unsafe.Pointer(&dst[0])) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 52.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
size := 4 if isDwarf64(c.linkctxt) { size = 8 } ds := loader.Sym(s.(dwSym)) dsu := c.ldr.MakeSymbolUpdater(ds) tds := loader.Sym(t.(dwSym)) switch size { default: c.linkctxt.Errorf(ds, "invalid size %d in adddwarfref\n", size) case c.arch.PtrSize, 4: } dsu.AddSymRef(c.arch, tds, ofs, objabi.R_DWARFSECREF, size) } func (c dwctxt) Logf(format string, args ...interface{}) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/math/big/int_test.go
} b.Run(fmt.Sprintf("%d", n), func(b *testing.B) { benchmarkIntSqr(b, n) }) } } func benchmarkDiv(b *testing.B, aSize, bSize int) { var r = rand.New(rand.NewSource(1234)) aa := randInt(r, uint(aSize)) bb := randInt(r, uint(bSize)) if aa.Cmp(bb) < 0 { aa, bb = bb, aa } x := new(Int) y := new(Int) b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go
if size == 0 { return H0 + Reg(Rd) } else if size == 1 { return S0 + Reg(Rd) } else if size == 2 { return D0 + Reg(Rd) } else { return nil } case arg_Vd_22_2__H_1__S_2: size := (x >> 22) & (1<<2 - 1) Rd := x & (1<<5 - 1) if size == 1 { return H0 + Reg(Rd) } else if size == 2 { return S0 + Reg(Rd) } else { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 76.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
try { w.start(); // use commonly acceptable buffer size int bsize = Math.min(sh.getReceiveBufferSize() - 70, dh.getSendBufferSize() - 70); byte[][] b = new byte[2][bsize]; copyRecursive(dest, b, bsize, w, sh, dh); } finally { w.write(null, -1, null);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (1) -
src/syscall/zsyscall_windows.go
func GetUserNameEx(nameFormat uint32, nameBuffre *uint16, nSize *uint32) (err error) { r1, _, e1 := Syscall(procGetUserNameExW.Addr(), 3, uintptr(nameFormat), uintptr(unsafe.Pointer(nameBuffre)), uintptr(unsafe.Pointer(nSize))) if r1&0xff == 0 { err = errnoErr(e1) } return } func TranslateName(accName *uint16, accNameFormat uint32, desiredNameFormat uint32, translatedName *uint16, nSize *uint32) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 56.3K bytes - Viewed (1) -
src/runtime/mheap.go
const ( // minPhysPageSize is a lower-bound on the physical page size. The // true physical page size may be larger than this. In contrast, // sys.PhysPageSize is an upper-bound on the physical page size. minPhysPageSize = 4096 // maxPhysPageSize is the maximum page size the runtime supports. maxPhysPageSize = 512 << 10 // maxPhysHugePageSize sets an upper-bound on the maximum huge page size // that the runtime supports.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TF_DeleteTensor(tensor); TFE_DeleteTensorHandle(tensor_handle); std::vector<int64_t> values(4, 1); TFE_OpSetAttrIntList(op, "ksize", values.data(), values.size()); TFE_OpSetAttrIntList(op, "strides", values.data(), values.size()); const int BUFFER_SIZE = 10; char buffer[BUFFER_SIZE]; std::strncpy(buffer, "VALID", BUFFER_SIZE);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
src/reflect/type.go
comparable = comparable && (ft.Equal != nil) offset := align(size, uintptr(ft.Align_)) if offset < size { panic("reflect.StructOf: struct size would exceed virtual address space") } if ft.Align_ > typalign { typalign = ft.Align_ } size = offset + ft.Size_ if size < offset { panic("reflect.StructOf: struct size would exceed virtual address space") } f.Offset = offset
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0)