Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 404 for xoffset (0.78 sec)

  1. src/testing/fstest/mapfs.go

    	f.offset += int64(n)
    	return n, nil
    }
    
    func (f *openMapFile) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case 0:
    		// offset += 0
    	case 1:
    		offset += f.offset
    	case 2:
    		offset += int64(len(f.f.Data))
    	}
    	if offset < 0 || offset > int64(len(f.f.Data)) {
    		return 0, &fs.PathError{Op: "seek", Path: f.path, Err: fs.ErrInvalid}
    	}
    	f.offset = offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/trie.go

    // is a list of ranges with an accompanying value. Given a matching range r,
    // the value for b is by r.value + (b - r.lo) * stride.
    func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	offset := t.offset[n]
    	header := t.values[offset]
    	lo := offset + 1
    	hi := lo + uint16(header.lo)
    	for lo < hi {
    		m := lo + (hi-lo)/2
    		r := t.values[m]
    		if r.lo <= b && b <= r.hi {
    			return r.value + uint16(b-r.lo)*header.value
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/internal/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: Fri Jan 26 14:58:23 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. pkg/registry/core/service/portallocator/allocator.go

    	const (
    		min  = 16
    		max  = 128
    		step = 32
    	)
    
    	rangeSize := pr.Size
    	// offset should always be smaller than the range size
    	if rangeSize <= min {
    		return 0
    	}
    
    	offset := rangeSize / step
    	if offset < min {
    		return min
    	}
    	if offset > max {
    		return max
    	}
    	return int(offset)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. 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.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FilePathUtil.java

         */
        public static int sizeOfCommonPrefix(String path1, String path2, int offset) {
            return sizeOfCommonPrefix(path1, path2, offset, File.separatorChar);
        }
    
        /**
         * Does not include the separator char.
         */
        public static int sizeOfCommonPrefix(String path1, String path2, int offset, char separatorChar) {
            int pos = 0;
            int lastSeparator = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/internal/xcoff/ar.go

    	Flmagic    [SAIAMAG]byte // Archive magic string
    	Flmemoff   [20]byte      // Member table offset
    	Flgstoff   [20]byte      // 32-bits global symtab offset
    	Flgst64off [20]byte      // 64-bits global symtab offset
    	Flfstmoff  [20]byte      // First member offset
    	Fllstmoff  [20]byte      // Last member offset
    	Flfreeoff  [20]byte      // First member on free list offset
    }
    
    type bigarMemberHeader struct {
    	Arsize   [20]byte // File member size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// Check offset overflow. Must fit in int32.
    	MOVQ 2147483647+1(AX), AX       // ERROR "offset too large"
    	MOVQ 3395469782(R10), R8        // ERROR "offset too large"
    	LEAQ 3395469782(AX), AX         // ERROR "offset too large"
    	ADDQ 3395469782(AX), AX         // ERROR "offset too large"
    	ADDL 3395469782(AX), AX         // ERROR "offset too large"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
        int getCharacterOffset();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. cmd/erasure-decode.go

    	if offset < 0 || length < 0 {
    		return -1, errInvalidArgument
    	}
    	if offset+length > totalLength {
    		return -1, errInvalidArgument
    	}
    
    	if length == 0 {
    		return 0, nil
    	}
    
    	reader := newParallelReader(readers, e, offset, totalLength)
    	if len(prefer) == len(readers) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top