Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 844 for alignment (0.21 sec)

  1. src/internal/unsafeheader/unsafeheader_test.go

    		}
    	}
    
    	if h.NumField() != rh.NumField() {
    		t.Errorf("%v has %d fields, but %v has %d", h, h.NumField(), rh, rh.NumField())
    	}
    	if h.Align() != rh.Align() {
    		t.Errorf("%v has alignment %d, but %v has alignment %d", h, h.Align(), rh, rh.Align())
    	}
    }
    
    var (
    	unsafePointerType = reflect.TypeOf(unsafe.Pointer(nil))
    	uintptrType       = reflect.TypeOf(uintptr(0))
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformEcosystemIntegrationTest.groovy

                        canBeResolved = true
                    }
                }
    
                dependencies {
                    constraints {
                        custom(project(":lib")) { because "platform alignment" }
                    }
                }
    
                configurations.custom.copy()
            """
            createDirs("lib")
            settingsFile << "include 'lib'"
    
            expect:
            succeeds ":help"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue4396b.go

    // license that can be found in the LICENSE file.
    
    // This test _may_ fail on arm, but requires the host to
    // trap unaligned loads. This is generally done with
    //
    // echo "4" > /proc/cpu/alignment
    
    package main
    
    type T struct {
    	U uint16
    	V T2
    }
    
    type T2 struct {
    	pad    [4096]byte
    	A, B byte
    }
    
    var s, t = new(T), new(T)
    
    func main() {
    	var u, v *T2 = &s.V, &t.V
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 496 bytes
    - Viewed (0)
  4. src/cmd/link/internal/ppc64/l.go

    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    const (
    	maxAlign  = 32 // max data alignment
    	minAlign  = 1  // min data alignment
    	funcAlign = 16
    )
    
    /* Used by ../internal/ld/dwarf.go */
    const (
    	dwarfRegSP = 1
    	dwarfRegLR = 65
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/s390x/l.go

    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    const (
    	maxAlign  = 32 // max data alignment
    	minAlign  = 2  // min data alignment
    	funcAlign = 16
    )
    
    /* Used by ../internal/ld/dwarf.go */
    const (
    	dwarfRegSP = 15
    	dwarfRegLR = 14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/util.go

    // AlignmentPadding bytes to add to align code as requested.
    // Alignment is restricted to powers of 2 between 8 and 2048 inclusive.
    //
    // pc_: current offset in function, in bytes
    // p:  a PCALIGN or PCALIGNMAX prog
    // ctxt: the context, for current function
    // cursym: current function being assembled
    // returns number of bytes of padding needed,
    // updates minimum alignment for the function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    func parseNotes(reader io.Reader, alignment int, order binary.ByteOrder) ([]elfNote, error) {
    	r := bufio.NewReader(reader)
    
    	// padding returns the number of bytes required to pad the given size to an
    	// alignment boundary.
    	padding := func(size int) int {
    		return ((size + (alignment - 1)) &^ (alignment - 1)) - size
    	}
    
    	var notes []elfNote
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/internal/syscall/unix/fallocate_freebsd_arm.go

    	//
    	// The padding 0 argument is needed because the ARM calling convention requires that if an
    	// argument (off in this case) needs double-word alignment (8-byte), the NCRN (next core
    	// register number) is rounded up to the next even register number.
    	// See https://github.com/ARM-software/abi-aa/blob/2bcab1e3b22d55170c563c3c7940134089176746/aapcs32/aapcs32.rst#parameter-passing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 1013 bytes
    - Viewed (0)
  9. src/cmd/link/internal/mips64/l.go

    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    const (
    	maxAlign  = 32 // max data alignment
    	minAlign  = 1  // min data alignment
    	funcAlign = 8
    )
    
    /* Used by ../internal/ld/dwarf.go */
    const (
    	dwarfRegSP = 29
    	dwarfRegLR = 31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/link/internal/mips/l.go

    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    const (
    	MaxAlign  = 32 // max data alignment
    	MinAlign  = 1  // min data alignment
    	FuncAlign = 4
    )
    
    /* Used by ../internal/ld/dwarf.go */
    const (
    	DWARFREGSP = 29
    	DWARFREGLR = 31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 3.5K bytes
    - Viewed (0)
Back to top