Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 430 for offsetY (2.5 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/sys_windows_386.s

    	// TODO: don't use the arbitrary pointer (see go.dev/issue/59824)
    	MOVL	$TEB_ArbitraryPtr, CX
    	JMP	settls
    ok:
    	// Convert the TLS index at CX into
    	// an offset from TEB_TlsSlots.
    	SHLL	$2, CX
    
    	// Save offset from TLS into tls_g.
    	ADDL	$TEB_TlsSlots, CX
    settls:
    	MOVL	CX, runtimeĀ·tls_g(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. clause/limit_test.go

    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit10},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit10, Offset: 20}, clause.Limit{Offset: 30}, clause.Limit{Limit: &limitNeg10}},
    			"SELECT * FROM `users` OFFSET ?",
    			[]interface{}{30},
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/internal/coverage/decodemeta/decodefile.go

    	}
    
    	// Read package offsets for good measure
    	r.pkgOffsets = make([]uint64, r.hdr.Entries)
    	for i := uint64(0); i < r.hdr.Entries; i++ {
    		if r.pkgOffsets[i], err = r.rdUint64(); err != nil {
    			return err
    		}
    		if r.pkgOffsets[i] > r.hdr.TotalLength {
    			return fmt.Errorf("insane pkg offset %d: %d > totlen %d",
    				i, r.pkgOffsets[i], r.hdr.TotalLength)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 14 22:30:23 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/runtime/cgo/abi_loong64.h

    	MOVV	R26, ((offset)+(4*8))(R3)	\
    	MOVV	R27, ((offset)+(5*8))(R3)	\
    	MOVV	R28, ((offset)+(6*8))(R3)	\
    	MOVV	R29, ((offset)+(7*8))(R3)	\
    	MOVV	R30, ((offset)+(8*8))(R3)	\
    	MOVV	R31, ((offset)+(9*8))(R3)
    
    #define SAVE_F24_TO_F31(offset)	\
    	MOVD	F24, ((offset)+(0*8))(R3)	\
    	MOVD	F25, ((offset)+(1*8))(R3)	\
    	MOVD	F26, ((offset)+(2*8))(R3)	\
    	MOVD	F27, ((offset)+(3*8))(R3)	\
    	MOVD	F28, ((offset)+(4*8))(R3)	\
    	MOVD	F29, ((offset)+(5*8))(R3)	\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 02:34:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/internal/coverage/slicewriter/slicewriter.go

    func (sws *WriteSeeker) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if sws.off != offset && (offset < 0 || offset > int64(len(sws.payload))) {
    			return 0, fmt.Errorf("invalid seek: new offset %d (out of range [0 %d]", offset, len(sws.payload))
    		}
    		sws.off = offset
    		return offset, nil
    	case io.SeekCurrent:
    		newoff := sws.off + offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:26 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. src/unique/clone.go

    	atyp := typ.ArrayType()
    	etyp := atyp.Elem
    	offset := baseOffset
    	for range atyp.Len {
    		switch etyp.Kind() {
    		case abi.String:
    			seq.stringOffsets = append(seq.stringOffsets, offset)
    		case abi.Struct:
    			buildStructCloneSeq(etyp, seq, offset)
    		case abi.Array:
    			buildArrayCloneSeq(etyp, seq, offset)
    		}
    		offset += etyp.Size()
    		align := uintptr(etyp.FieldAlign())
    		offset = (offset + align - 1) &^ (align - 1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top