Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 564 for xoffset (0.1 sec)

  1. test/fixedbugs/issue21048.go

    // instruction.
    
    package main
    
    type T struct {
    	_ [1]byte
    	a [2]byte // offset: 1
    	_ [3]byte
    	b [2]uint16 // offset: 6
    	_ [2]byte
    	c [2]uint32 // offset: 12
    	_ [2]byte
    	d [2]int16 // offset: 22
    	_ [2]byte
    	e [2]int32 // offset: 28
    }
    
    var Source, Sink T
    
    func newT() T {
    	return T{
    		a: [2]byte{1, 2},
    		b: [2]uint16{1, 2},
    		c: [2]uint32{1, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 19 14:22:48 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        public void setReadLength ( int readLength ) {
            this.readLength = readLength;
        }
    
    
        /**
         * @param offset
         *            the offset to set
         */
        public void setOffset ( long offset ) {
            this.offset = offset;
        }
    
    
        /**
         * @param minimumCount
         *            the minimumCount to set
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  6. src/debug/dwarf/type_test.go

    	r := d.Reader()
    	offsets := []Offset{}
    	for {
    		e, err := r.Next()
    		if err != nil {
    			t.Fatal("r.Next:", err)
    		}
    		if e == nil {
    			break
    		}
    		switch e.Tag {
    		case TagBaseType, TagTypedef, TagPointerType, TagStructType:
    			offsets = append(offsets, e.Offset)
    		}
    	}
    
    	// Parse each type with a fresh type cache.
    	for _, offset := range offsets {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  7. src/compress/flate/deflatefast.go

    			prevHash := hash(uint32(x))
    			e.table[prevHash&tableMask] = tableEntry{offset: e.cur + s - 1, val: uint32(x)}
    			x >>= 8
    			currHash := hash(uint32(x))
    			candidate = e.table[currHash&tableMask]
    			e.table[currHash&tableMask] = tableEntry{offset: e.cur + s, val: uint32(x)}
    
    			offset := s - (candidate.offset - e.cur)
    			if offset > maxMatchOffset || uint32(x) != candidate.val {
    				cv = uint32(x >> 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 19 18:48:17 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/internal/lockedfile/transform_test.go

    			time.Sleep(time.Duration(rand.Intn(100)) * time.Microsecond)
    			chunkWords := roundDownToPowerOf2(rand.Intn(maxChunkWords) + 1)
    			offset := rand.Intn(chunkWords)
    
    			err := lockedfile.Transform(path, func(data []byte) (chunk []byte, err error) {
    				chunk = buf[offset*8 : (offset+chunkWords)*8]
    
    				if len(data)&^7 != len(data) {
    					t.Errorf("read %d bytes, but each write is an integer multiple of 8 bytes", len(data))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 22:37:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-monolithic/src/prebuilt.h

    #ifndef PREBUILT_HEADER_${sourceIdx+offset}_H
    #define PREBUILT_HEADER_${sourceIdx+offset}_H
    
    // TODO: Actually do something in this header
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 188 bytes
    - Viewed (0)
Back to top