Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 402 for offset_ (0.17 sec)

  1. test/fixedbugs/issue6036.go

    // Copyright 2013 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 6036: 6g's backend generates OINDREG with
    // offsets larger than 32-bit.
    
    package main
    
    type T struct {
    	Large [1 << 31]byte
    	A     int
    	B     int
    }
    
    func F(t *T) {
    	t.B = t.A
    }
    
    type T2 [1<<31 + 2]byte
    
    func F2(t *T2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 652 bytes
    - Viewed (0)
  2. src/runtime/sys_windows_386.s

    	// TODO: don't use the arbitrary pointer (see go.dev/issue/59824)
    	MOVL	$TEB_ArbitraryPtr, CX
    	JMP	settls
    ok:
    	// Convert the TLS index at CX into
    	// an offset from TEB_TlsSlots.
    	SHLL	$2, CX
    
    	// Save offset from TLS into tls_g.
    	ADDL	$TEB_TlsSlots, CX
    settls:
    	MOVL	CX, runtimeĀ·tls_g(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. test/nilcheck.go

    	_ = *bigstructp // ERROR "nil check"
    	_ = *empty1p    // ERROR "nil check"
    }
    
    func fx10k() *[10000]int
    
    var b bool
    
    func f3(x *[10000]int) {
    	// Using a huge type and huge offsets so the compiler
    	// does not expect the memory hardware to fault.
    	_ = x[9999] // ERROR "nil check"
    
    	for {
    		if x[9999] != 0 { // ERROR "nil check"
    			break
    		}
    	}
    
    	x = fx10k()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. clause/limit_test.go

    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit10},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit10, Offset: 20}, clause.Limit{Offset: 30}, clause.Limit{Limit: &limitNeg10}},
    			"SELECT * FROM `users` OFFSET ?",
    			[]interface{}{30},
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/mergelocals_test.go

    	// on and then pick up on the frame offsets of specific
    	// variables.
    	//
    	// Stack slot merging is a greedy algorithm, and there can
    	// be many possible ways to overlap a given set of candidate
    	// variables, all of them legal. Rather than locking down
    	// a specific set of overlappings or frame offsets, this
    	// tests just verifies that there is a decent-sized clump of 4+ vars that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Fingerprint2011.java

      }
    
      private static long hashLength33To64(byte[] bytes, int offset, int length) {
        long z = load64(bytes, offset + 24);
        long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0;
        long b = rotateRight(a + z, 52);
        long c = rotateRight(a, 37);
        a += load64(bytes, offset + 8);
        c += rotateRight(a, 7);
        a += load64(bytes, offset + 16);
        long vf = a + z;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  7. src/internal/coverage/decodemeta/decodefile.go

    	}
    
    	// Read package offsets for good measure
    	r.pkgOffsets = make([]uint64, r.hdr.Entries)
    	for i := uint64(0); i < r.hdr.Entries; i++ {
    		if r.pkgOffsets[i], err = r.rdUint64(); err != nil {
    			return err
    		}
    		if r.pkgOffsets[i] > r.hdr.TotalLength {
    			return fmt.Errorf("insane pkg offset %d: %d > totlen %d",
    				i, r.pkgOffsets[i], r.hdr.TotalLength)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 14 22:30:23 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/runtime/cgo/abi_loong64.h

    	MOVV	R26, ((offset)+(4*8))(R3)	\
    	MOVV	R27, ((offset)+(5*8))(R3)	\
    	MOVV	R28, ((offset)+(6*8))(R3)	\
    	MOVV	R29, ((offset)+(7*8))(R3)	\
    	MOVV	R30, ((offset)+(8*8))(R3)	\
    	MOVV	R31, ((offset)+(9*8))(R3)
    
    #define SAVE_F24_TO_F31(offset)	\
    	MOVD	F24, ((offset)+(0*8))(R3)	\
    	MOVD	F25, ((offset)+(1*8))(R3)	\
    	MOVD	F26, ((offset)+(2*8))(R3)	\
    	MOVD	F27, ((offset)+(3*8))(R3)	\
    	MOVD	F28, ((offset)+(4*8))(R3)	\
    	MOVD	F29, ((offset)+(5*8))(R3)	\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 02:34:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/internal/coverage/slicewriter/slicewriter.go

    func (sws *WriteSeeker) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if sws.off != offset && (offset < 0 || offset > int64(len(sws.payload))) {
    			return 0, fmt.Errorf("invalid seek: new offset %d (out of range [0 %d]", offset, len(sws.payload))
    		}
    		sws.off = offset
    		return offset, nil
    	case io.SeekCurrent:
    		newoff := sws.off + offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:26 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. src/unique/clone.go

    	atyp := typ.ArrayType()
    	etyp := atyp.Elem
    	offset := baseOffset
    	for range atyp.Len {
    		switch etyp.Kind() {
    		case abi.String:
    			seq.stringOffsets = append(seq.stringOffsets, offset)
    		case abi.Struct:
    			buildStructCloneSeq(etyp, seq, offset)
    		case abi.Array:
    			buildArrayCloneSeq(etyp, seq, offset)
    		}
    		offset += etyp.Size()
    		align := uintptr(etyp.FieldAlign())
    		offset = (offset + align - 1) &^ (align - 1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top