Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,368 for Off (0.1 sec)

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

    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPBload {sym} [off] ptr x mem)
    	// result: (CMPB (MOVBload {sym} [off] ptr mem) x)
    	for {
    		off := auxIntToInt32(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		x := v_1
    		mem := v_2
    		v.reset(Op386CMPB)
    		v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(off)
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg2(v0, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPBload {sym} [off] ptr x mem)
    	// result: (CMPB (MOVBload {sym} [off] ptr mem) x)
    	for {
    		off := auxIntToInt32(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		x := v_1
    		mem := v_2
    		v.reset(OpAMD64CMPB)
    		v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(off)
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg2(v0, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typebits/typebits.go

    // on future calls with the same type t.
    func Set(t *types.Type, off int64, bv bitvec.BitVec) {
    	set(t, off, bv, false)
    }
    
    // SetNoCheck is like Set, but do not check for alignment.
    func SetNoCheck(t *types.Type, off int64, bv bitvec.BitVec) {
    	set(t, off, bv, true)
    }
    
    func set(t *types.Type, off int64, bv bitvec.BitVec, skip bool) {
    	if !skip && uint8(t.Alignment()) > 0 && off&int64(uint8(t.Alignment())-1) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/runtime/cgocheck.go

    // pointer value. The src pointer is off bytes into the gcbits.
    //
    //go:nosplit
    //go:nowritebarrier
    func cgoCheckBits(src unsafe.Pointer, gcbits *byte, off, size uintptr) {
    	skipMask := off / goarch.PtrSize / 8
    	skipBytes := skipMask * goarch.PtrSize * 8
    	ptrmask := addb(gcbits, skipMask)
    	src = add(src, skipBytes)
    	off -= skipBytes
    	size += off
    	var bits uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/objfile.go

    	if len == 0 {
    		return nil
    	}
    	end := int(off) + len
    	return r.b[int(off):end:end]
    }
    
    func (r *Reader) uint64At(off uint32) uint64 {
    	b := r.BytesAt(off, 8)
    	return binary.LittleEndian.Uint64(b)
    }
    
    func (r *Reader) int64At(off uint32) int64 {
    	return int64(r.uint64At(off))
    }
    
    func (r *Reader) uint32At(off uint32) uint32 {
    	b := r.BytesAt(off, 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. src/internal/zstd/window.go

    	if len(buf) >= w.size {
    		from := len(buf) - w.size
    		w.data = append(w.data[:0], buf[from:]...)
    		w.off = 0
    		return
    	}
    
    	// Update off to point to the oldest remaining byte.
    	free := w.size - len(w.data)
    	if free == 0 {
    		n := copy(w.data[w.off:], buf)
    		if n == len(buf) {
    			w.off += n
    		} else {
    			w.off = copy(w.data, buf[n:])
    		}
    	} else {
    		if free >= len(buf) {
    			w.data = append(w.data, buf...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:49:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/pcln.go

    		off := header.SetUint(ctxt.Arch, 8, uint64(state.nfunc))
    		off = header.SetUint(ctxt.Arch, off, uint64(state.nfiles))
    		if off != textStartOff {
    			panic(fmt.Sprintf("pcHeader textStartOff: %d != %d", off, textStartOff))
    		}
    		off += int64(ctxt.Arch.PtrSize) // skip runtimeText relocation
    		off = writeSymOffset(off, state.funcnametab)
    		off = writeSymOffset(off, state.cutab)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. src/debug/dwarf/entry.go

    		is64, _ := b.format.dwarf64()
    		if is64 {
    			off *= 8
    		} else {
    			off *= 4
    		}
    		off += rnglistsBase
    		if uint64(int(off)) != off {
    			b.error("DW_FORM_rnglistx offset out of range")
    		}
    
    		b1 := makeBuf(b.dwarf, b.format, "rnglists", 0, b.dwarf.rngLists)
    		b1.skip(int(off))
    		if is64 {
    			off = b1.uint64()
    		} else {
    			off = uint64(b1.uint32())
    		}
    		if b1.err != nil {
    			b.err = b1.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	)
    }
    
    func unpackUint32(msg []byte, off int) (uint32, int, error) {
    	if off+uint32Len > len(msg) {
    		return 0, off, errBaseLen
    	}
    	v := uint32(msg[off])<<24 | uint32(msg[off+1])<<16 | uint32(msg[off+2])<<8 | uint32(msg[off+3])
    	return v, off + uint32Len, nil
    }
    
    func skipUint32(msg []byte, off int) (int, error) {
    	if off+uint32Len > len(msg) {
    		return off, errBaseLen
    	}
    	return off + uint32Len, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  10. src/testing/iotest/reader.go

    				return fmt.Errorf("Seek(-1, 1) from EOF = %d, %v, want %d, nil", -off, err, len(content)-1)
    			}
    			if off, err := r.Seek(int64(-len(content)/3), 1); off != int64(middle-1) || err != nil {
    				return fmt.Errorf("Seek(%d, 1) from %d = %d, %v, want %d, nil", -len(content)/3, len(content)-1, off, err, middle-1)
    			}
    			if off, err := r.Seek(+1, 1); off != int64(middle) || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top