Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 227 for aligned (0.14 sec)

  1. src/runtime/asm_ppc64x.s

    	MOVD	g, R3			// arg 0: G
    	// C functions expect 32 (48 for AIX) bytes of space on caller
    	// stack frame and a 16-byte aligned R1
    	MOVD	R1, R14			// save current stack
    	SUB	$cgoCalleeStackSize, R1	// reserve the callee area
    	RLDCR	$0, R1, $~15, R1	// 16-byte align
    	BL	(CTR)			// may clobber R0, R3-R12
    	MOVD	R14, R1			// restore stack
    #ifndef GOOS_aix
    	MOVD	24(R1), R2
    #endif
    	XOR	R0, R0			// fix R0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  2. src/runtime/asm_arm64.s

    	MOVD	m_g0(R8), g
    	BL	runtime·save_g(SB)
    	MOVD	(g_sched+gobuf_sp)(g), R0
    	MOVD	R0, RSP
    	MOVD	(g_sched+gobuf_bp)(g), R29
    	MOVD.W	$0, -16(RSP)	// create a call frame on g0 (saved LR; keep 16-aligned)
    	BL	runtime·newstack(SB)
    
    	// Not reached, but make sure the return PC from the call to newstack
    	// is still in this function, and not the beginning of the next.
    	UNDEF
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Zero [32] {t} ptr mem) && t.Alignment()%8 == 0 =>
    	(MOVDstore [24] ptr (MOVDconst [0])
    		(MOVDstore [16] ptr (MOVDconst [0])
    			(MOVDstore [8] ptr (MOVDconst [0])
    				(MOVDstore ptr (MOVDconst [0]) mem))))
    
    // Medium 8-aligned zeroing uses a Duff's device
    // 8 and 128 are magic constants, see runtime/mkduff.go
    (Zero [s] {t} ptr mem)
    	&& s%8 == 0 && s <= 8*128
    	&& t.Alignment()%8 == 0 && !config.noDuffDevice =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "LessEqual", argLength: 1, reg: readflags},     // bool, true flags encode signed x<=y false otherwise.
    		{name: "GreaterThan", argLength: 1, reg: readflags},   // bool, true flags encode signed x>y false otherwise.
    		{name: "GreaterEqual", argLength: 1, reg: readflags},  // bool, true flags encode signed x>=y false otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/reloctype.go

    	// instruction.
    	R_RISCV_RVC_BRANCH
    
    	// R_RISCV_RVC_JUMP resolves an 11-bit PC-relative offset for a CJ-type
    	// instruction.
    	R_RISCV_RVC_JUMP
    
    	// R_PCRELDBL relocates s390x 2-byte aligned PC-relative addresses.
    	// TODO(mundaym): remove once variants can be serialized - see issue 14218.
    	R_PCRELDBL
    
    	// Loong64.
    
    	// R_LOONG64_ADDR_HI resolves to the sign-adjusted "upper" 20 bits (bit 5-24) of an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_TRUE(first_block);
      EXPECT_EQ(out.size(), block_size);
      // Reading at offset file_size + 4 will read the second block (since the read
      // at file_size + 4 = 28 will be aligned to an offset of 16) but will return
      // OutOfRange because the offset is past the end of the 24-byte file.
      Status status = ReadCache(&cache, "", file_size + 4, 4, &out);
      EXPECT_EQ(status.code(), error::OUT_OF_RANGE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
Back to top