Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,148 for offset_ (0.16 sec)

  1. src/cmd/compile/internal/ssa/memcombine.go

    		if p != base {
    			return false
    		}
    		r[i] = LoadRecord{load: load, offset: off, shift: shift}
    	}
    
    	// Sort in memory address order.
    	sort.Slice(r, func(i, j int) bool {
    		return r[i].offset < r[j].offset
    	})
    
    	// Check that we have contiguous offsets.
    	for i := int64(0); i < n; i++ {
    		if r[i].offset != r[0].offset+i*size {
    			return false
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    // and if the offsets match, if they are available.
    func adjacent(m1, m2 *Mapping) bool {
    	if m1.File != "" && m2.File != "" {
    		if m1.File != m2.File {
    			return false
    		}
    	}
    	if m1.BuildID != "" && m2.BuildID != "" {
    		if m1.BuildID != m2.BuildID {
    			return false
    		}
    	}
    	if m1.Limit != m2.Start {
    		return false
    	}
    	if m1.Offset != 0 && m2.Offset != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. test/fixedbugs/issue6036.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 6036: 6g's backend generates OINDREG with
    // offsets larger than 32-bit.
    
    package main
    
    type T struct {
    	Large [1 << 31]byte
    	A     int
    	B     int
    }
    
    func F(t *T) {
    	t.B = t.A
    }
    
    type T2 [1<<31 + 2]byte
    
    func F2(t *T2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 652 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top