Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 321 for Alignment (0.17 sec)

  1. 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)
  2. 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)
  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/runtime/histogram_test.go

    	"testing"
    )
    
    var dummyTimeHistogram TimeHistogram
    
    func TestTimeHistogram(t *testing.T) {
    	// We need to use a global dummy because this
    	// could get stack-allocated with a non-8-byte alignment.
    	// The result of this bad alignment is a segfault on
    	// 32-bit platforms when calling Record.
    	h := &dummyTimeHistogram
    
    	// Record exactly one sample in each bucket.
    	for j := 0; j < TimeHistNumSubBuckets; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:01 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/link/internal/arm64/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 = 31
    	dwarfRegLR = 30
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. test/fixedbugs/issue8155.go

    // run
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 8155.
    // Alignment of stack prologue zeroing was wrong on 64-bit Native Client
    // (because of 32-bit pointers).
    
    package main
    
    import "runtime"
    
    func bad(b bool) uintptr {
    	var p **int
    	var x1 uintptr
    	x1 = 1
    	if b {
    		var x [11]*int
    		p = &x[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 711 bytes
    - Viewed (0)
Back to top