- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for endIndex (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
internal fun String.indexOfFirstNonAsciiWhitespace( startIndex: Int = 0, endIndex: Int = length, ): Int { for (i in startIndex until endIndex) { when (this[i]) { '\t', '\n', '\u000C', '\r', ' ' -> Unit else -> return i } } return endIndex } /**
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go
} func TestIntervalBufferIsFull(t *testing.T) { cases := []struct { endIndex int expected bool }{ {endIndex: bufferSize - 1, expected: false}, {endIndex: bufferSize, expected: true}, {endIndex: bufferSize + 1, expected: true}, } for _, c := range cases { wcib := &watchCacheIntervalBuffer{endIndex: c.endIndex} actual := wcib.isFull() if actual != c.expected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go
// cache is used a cyclic buffer - the "current" contents of it are // stored in [start_index%capacity, end_index%capacity) - so the // "current" contents have exactly end_index-start_index items. cache []*watchCacheEvent startIndex int endIndex int // removedEventSinceRelist holds the information whether any of the events
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 10:20:57 UTC 2024 - 26.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/LoggingDeprecatedFeatureHandler.java
final String lineSeparator = SystemProperties.getInstance().getLineSeparator(); int endIndex = Math.min(stack.size(), endIndexExclusive); if (isTraceLoggingEnabled()) { // append full stack trace for (int i = startIndexInclusive; i < endIndex; ++i) { StackTraceElement frame = stack.get(i); appendStackTraceElement(frame, message, lineSeparator);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 12.4K bytes - Viewed (0) -
helm/minio/templates/statefulset.yaml
"-ce",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 07:50:24 UTC 2024 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
} // check cache's startIndex, endIndex and all elements. if store.startIndex != test.expectStartIndex { t.Errorf("expect startIndex %d, but get %d", test.expectStartIndex, store.startIndex) } if store.endIndex != test.startIndex+test.eventCount { t.Errorf("expect endIndex %d get %d", test.startIndex+test.eventCount, store.endIndex) } if !checkCacheElements(store) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
): Cookie? { val cookiePairEnd = setCookie.delimiterOffset(';') val pairEqualsSign = setCookie.delimiterOffset('=', endIndex = cookiePairEnd) if (pairEqualsSign == cookiePairEnd) return null val cookieName = setCookie.trimSubstring(endIndex = pairEqualsSign) if (cookieName.isEmpty() || cookieName.indexOfControlOrNonAscii() != -1) return null
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
helm-releases/minio-5.2.0.tgz
.Values.image.pullPolicy }} command: [ "/bin/sh", "-ce", "/usr/bin/docker-entrypoint.sh minio server {{- range $i := until $poolCount }}{{ $factor := mul $i $nodeCount }}{{ $endIndex := add $factor $nodeCount }}{{ $beginIndex := mul $i $nodeCount }} {{ $scheme }}://{{ template `minio.fullname` $ }}-{{ `{` }}{{ $beginIndex }}...{{ sub $endIndex 1 }}{{ `}`}}.{{ template `minio.fullname` $ }}-svc.{{ $.Release.Namespace }}.svc.{{ $.Values.clusterDomain }}{{if (gt $drivesPerNode 1)}}{{ $bucketRoot }}-{{ `{` }}0...{{...
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Apr 28 10:14:37 UTC 2024 - 21.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
static int CalculateEndIndex(const T& begin, const T& end, const IncrementT& step) { int end_index = 0; for (T i = begin; i < end; i = i + step) end_index++; return end_index; } // No implementation - assignment is unsupported. void operator=(const RangeGenerator& other); const T begin_; const T end_;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0) -
src/encoding/base32/base32_test.go
t.Errorf("Expected %s got %s; Encoding %d", pair.decoded, decReader, encIndex) } } } } func TestDecodeSmallBuffer(t *testing.T) { encodings := []*Encoding{ StdEncoding, StdEncoding.WithPadding(NoPadding), } for bufferSize := 1; bufferSize < 200; bufferSize++ { for _, pair := range pairs { for encIndex, encoding := range encodings { encoded := pair.encoded
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 26K bytes - Viewed (0)