Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 261 for offset_ (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/types2/sizes_test.go

    			// Make a copy manually :(
    			for i := 0; i < ts.NumFields(); i++ {
    				fields = append(fields, ts.Field(i))
    			}
    
    			offsets := conf.Sizes.Offsetsof(fields)
    			if offsets[0] != want[0] || offsets[1] != want[1] || offsets[2] != want[2] {
    				t.Errorf("OffsetsOf(%v) = %v want %v", ts, offsets, want)
    			}
    		})
    	}
    }
    
    type gcSizeTest struct {
    	name string
    	src  string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 21:00:48 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        this.elementSet = elementSet;
        this.cumulativeCounts = cumulativeCounts;
        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          @Override
          public long getLongLittleEndian(byte[] source, int offset) {
            return Longs.fromBytes(
                source[offset + 7],
                source[offset + 6],
                source[offset + 5],
                source[offset + 4],
                source[offset + 3],
                source[offset + 2],
                source[offset + 1],
                source[offset]);
          }
    
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/DefaultBinaryStore.java

                    throw throwAsUncheckedException(e);
                }
            }
            if (offset == -1) {
                offset = encoder.getWritePosition();
                if (offset == Integer.MAX_VALUE) {
                    throw new IllegalStateException("Unable to write to binary store. "
                            + "The bytes offset has reached a point where using it is unsafe. Please report this error.");
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultOffsetInFileLocation.java

        private final int offset;
        private final int length;
    
        public DefaultOffsetInFileLocation(String path, int offset, int length) {
            super(path);
            this.offset = offset;
            this.length = length;
        }
    
        @Override
        public int getOffset() {
            return offset;
        }
    
        @Override
        public int getLength() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top