Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 460 for xoffset (0.36 sec)

  1. 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)
  2. src/runtime/vdso_elf32.go

    	vd_ndx     uint16 /* Version Index */
    	vd_cnt     uint16 /* Number of associated aux entries */
    	vd_hash    uint32 /* Version name hash value */
    	vd_aux     uint32 /* Offset in bytes to verdaux array */
    	vd_next    uint32 /* Offset in bytes to next verdef entry */
    }
    
    type elfEhdr struct {
    	e_ident     [_EI_NIDENT]byte /* Magic number and other info */
    	e_type      uint16           /* Object file type */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/pprof/vminfo_darwin.go

    		}
    		if isExecutable(info.Protection) {
    			// NOTE: the meaning/value of Offset is unclear. However,
    			// this likely doesn't matter as the text segment's file
    			// offset is usually 0.
    			addMapping(addr,
    				addr+memRegionSize,
    				read64(&info.Offset),
    				regionFilename(addr),
    				"")
    			added = true
    		}
    		addr += memRegionSize
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 23:35:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/debug/pe/string.go

    // String extracts string from COFF string table st at offset start.
    func (st StringTable) String(start uint32) (string, error) {
    	// start includes 4 bytes of string table length
    	if start < 4 {
    		return "", fmt.Errorf("offset %d is before the start of string table", start)
    	}
    	start -= 4
    	if int(start) > len(st) {
    		return "", fmt.Errorf("offset %d is beyond the end of string table", start)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. cmd/dummy-data-generator_test.go

    	}
    	return
    }
    
    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    		if d.length+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top