Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for Alignment (0.23 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/kotlin/build.gradle.kts

                    belongsTo("com.fasterxml.jackson:jackson-bom:${id.version}", false)
                }
            }
        }
    }
    // end::bom-alignment-rule[]
    
    // tag::alignment-rule[]
    abstract class JacksonAlignmentRule: ComponentMetadataRule {
        override fun execute(ctx: ComponentMetadataContext) {
            ctx.details.run {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go

    	switch runtime.GOOS {
    	case "aix":
    		// There is no alignment on AIX.
    		salign = 1
    	case "darwin", "ios", "illumos", "solaris":
    		// NOTE: It seems like 64-bit Darwin, Illumos and Solaris
    		// kernels still require 32-bit aligned access to network
    		// subsystem.
    		if SizeofPtr == 8 {
    			salign = 4
    		}
    	case "netbsd", "openbsd":
    		// NetBSD and OpenBSD armv7 require 64-bit alignment.
    		if runtime.GOARCH == "arm" {
    			salign = 8
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/groovy/build.gradle

                    belongsTo("com.fasterxml.jackson:jackson-bom:${id.version}", false)
                }
            }
        }
    }
    // end::bom-alignment-rule[]
    
    // tag::alignment-rule[]
    abstract class JacksonAlignmentRule implements ComponentMetadataRule {
        void execute(ComponentMetadataContext ctx) {
            ctx.details.with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typebits/typebits.go

    // SetNoCheck is like Set, but do not check for alignment.
    func SetNoCheck(t *types.Type, off int64, bv bitvec.BitVec) {
    	set(t, off, bv, true)
    }
    
    func set(t *types.Type, off int64, bv bitvec.BitVec, skip bool) {
    	if !skip && uint8(t.Alignment()) > 0 && off&int64(uint8(t.Alignment())-1) != 0 {
    		base.Fatalf("typebits.Set: invalid initial alignment: type %v has alignment %d, but offset is %v", t, uint8(t.Alignment()), off)
    	}
    	if !t.HasPointers() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/sizes.go

    //     struct's alignment.
    //   - All other types have size WordSize.
    //   - Arrays and structs are aligned per spec definition; all other
    //     types are naturally aligned with a maximum alignment MaxAlign.
    //
    // *StdSizes implements Sizes.
    type StdSizes struct {
    	WordSize int64 // word size in bytes - must be >= 4 (32bits)
    	MaxAlign int64 // maximum alignment in bytes - must be >= 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/commandLineTutorialTasks.graphml

              <y:Geometry height="30.0" width="140.0" x="180.0" y="12.5"/>
              <y:Fill color="#C3D9E6" transparent="false"/>
              <y:BorderStyle color="#000000" type="line" width="1.0"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/go/types/gcsizes.go

    type gcSizes struct {
    	WordSize int64 // word size in bytes - must be >= 4 (32bits)
    	MaxAlign int64 // maximum alignment in bytes - must be >= 1
    }
    
    func (s *gcSizes) Alignof(T Type) (result int64) {
    	defer func() {
    		assert(result >= 1)
    	}()
    
    	// For arrays and structs, alignment is defined in terms
    	// of alignment of the elements and fields, respectively.
    	switch t := under(T).(type) {
    	case *Array:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/NativeAlignmentWithJavaPlatformResolveIntegrationTest.groovy

                    id 'java-platform'
                }
    
                dependencies {
                    constraints {
                        api(project(":core")) { because "platform alignment" }
                        api(project(":lib")) { because "platform alignment" }
                    }
                }
    
                publishing {
                    publications {
                        maven(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/go/types/sizes.go

    //     struct's alignment.
    //   - All other types have size WordSize.
    //   - Arrays and structs are aligned per spec definition; all other
    //     types are naturally aligned with a maximum alignment MaxAlign.
    //
    // *StdSizes implements Sizes.
    type StdSizes struct {
    	WordSize int64 // word size in bytes - must be >= 4 (32bits)
    	MaxAlign int64 // maximum alignment in bytes - must be >= 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue67160.go

    // T is "special" because of the unnamed field, so it needs a generated equality function.
    // T is an odd number of bytes in size and has alignment 1.
    type T struct {
    	src [8]byte
    	_   byte
    }
    
    // U contains 8 copies of T, each at a different %8 alignment.
    type U [8]T
    
    //go:noinline
    func f(x, y *U) bool {
    	return *x == *y
    }
    
    func main() {
    	var a U
    	_ = f(&a, &a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:34:04 UTC 2024
    - 767 bytes
    - Viewed (0)
Back to top