Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 396 for offset2 (0.12 sec)

  1. internal/s3select/select.go

    		rsc.offset = rsc.size + offset
    	}
    	if rsc.offset < 0 {
    		return rsc.offset, errors.New("seek to invalid negative offset")
    	}
    	if rsc.offset >= rsc.size {
    		return rsc.offset, errors.New("seek past end of object")
    	}
    	if rsc.reader != nil {
    		_ = rsc.reader.Close()
    		rsc.reader = nil
    	}
    	return rsc.offset, nil
    }
    
    // Read call to implement io.Reader
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/pgen.go

    	}
    
    	if mls != nil {
    		// Update offsets of followers (subsumed vars) to be the
    		// same as the leader var in their partition.
    		for i := 0; i < len(fn.Dcl); i++ {
    			n := fn.Dcl[i]
    			if !mls.Subsumed(n) {
    				continue
    			}
    			leader := mls.Leader(n)
    			off, ok := leaders[leader]
    			if !ok {
    				panic("internal error missing leader")
    			}
    			// Set the stack offset this subsumed (followed) var
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/utils.h

          offsets.push_back(end_values[i] - begin_values[i]);
        }
      }
    
      return mlir::DenseElementsAttr::get(
          RankedTensorType::get({static_cast<int>(offsets.size())},
                                mlir::IntegerType::get(begin.getContext(), 32)),
          llvm::ArrayRef(offsets));
    }
    
    // Check if the offset between two dense attribute values is non-negative.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

          assert(index[i] < shape[i]);
          assert(index[i] >= 0);
        }
    #endif  // NDEBUG
        int64_t offset = 0;
        int64_t stride = 1;
        for (int64_t dim = shape.size() - 1; dim >= 0; --dim) {
          offset += index[dim] * stride;
          stride *= shape[dim];
        }
        return offset;
      }
    
      int64_t offset_;
      int64_t stride_;
      int64_t size_;
    };
    
    template <typename T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. cmd/httprange.go

    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    	case elf.ET_REL:
    		if offset != 0 {
    			return 0, fmt.Errorf("don't know how to handle mapping.Offset")
    		}
    		return start, nil
    	case elf.ET_DYN:
    		// The process mapping information, start = start of virtual address range,
    		// and offset = offset in the executable file of the start address, tells us
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ppc64/ssa.go

    		// offsets that are a multiple of 4. If the offset is not a multiple of 4,
    		// then the address of the symbol to be loaded is computed (base + offset)
    		// and used as the new base register and the offset field in the instruction
    		// can be set to zero.
    
    		// This same problem can happen with gostrings since the final offset is not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. src/reflect/asm_loong64.s

    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    // for it on the stack. The purpose of this word is so that the runtime knows
    // whether the stack-allocated return space contains valid values for stack
    // scanning.
    //
    // The second local is an abi.RegArgs value whose offset is also known to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    	funcnameOffset uintptr // offset to the funcnametab variable from pcHeader
    	cuOffset       uintptr // offset to the cutab variable from pcHeader
    	filetabOffset  uintptr // offset to the filetab variable from pcHeader
    	pctabOffset    uintptr // offset to the pctab variable from pcHeader
    	pclnOffset     uintptr // offset to the pclntab variable from pcHeader
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. 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)
Back to top