Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 217 for aligned (0.11 sec)

  1. src/cmd/internal/obj/arm64/obj7.go

    					extrasize = 8
    				} else if c.autosize&(16-1) == 0 {
    					// Allocate extra 16 bytes to save FP for the old frame whose size is 8 mod 16
    					extrasize = 16
    				} else {
    					c.ctxt.Diag("%v: unaligned frame size %d - must be 16 aligned", p, c.autosize-8)
    				}
    				c.autosize += extrasize
    				c.cursym.Func().Locals += extrasize
    
    				// low 32 bits for autosize
    				// high 32 bits for extrasize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  2. src/runtime/asm_mipsx.s

    	MOVW	(g_sched+gobuf_ctxt)(g), R1
    	BEQ	R1, 2(PC)
    	JAL	runtime·abort(SB)
    	RET
    
    // func asmcgocall(fn, arg unsafe.Pointer) int32
    // Call fn(arg) on the scheduler stack,
    // aligned appropriately for the gcc ABI.
    // See cgocall.go for more details.
    TEXT ·asmcgocall(SB),NOSPLIT,$0-12
    	MOVW	fn+0(FP), R25
    	MOVW	arg+4(FP), R4
    
    	MOVW	R29, R3	// save original stack pointer
    	MOVW	g, R2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. src/text/tabwriter/tabwriter_test.go

    				for j := 0; j < h; j++ {
    					w.Write(lines[j%len(lines)])
    					w.Write([]byte{'\n'})
    				}
    				w.Flush()
    			}
    		})
    	}
    }
    
    const codeSnippet = `
    some command
    
    foo	# aligned
    barbaz	# comments
    
    but
    mostly
    single
    cell
    lines
    `
    
    func BenchmarkCode(b *testing.B) {
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/runtime/asm_386.s

    	MOVL	(g_sched+gobuf_ctxt)(BX), AX
    	TESTL	AX, AX
    	JZ	2(PC)
    	CALL	runtime·abort(SB)
    	POPL	BX
    	POPL	AX
    	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,$0-8
    	MOVL	fn+0(FP), AX
    	MOVL	arg+4(FP), BX
    	MOVL	SP, DX
    	SUBL	$32, SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

          static final int BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class);
    
          static {
            // fall back to the safer pure java implementation unless we're in
            // a 64-bit JVM with an 8-byte aligned field offset.
            if (!("64".equals(System.getProperty("sun.arch.data.model"))
                && (BYTE_ARRAY_BASE_OFFSET % 8) == 0
                // sanity check - this should never fail
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/reflect/abi.go

    		return nil
    	}
    	// Hold a copy of "a" so that we can roll back if
    	// register assignment fails.
    	aOld := *a
    	if !a.regAssign(t, 0) {
    		// Register assignment failed. Roll back any changes
    		// and stack-assign.
    		*a = aOld
    		a.stackAssign(t.Size(), uintptr(t.Align()))
    		return &a.steps[len(a.steps)-1]
    	}
    	return nil
    }
    
    // addRcvr extends the abiSeq with a new method call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/EnumTest.java

                    // + 110 bytes entry
                    // -> 1022 predicted message size <= 1023 maximum buffer size
                    // 112 bytes to alignment
                    // -> aligned to 1024 > 1023 maximum buffer size
    
                    // 110 byte entry = 16 byte name = 8 char length
                    try ( SmbResource r = f.resolve(repeat('Y', 8)) ) {
                        r.createNewFile();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  8. src/runtime/race_arm64.s

    // Callee-saved registers are: R19...R28.
    // Temporary registers are: R9...R15
    // SP must be 16-byte aligned.
    
    // When calling racecalladdr, R9 is the call target address.
    
    // The race ctx, ThreadState *thr below, is passed in R0 and loaded in racecalladdr.
    
    // Darwin may return unaligned thread pointer. Align it. (See tls_arm64.s)
    // No-op on other OSes.
    #ifdef TLS_darwin
    #define TP_ALIGN	AND	$~7, R0
    #else
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/runtime/mstats.go

    	}
    }
    
    func init() {
    	if offset := unsafe.Offsetof(memstats.heapStats); offset%8 != 0 {
    		println(offset)
    		throw("memstats.heapStats not aligned to 8 bytes")
    	}
    	// Ensure the size of heapStatsDelta causes adjacent fields/slots (e.g.
    	// [3]heapStatsDelta) to be 8-byte aligned.
    	if size := unsafe.Sizeof(heapStatsDelta{}); size%8 != 0 {
    		println(size)
    		throw("heapStatsDelta not a multiple of 8 bytes in size")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho.go

    	msect := newMachoSect(mseg, buf, segname)
    
    	if sect.Rellen > 0 {
    		msect.reloc = uint32(sect.Reloff)
    		msect.nreloc = uint32(sect.Rellen / 8)
    	}
    
    	for 1<<msect.align < sect.Align {
    		msect.align++
    	}
    	msect.addr = sect.Vaddr
    	msect.size = sect.Length
    
    	if sect.Vaddr < sect.Seg.Vaddr+sect.Seg.Filelen {
    		// data in file
    		if sect.Length > sect.Seg.Vaddr+sect.Seg.Filelen-sect.Vaddr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top