- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for endIndex (0.27 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go
} func (wci *watchCacheInterval) fillBuffer() { wci.buffer.startIndex = 0 wci.buffer.endIndex = 0 for wci.startIndex < wci.endIndex && !wci.buffer.isFull() { event := wci.indexer(wci.startIndex) if event == nil { break } wci.buffer.buffer[wci.buffer.endIndex] = event wci.buffer.endIndex++ wci.startIndex++ } } const bufferSize = 100
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 8.2K bytes - Viewed (0) -
src/encoding/pem/pem.go
rest = next } var endIndex, endTrailerIndex int // If there were no headers, the END line might occur // immediately, without a leading newline. if len(p.Headers) == 0 && bytes.HasPrefix(rest, pemEnd[1:]) { endIndex = 0 endTrailerIndex = len(pemEnd) - 1 } else { endIndex = bytes.Index(rest, pemEnd) endTrailerIndex = endIndex + len(pemEnd) } if endIndex < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc
StringRef caller_name = mlir::cast<NameLoc>(caller).getName().strref(); const size_t start_index = kQuantizationUnitPrefix.size(); const size_t end_index = caller_name.rfind(kQuantizationUnitSuffix); std::string serialized_proto = caller_name.substr(start_index, end_index - start_index).str(); QuantizationUnitLoc::QuantizationUnit quant_unit; if (quant_unit.ParseFromString(serialized_proto)) { return quant_unit;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.2K bytes - Viewed (0)