- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 176 for aligned (0.23 sec)
-
pkg/kube/util.go
// We allow an additional 2x buffer, as it is still fairly cheap (6mb) const MaxRequestBodyBytes = int64(6 * 1024 * 1024) // HTTPConfigReader is reads an HTTP request, imposing size restrictions aligned with Kubernetes limits func HTTPConfigReader(req *http.Request) ([]byte, error) { defer req.Body.Close() lr := &io.LimitedReader{ R: req.Body, N: MaxRequestBodyBytes + 1, } data, err := io.ReadAll(lr)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
src/runtime/race_ppc64le.s
// Third, in long-term it will allow to remove cyclic runtime/race dependency on cmd/go. // A brief recap of the ppc64le calling convention. // Arguments are passed in R3, R4, R5 ... // SP must be 16-byte aligned. // Note that for ppc64x, LLVM follows the standard ABI and // expects arguments in registers, so these functions move // the arguments from storage to the registers expected // by the ABI.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode.go
case abi.Struct: // reflect.structType off += 4 * arch.PtrSize case abi.Pointer: // reflect.ptrType off += arch.PtrSize case abi.Func: // reflect.funcType off += arch.PtrSize // 4 bytes, pointer aligned case abi.Slice: // reflect.sliceType off += arch.PtrSize case abi.Array: // reflect.arrayType off += 3 * arch.PtrSize case abi.Chan: // reflect.chanType off += 2 * arch.PtrSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/internal/poll/fd_unix.go
// even on 64-bit systems. // The same is true of socket implementations on many systems. // See golang.org/issue/7812 and golang.org/issue/16266. // Use 1GB instead of, say, 2GB-1, to keep subsequent reads aligned. const maxRW = 1 << 30 // Read implements io.Reader. func (fd *FD) Read(p []byte) (int, error) { if err := fd.readLock(); err != nil { return 0, err } defer fd.readUnlock() if len(p) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 04:09:44 UTC 2024 - 17.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
// used by the TOCO export. (It does not explain rationale for this choice.) constexpr size_t kInitialBufferSize = 10240; // Flatbuffer fields to be padded to 16 bytes aligned. constexpr size_t kFbAlignment = 16; // Set `isSigned` to false if the `type` is an 8-bit unsigned integer type. // Since tflite doesn't support unsigned for other types, returns error if
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
src/runtime/asm_amd64.s
// Assert ctxt is zero. See func save. MOVQ (g_sched+gobuf_ctxt)(R14), R9 TESTQ R9, R9 JZ 2(PC) CALL runtime·abort(SB) RET // func asmcgocall_no_g(fn, arg unsafe.Pointer) // Call fn(arg) aligned appropriately for the gcc ABI. // Called on a system stack, and there may be no g yet (during needm). TEXT ·asmcgocall_no_g(SB),NOSPLIT,$32-16 MOVQ fn+0(FP), AX MOVQ arg+8(FP), BX MOVQ SP, DX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/crypto/aes/asm_ppc64x.s
LVX (PTR), ESPERM ADD $0x10, PTR #else MOVD $·rcon+0x10(SB), PTR // PTR points to rcon addr (skipping permute vector) #endif // Get key from memory and write aligned into VR P8_LXVB16X(INP, R0, IN0) ADD $0x10, INP, INP MOVD $0x20, TEMP CMPW ROUNDS, $12 LVX (PTR)(R0), RCON // lvx 4,0,6 Load first 16 bytes into RCON LVX (PTR)(TEMP), MASK
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:05:32 UTC 2024 - 18.6K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
strconv.FormatUint(uint64(uid), 10) if got != want { if filesystemIsNoSUID(tmpBinary) { t.Skip("skipping test when temp dir is mounted nosuid") } // formatted so the values are aligned for easier comparison t.Errorf("expected %s,\ngot %s", want, got) } } // filesystemIsNoSUID reports whether the filesystem for the given // path is mounted nosuid.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
// These are just bytes, or varints. align = 1 case strings.HasPrefix(name, "gclocals·"): // It has 32-bit fields. align = 4 default: switch { case w.ctxt.Arch.PtrSize == 8 && s.Size%8 == 0: align = 8 case s.Size%4 == 0: align = 4 case s.Size%2 == 0: align = 2 default: align = 1 } } } if s.Size > cutoff {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
ehdr.Shentsize = ELF32SHDRSIZE /* Must be ELF32SHDRSIZE */ } } // Make sure PT_LOAD is aligned properly and // that there is no gap, // correct ELF loaders will do this implicitly, // but buggy ELF loaders like the one in some // versions of QEMU and UPX won't. func fixElfPhdr(e *ElfPhdr) { frag := int(e.Vaddr & (e.Align - 1)) e.Off -= uint64(frag) e.Vaddr -= uint64(frag) e.Paddr -= uint64(frag)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0)