Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 92 for offset_ (0.1 sec)

  1. cmd/xl-storage.go

    	if !st.Mode().IsRegular() {
    		file.Close()
    		return nil, errIsNotRegular
    	}
    
    	if st.Size() < offset+length {
    		// Expected size cannot be satisfied for
    		// requested offset and length
    		file.Close()
    		return nil, errFileCorrupt
    	}
    
    	if offset > 0 {
    		if _, err = file.Seek(offset, io.SeekStart); err != nil {
    			file.Close()
    			return nil, err
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go

    func pread(fd int, p []byte, offset int64) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    	if readgstatus(gp1) == _Grunning {
    		print("doRecordGoroutineProfile gp1=", gp1.goid, "\n")
    		throw("cannot read stack of running goroutine")
    	}
    
    	offset := int(goroutineProfile.offset.Add(1)) - 1
    
    	if offset >= len(goroutineProfile.records) {
    		// Should be impossible, but better to return a truncated profile than
    		// to crash the entire process at this point. Instead, deal with it in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            if (IsValidBufferOffset(buffers[const_tensor.buffer]->offset)) {
              const uint8_t* file_begin_ptr =
                  reinterpret_cast<const uint8_t*>(model_ptr->allocation()->base());
              buffer = std::vector<uint8_t>(
                  file_begin_ptr + buffers[const_tensor.buffer]->offset,
                  file_begin_ptr + buffers[const_tensor.buffer]->offset +
                      buffers[const_tensor.buffer]->size);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pread(fd int, p []byte, offset int64) (n int, err error) {
    	var _p0 *byte
    	if len(p) > 0 {
    		_p0 = &p[0]
    	}
    	r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    	i--
    	dAtA[i] = 0xa
    	return len(dAtA) - i, nil
    }
    
    func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
    	offset -= sovGenerated(v)
    	base := offset
    	for v >= 1<<7 {
    		dAtA[offset] = uint8(v&0x7f | 0x80)
    		v >>= 7
    		offset++
    	}
    	dAtA[offset] = uint8(v)
    	return base
    }
    func (m *Endpoint) Size() (n int) {
    	if m == nil {
    		return 0
    	}
    	var l int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
    	_, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 66.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
    	_, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 66.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/certificates/v1beta1/generated.pb.go

    			i--
    			dAtA[i] = 0xa
    		}
    	}
    	return len(dAtA) - i, nil
    }
    
    func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
    	offset -= sovGenerated(v)
    	base := offset
    	for v >= 1<<7 {
    		dAtA[offset] = uint8(v&0x7f | 0x80)
    		v >>= 7
    		offset++
    	}
    	dAtA[offset] = uint8(v)
    	return base
    }
    func (m *CertificateSigningRequest) Size() (n int) {
    	if m == nil {
    		return 0
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go

    func pread(fd int, p []byte, offset int64) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top