Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,554 for offset1 (0.15 sec)

  1. src/io/io.go

    var errOffset = errors.New("Seek: invalid offset")
    
    func (s *SectionReader) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	default:
    		return 0, errWhence
    	case SeekStart:
    		offset += s.base
    	case SeekCurrent:
    		offset += s.off
    	case SeekEnd:
    		offset += s.limit
    	}
    	if offset < s.base {
    		return 0, errOffset
    	}
    	s.off = offset
    	return offset - s.base, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/debug/dwarf/type.go

    // types section.
    type typeReader interface {
    	Seek(Offset)
    	Next() (*Entry, error)
    	clone() typeReader
    	offset() Offset
    	// AddressSize returns the size in bytes of addresses in the current
    	// compilation unit.
    	AddressSize() int
    }
    
    // Type reads the type at off in the DWARF “info” section.
    func (d *Data) Type(off Offset) (Type, error) {
    	return d.readType("info", d.Reader(), off, d.typeCache, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  3. 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)
  4. test/nilcheck.go

    	_ = *bigstructp // ERROR "nil check"
    	_ = *empty1p    // ERROR "nil check"
    }
    
    func fx10k() *[10000]int
    
    var b bool
    
    func f3(x *[10000]int) {
    	// Using a huge type and huge offsets so the compiler
    	// does not expect the memory hardware to fault.
    	_ = x[9999] // ERROR "nil check"
    
    	for {
    		if x[9999] != 0 { // ERROR "nil check"
    			break
    		}
    	}
    
    	x = fx10k()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. src/internal/abi/type.go

    	// is freed.
    	TFlagUnrolledBitmap TFlag = 1 << 4
    )
    
    // NameOff is the offset to a name from moduledata.types.  See resolveNameOff in runtime.
    type NameOff int32
    
    // TypeOff is the offset to a type from moduledata.types.  See resolveTypeOff in runtime.
    type TypeOff int32
    
    // TextOff is an offset from the top of a text section.  See (rtype).textOff in runtime.
    type TextOff int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/wasm/asm.go

    			}
    
    			segments = append(segments, &dataSegment{
    				offset: offset,
    				data:   data[:segmentEnd],
    			})
    			data = data[zeroEnd:]
    			offset += zeroEnd
    		}
    	}
    
    	writeUleb128(ctxt.Out, uint64(len(segments))) // number of data entries
    	for _, seg := range segments {
    		writeUleb128(ctxt.Out, 0) // memidx
    		writeI32Const(ctxt.Out, seg.offset)
    		ctxt.Out.WriteByte(0x0b) // end
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema_generated.h

        auto o = ::flatbuffers::Offset<Tensor>(end);
        return o;
      }
    };
    
    inline ::flatbuffers::Offset<Tensor> CreateTensor(
        ::flatbuffers::FlatBufferBuilder &_fbb,
        ::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape = 0,
        tflite::TensorType type = tflite::TensorType_FLOAT32,
        uint32_t buffer = 0,
        ::flatbuffers::Offset<::flatbuffers::String> name = 0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  8. src/compress/flate/deflate.go

    	logWindowSize = 15
    	windowSize    = 1 << logWindowSize
    	windowMask    = windowSize - 1
    
    	// The LZ77 step produces a sequence of literal tokens and <length, offset>
    	// pair tokens. The offset is also known as distance. The underlying wire
    	// format limits the range of lengths and offsets. For example, there are
    	// 256 legitimate lengths: those in the range [3, 258]. This package's
    	// compressor uses a higher minimum match length, enabling optimizations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/internal/obj/link.go

    	"internal/abi"
    	"sync"
    	"sync/atomic"
    )
    
    // An Addr is an argument to an instruction.
    // The general forms and their encodings are:
    //
    //	sym±offset(symkind)(reg)(index*scale)
    //		Memory reference at address &sym(symkind) + offset + reg + index*scale.
    //		Any of sym(symkind), ±offset, (reg), (index*scale), and *scale can be omitted.
    //		If (reg) and *scale are both omitted, the resulting expression (index) is parsed as (reg).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top