Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for aligned (0.2 sec)

  1. src/syscall/syscall_windows.go

    	} else {
    		// Different 32-bit systems disgaree about whether distToMove starts 8-byte aligned.
    		switch runtime.GOARCH {
    		default:
    			panic("unsupported 32-bit architecture")
    		case "386":
    			// distToMove is a LARGE_INTEGER, which is 64 bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/cgo/out.go

    	"uint16":     {Size: 2, Align: 2, C: c("GoUint16")},
    	"int32":      {Size: 4, Align: 4, C: c("GoInt32")},
    	"uint32":     {Size: 4, Align: 4, C: c("GoUint32")},
    	"int64":      {Size: 8, Align: 8, C: c("GoInt64")},
    	"uint64":     {Size: 8, Align: 8, C: c("GoUint64")},
    	"float32":    {Size: 4, Align: 4, C: c("GoFloat32")},
    	"float64":    {Size: 8, Align: 8, C: c("GoFloat64")},
    	"complex64":  {Size: 8, Align: 4, C: c("GoComplex64")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    
    	*(*uint16)(unsafe.Pointer(&sa.raw[0])) = AF_PPPOX
    	// This next field is in host-endian byte order. We can't use the
    	// same unsafe pointer cast as above, because this value is not
    	// 32-bit aligned and some architectures don't allow unaligned
    	// access.
    	//
    	// However, the value of px_proto_oe is 0, so we can use
    	// encoding/binary helpers to write the bytes without worrying
    	// about the ordering.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  5. src/sync/atomic/atomic_test.go

    }
    
    func TestAutoAligned64(t *testing.T) {
    	var signed struct {
    		_ uint32
    		i Int64
    	}
    	if o := reflect.TypeOf(&signed).Elem().Field(1).Offset; o != 8 {
    		t.Fatalf("Int64 offset = %d, want 8", o)
    	}
    	if p := reflect.ValueOf(&signed).Elem().Field(1).Addr().Pointer(); p&7 != 0 {
    		t.Fatalf("Int64 pointer = %#x, want 8-aligned", p)
    	}
    
    	var unsigned struct {
    		_ uint32
    		i Uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "SRAW", argLength: 2, reg: sh21, asm: "SRAW", clobberFlags: true},                    // signed int32(arg0) >> arg1, shift amount is mod 64
    		{name: "SRADconst", argLength: 1, reg: gp11, asm: "SRAD", aux: "UInt8", clobberFlags: true}, // signed arg0 >> auxint, shift amount 0-63
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/type.go

    	}
    
    	kind  Kind  // kind of type
    	align uint8 // the required alignment of this type, in bytes (0 means Width and Align have not yet been computed)
    
    	intRegs, floatRegs uint8 // registers needed for ABIInternal
    
    	flags bitset8
    	alg   AlgKind // valid if Align > 0
    
    	// size of prefix of object that contains all pointers. valid if Align > 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/sidecar_simulation_test.go

    				if !reflect.DeepEqual(tt.telemetry[cname], gotTelemetry) {
    					t.Errorf("%v: expected telemetry services %v, got %v", cname, tt.telemetry[cname], gotTelemetry)
    				}
    
    				// simulate an actual call, this ensures we are aligned with the inbound listener configuration
    				_, _, hostname, port := model.ParseSubsetKey(cname)
    				if tt.proxy.Metadata.IstioVersion != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. src/go/printer/nodes.go

    			if !needsLinebreak {
    				p.setPos(x.Pos())
    			}
    			p.print(token.COMMA)
    			needsBlank := true
    			if needsLinebreak {
    				// Lines are broken using newlines so comments remain aligned
    				// unless useFF is set or there are multiple expressions on
    				// the same line in which case formfeed is used.
    				nbreaks := p.linebreak(line, 0, ws, useFF || prevBreak+1 < i)
    				if nbreaks > 0 {
    					ws = ignore
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    // The main difference is that this approach means that the root project can also benefit from the `plugins {}` block and it is more aligned with Gradle best practices.
    //
    // [PL] We should also aim to avoid temporary information in the user manual that could
    //      be out of date at any time.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top