Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 261 for offset_ (0.44 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/debug/macho/fat.go

    		}
    	}
    	offset := int64(4)
    
    	// Read the number of FatArchHeaders that come after the fat_header.
    	var narch uint32
    	err = binary.Read(sr, binary.BigEndian, &narch)
    	if err != nil {
    		return nil, &FormatError{offset, "invalid fat_header", nil}
    	}
    	offset += 4
    
    	if narch < 1 {
    		return nil, &FormatError{offset, "file contains no images", nil}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_arm.go

    }
    
    // Underlying system call writes to newoffset via pointer.
    // Implemented in assembly to avoid allocation.
    func seek(fd int, offset int64, whence int) (newoffset int64, err Errno)
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    	newoffset, errno := seek(fd, offset, whence)
    	if errno != 0 {
    		return 0, errno
    	}
    	return newoffset, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/OffsetInFileLocation.java

    /**
     * A basic location pointing to a specific part of a file using a global offset and length for coordinates.
     * <p>
     * The coordinates are expected to be zero indexed.
     */
    public interface OffsetInFileLocation extends FileLocation {
    
        /**
         * The global offset from the beginning of the file.
         *
         * @return the zero-indexed the offset
         */
        int getOffset();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

        }
    
        def "length of common prefix of #prefix with #absolutePath at offset #offset is #result"() {
            expect:
            VfsRelativePath.of(absolutePath, offset).lengthOfCommonPrefix(prefix, caseSensitivity) == result
    
            where:
            prefix              | absolutePath            | offset | result
            "hello/world"       | "hello/other"           | 0      | 5
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top