Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 309 for xoffset (4.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VfsRelativePathTest.groovy

            "a/b"        | ""    | "a/b"
            ""           | ""    | ""
        }
    
        def "'#relativePath / #offset' #verb a prefix of '#childPath'"() {
            expect:
            VfsRelativePath.of(relativePath, offset).isPrefixOf(childPath, CASE_SENSITIVE) == result
    
            where:
            relativePath | offset         | childPath | result
            "a/b"        | "a/".length()  | "a"       | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/offset_buffer_test.cc

    namespace tflite {
    namespace {
    
    TEST(OffsetBufferTest, IsValidBufferOffsetTrueGreaterThan1) {
      EXPECT_TRUE(IsValidBufferOffset(/*offset=*/2));
    }
    
    TEST(OffsetBufferTest, IsValidBufferOffsetFalseForLessThanOrEqualTo1) {
      EXPECT_FALSE(IsValidBufferOffset(/*offset=*/1));
      EXPECT_FALSE(IsValidBufferOffset(/*offset=*/0));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 04 01:07:10 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top