Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for aligned (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            }
        }
    
        @Test
        void testInterpolationWithBasedirAlignedDirectories() throws Exception {
            PomTestWrapper pom = buildPom("basedir-aligned-interpolation");
            assertEquals(
                    new File(pom.getBasedir(), "src/main/java"),
                    new File(pom.getValue("properties/buildMainSrc").toString()));
            assertEquals(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  9. src/runtime/map.go

    		throw("elem size wrong")
    	}
    	if t.Key.Align_ > abi.MapBucketCount {
    		throw("key align too big")
    	}
    	if t.Elem.Align_ > abi.MapBucketCount {
    		throw("elem align too big")
    	}
    	if t.Key.Size_%uintptr(t.Key.Align_) != 0 {
    		throw("key size not a multiple of key align")
    	}
    	if t.Elem.Size_%uintptr(t.Elem.Align_) != 0 {
    		throw("elem size not a multiple of elem align")
    	}
    	if abi.MapBucketCount < 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	if err = checkPathLength(filePath); err != nil {
    		return err
    	}
    
    	var w *os.File
    	// Create file if not found. Not doing O_DIRECT here to avoid the code that does buffer aligned writes.
    	// AppendFile() is only used by healing code to heal objects written in old format.
    	w, err = s.openFileSync(filePath, os.O_CREATE|os.O_APPEND|os.O_WRONLY, volumeDir)
    	if err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top