Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 256 for offset2 (0.26 sec)

  1. src/encoding/binary/binary.go

    	d.offset++
    	return x
    }
    
    func (e *encoder) uint8(x uint8) {
    	e.buf[e.offset] = x
    	e.offset++
    }
    
    func (d *decoder) uint16() uint16 {
    	x := d.order.Uint16(d.buf[d.offset : d.offset+2])
    	d.offset += 2
    	return x
    }
    
    func (e *encoder) uint16(x uint16) {
    	e.order.PutUint16(e.buf[e.offset:e.offset+2], x)
    	e.offset += 2
    }
    
    func (d *decoder) uint32() uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		return nil, fmt.Errorf("could not identify base for %s: %v", name, err)
    	}
    
    	if b.fast || (!b.addr2lineFound && !b.llvmSymbolizerFound) {
    		return &fileNM{file: file{
    			b:       b,
    			name:    name,
    			buildID: buildID,
    			m:       &elfMapping{start: start, limit: limit, offset: offset, kernelOffset: kernelOffset},
    		}}, nil
    	}
    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. cmd/sftp-server-driver.go

    }
    
    func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) {
    	w.m.Lock()
    	defer w.m.Unlock()
    
    	if w.nextOffset == offset {
    		n, err = w.w.Write(b)
    		w.nextOffset += int64(n)
    	} else {
    		if offset > w.nextOffset+ftpMaxWriteOffset {
    			return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset)
    		}
    		w.buffer[offset] = make([]byte, len(b))
    		copy(w.buffer[offset], b)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/abi.go

    				base.ErrorfAt(fn.Pos(), 0, "%v defined in both Go and assembly", fn)
    			}
    			fn.ABI = defABI
    		}
    
    		if fn.Pragma&ir.CgoUnsafeArgs != 0 {
    			// CgoUnsafeArgs indicates the function (or its callee) uses
    			// offsets to dispatch arguments, which currently using ABI0
    			// frame layout. Pin it to ABI0.
    			fn.ABI = obj.ABI0
    			// Propagate linkname attribute, which was set on the ABIInternal
    			// symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/asm9.go

    			rel.Type = objabi.R_ADDRPOWER_PCREL34
    		} else if c.opform(inst) == DS_FORM && v&0x3 != 0 {
    			log.Fatalf("invalid offset for DS form load/store %v", p)
    		}
    
    	case 75: // 32 bit offset symbol loads (got/toc/addr)
    		var rel *obj.Reloc
    		v := p.From.Offset
    
    		// Offsets in DS form loads must be a multiple of 4
    		inst := c.opload(p.As)
    		switch p.From.Name {
    		case obj.NAME_GOTREF, obj.NAME_TOCREF:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    	}
    
    	return &HTTPRangeSpec{Start: start, End: end}
    }
    
    // Returns the compressed offset which should be skipped.
    // If encrypted offsets are adjusted for encrypted block headers/trailers.
    // Since de-compression is after decryption encryption overhead is only added to compressedOffset.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.cc

    // schema_utils header.
    // TODO(b/162392898): remove once all callers are updated to use schema v3a
    // functions.
    
    flatbuffers::Offset<OperatorCode> CreateOperatorCode(
        flatbuffers::FlatBufferBuilder &_fbb, BuiltinOperator builtin_code,
        flatbuffers::Offset<flatbuffers::String> custom_code, int32_t version) {
      OperatorCodeBuilder builder_(_fbb);
      builder_.add_version(version);
    
      int8_t deprecated_builtin_code =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. cmd/bitrot-streaming.go

    func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
    	var err error
    	if offset%b.shardSize != 0 {
    		// Offset should always be aligned to b.shardSize
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	if b.rc == nil {
    		// For the first ReadAt() call we need to open the stream for reading.
    		b.currOffset = offset
    		streamOffset := (offset/b.shardSize)*int64(b.h.Size()) + offset
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/internal/syscall/unix/siginfo_linux_test.go

    	}
    	ofUid := ofPid + 4
    	ofStatus := ofPid + 8
    
    	offsets := []struct {
    		name string
    		got  uintptr
    		want int
    	}{
    		{"Signo", unsafe.Offsetof(si.Signo), ofSigno},
    		{"Errno", unsafe.Offsetof(si.Errno), ofErrno},
    		{"Code", unsafe.Offsetof(si.Code), ofCode},
    		{"Pid", unsafe.Offsetof(si.Pid), ofPid},
    		{"Uid", unsafe.Offsetof(si.Uid), ofUid},
    		{"Status", unsafe.Offsetof(si.Status), ofStatus},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h

    // three, which does not have an extended builtin code.
    flatbuffers::Offset<OperatorCode> CreateOperatorCode(
        flatbuffers::FlatBufferBuilder &_fbb,
        BuiltinOperator builtin_code = BuiltinOperator_ADD,
        flatbuffers::Offset<flatbuffers::String> custom_code = 0,
        int32_t version = 1);
    
    flatbuffers::Offset<OperatorCode> CreateOperatorCodeDirect(
        flatbuffers::FlatBufferBuilder &_fbb,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top