Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 525 for xoffset (0.2 sec)

  1. src/debug/gosym/pclntab.go

    	t.quantum = uint32(t.Data[6])
    	t.ptrsize = uint32(t.Data[7])
    
    	offset := func(word uint32) uint64 {
    		return t.uintptr(t.Data[8+word*t.ptrsize:])
    	}
    	data := func(word uint32) []byte {
    		return t.Data[offset(word):]
    	}
    
    	switch possibleVersion {
    	case ver118, ver120:
    		t.nfunctab = uint32(offset(0))
    		t.nfiletab = uint32(offset(1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/expand_calls.go

    	if et == types.TINT64 {
    		tHi = x.typs.Int32
    	}
    	tLo = x.typs.UInt32
    	return
    }
    
    // offsetFrom creates an offset from a pointer, simplifying chained offsets and offsets from SP
    func (x *expandState) offsetFrom(b *Block, from *Value, offset int64, pt *types.Type) *Value {
    	ft := from.Type
    	if offset == 0 {
    		if ft == pt {
    			return from
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  3. src/runtime/memmove_test.go

    	for n := size - 50; n > 1; n >>= 1 {
    		for x := 0; x <= size-n; x = x*7 + 1 { // offset in src
    			for y := 0; y <= size-n; y = y*9 + 1 { // offset in dst
    				copy(dst[y:y+n], src[x:x+n])
    				copyref(ref[y:y+n], src[x:x+n])
    				p := cmpb(dst, ref)
    				if p >= 0 {
    					t.Fatalf("Copy failed, copying from src[%d:%d] to dst[%d:%d].\nOffset %d is different, %v != %v", x, x+n, y, y+n, p, dst[p], ref[p])
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. 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)
  5. src/go/token/position.go

    	if i := len(f.infos); (i == 0 || f.infos[i-1].Offset < offset) && offset < f.size {
    		f.infos = append(f.infos, lineInfo{offset, filename, line, column})
    	}
    	f.mutex.Unlock()
    }
    
    // fixOffset fixes an out-of-bounds offset such that 0 <= offset <= f.size.
    func (f *File) fixOffset(offset int) int {
    	switch {
    	case offset < 0:
    		if !debug {
    			return 0
    		}
    	case offset > f.size:
    		if !debug {
    			return f.size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  6. cmd/erasure-decode_test.go

    	}
    
    	// To generate random offset/length.
    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for i := 0; i < iterations; i++ {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    		expected := data[offset : offset+readLen]
    
    		// Get the checksums of the current part.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/image/jpeg/writer.go

    	for j := 0; j < 8; j++ {
    		sy := p.Y + j
    		if sy > ymax {
    			sy = ymax
    		}
    		for i := 0; i < 8; i++ {
    			sx := p.X + i
    			if sx > xmax {
    				sx = xmax
    			}
    			yi := m.YOffset(sx, sy)
    			ci := m.COffset(sx, sy)
    			yBlock[8*j+i] = int32(m.Y[yi])
    			cbBlock[8*j+i] = int32(m.Cb[ci])
    			crBlock[8*j+i] = int32(m.Cr[ci])
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/obj9.go

    		}
    		if p.From.Offset&0xFFFF == 0 {
    			// The constant can be added using ADDIS
    			p.As = AADDIS
    			p.From.Offset >>= 16
    		} else if buildcfg.GOPPC64 >= 10 {
    			// Let the assembler generate paddi for large constants.
    			break
    		} else if (p.From.Offset < -0x8000 && int64(int32(p.From.Offset)) == p.From.Offset) || (p.From.Offset > 0xFFFF && p.From.Offset < 0x7FFF8000) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/unfuse_mhlo_batch_norm.mlir

    // CHECK-SAME: %[[X:[^:[:space:]]+]]
    // CHECK-SAME: %[[SCALE:[^:[:space:]]+]]
    // CHECK-SAME: %[[OFFSET:[^:[:space:]]+]]
    // CHECK-SAME: %[[MEAN:[^:[:space:]]+]]
    // CHECK-SAME: %[[VARIANCE:[^:[:space:]]+]]
    func.func @batchNormInference_2D_inner_features(
        %x: tensor<4x256xf32>, %scale: tensor<256xf32>, %offset: tensor<256xf32>,
        %mean: tensor<256xf32>, %variance: tensor<256xf32>)
        -> (tensor<4x256xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/internal/zstd/block.go

    	if offset == 0 {
    		return rbr.makeError("invalid zero offset")
    	}
    
    	// Offset may point into the buffer or the window and
    	// match may extend past the end of the initial buffer.
    	// |--r.window--|--r.buffer--|
    	//        |<-----offset------|
    	//        |------match----------->|
    	bufferOffset := uint32(0)
    	lenBlock := uint32(len(r.buffer))
    	if lenBlock < offset {
    		lenWindow := r.window.len()
    		copy := offset - lenBlock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top