- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for endIndex (0.12 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) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpResponseResource.java
if (beginIndex > 0) { int endIndex = disposition.indexOf(';', beginIndex + 11); // find the next semicolon endIndex = endIndex < 0 ? disposition.length() : endIndex; // if no semicolon is found, then there is nothing else in the disposition endIndex -= 1; // ignore the closing quotes return disposition.substring(beginIndex + 10, endIndex); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/CharSequenceExtensions.kt
} internal fun CharSequence.splitIncluding(delimiter: Char) = sequence { var startIndex = 0 while (true) { val endIndex = indexOf(delimiter, startIndex) + 1 if (endIndex == 0) break yield(substring(startIndex, endIndex)) startIndex = endIndex } if (startIndex <= lastIndex) { yield(substring(startIndex)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.4K 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) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
@Throws(IOException::class) private fun processClassFile(zipEntry: ZipEntry, builder: Trie.Builder) { val endIndex = zipEntry.name.lastIndexOf("/") if (endIndex > 0) { val packageName = zipEntry.name.substring(0, endIndex) for (exclude in excludes) { if ("$packageName/".startsWith("$exclude/")) { return
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomDomParser.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go
// exercise it in tests, we just throw an error here. t.Error("Open watchers are not supported during compaction") } for c.watchCache.startIndex < c.watchCache.endIndex { index := c.watchCache.startIndex % c.watchCache.capacity if c.watchCache.cache[index].ResourceVersion > rv { break } c.watchCache.startIndex++ }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 20:43:52 UTC 2023 - 3.8K 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) -
src/cmd/vendor/golang.org/x/text/internal/language/compact/tags.go
German Tag = Tag{language: deIndex, locale: deIndex} Greek Tag = Tag{language: elIndex, locale: elIndex} English Tag = Tag{language: enIndex, locale: enIndex} AmericanEnglish Tag = Tag{language: enUSIndex, locale: enUSIndex} BritishEnglish Tag = Tag{language: enGBIndex, locale: enGBIndex} Spanish Tag = Tag{language: esIndex, locale: esIndex}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 5.5K bytes - Viewed (0)