Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 402 for offset_ (0.14 sec)

  1. src/go/token/serialize_test.go

    		}
    		for j, l := range f.lines {
    			m := g.lines[j]
    			if l != m {
    				return fmt.Errorf("different offsets for %q", f.name)
    			}
    		}
    		for j, l := range f.infos {
    			m := g.infos[j]
    			if l.Offset != m.Offset || l.Filename != m.Filename || l.Line != m.Line {
    				return fmt.Errorf("different infos for %q", f.name)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 17 15:02:55 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/write.go

    }
    
    func encodePackage(e *encoder, p *rawPackage) {
    	e.String(p.error)
    	e.String(p.dir)
    	e.Int(len(p.sourceFiles))      // number of source files
    	sourceFileOffsetPos := e.Pos() // the pos of the start of the source file offsets
    	for range p.sourceFiles {
    		e.Int(0)
    	}
    	for i, f := range p.sourceFiles {
    		e.IntAt(e.Pos(), sourceFileOffsetPos+4*i)
    		encodeFile(e, f)
    	}
    }
    
    func encodeFile(e *encoder, f *rawFile) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/internal/codesign/codesign.go

    	CS_EXECSEG_CAN_EXEC_CDHASH = 0x200 // can execute blessed cdhash
    )
    
    type Blob struct {
    	typ    uint32 // type of entry
    	offset uint32 // offset of entry
    	// data follows
    }
    
    func (b *Blob) put(out []byte) []byte {
    	out = put32be(out, b.typ)
    	out = put32be(out, b.offset)
    	return out
    }
    
    const blobSize = 2 * 4
    
    type SuperBlob struct {
    	magic  uint32 // magic number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. src/internal/coverage/encodemeta/encodefile.go

    	}
    
    	// Emit package offsets section followed by package lengths section.
    	off := preambleLength
    	off2 := mhsz
    	buf := make([]byte, 8)
    	for _, blob := range blobs {
    		binary.LittleEndian.PutUint64(buf, off)
    		if _, err = m.w.Write(buf); err != nil {
    			return fmt.Errorf("error writing %s: %v", m.mfname, err)
    		}
    		if m.debug {
    			fmt.Fprintf(os.Stderr, "=+= pkg offset %d 0x%x\n", off, off)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/funcinfo.go

    	for i := range a.InlTree {
    		a.InlTree[i].Write(w)
    	}
    }
    
    // FuncInfoLengths is a cache containing a roadmap of offsets and
    // lengths for things within a serialized FuncInfo. Each length field
    // stores the number of items (e.g. files, inltree nodes, etc), and the
    // corresponding "off" field stores the byte offset of the start of
    // the items in question.
    type FuncInfoLengths struct {
    	NumFile     uint32
    	FileOff     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. cmd/httprange.go

    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/reflect/asm_loong64.s

    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    // for it on the stack. The purpose of this word is so that the runtime knows
    // whether the stack-allocated return space contains valid values for stack
    // scanning.
    //
    // The second local is an abi.RegArgs value whose offset is also known to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/reflect/asm_arm64.s

    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    // for it on the stack. The purpose of this word is so that the runtime knows
    // whether the stack-allocated return space contains valid values for stack
    // scanning.
    //
    // The second local is an abi.RegArgs value whose offset is also known to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. src/reflect/asm_riscv64.s

    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    // for it on the stack. The purpose of this word is so that the runtime knows
    // whether the stack-allocated return space contains valid values for stack
    // scanning.
    //
    // The second local is an abi.RegArgs value whose offset is also known to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 01:41:42 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  10. src/runtime/cpuflags.go

    package runtime
    
    import (
    	"internal/cpu"
    	"unsafe"
    )
    
    // Offsets into internal/cpu records for use in assembly.
    const (
    	offsetX86HasAVX    = unsafe.Offsetof(cpu.X86.HasAVX)
    	offsetX86HasAVX2   = unsafe.Offsetof(cpu.X86.HasAVX2)
    	offsetX86HasERMS   = unsafe.Offsetof(cpu.X86.HasERMS)
    	offsetX86HasRDTSCP = unsafe.Offsetof(cpu.X86.HasRDTSCP)
    
    	offsetARMHasIDIVA = unsafe.Offsetof(cpu.ARM.HasIDIVA)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 810 bytes
    - Viewed (0)
Back to top