- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 211 for refcount (0.9 sec)
-
internal/bucket/lifecycle/and.go
// ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_LifecycleRuleAndOperator.html // i.e, predCount >= 2 var predCount int if a.Prefix.set { predCount++ } predCount += len(a.Tags) if a.ObjectSizeGreaterThan > 0 { predCount++ } if a.ObjectSizeLessThan > 0 { predCount++ } if predCount < 2 { return errXMLNotWellFormed } if a.ContainsDuplicateTag() { return errDuplicateTagKey
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java
assertEquals(written, out.size()); assertEquals(written, counter.getCount()); counter.write(0); written += 1; assertEquals(written, out.size()); assertEquals(written, counter.getCount()); byte[] data = new byte[10]; counter.write(data); written += 10; assertEquals(written, out.size()); assertEquals(written, counter.getCount()); counter.write(data, 0, 5); written += 5;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
lock(); try { long now = map.ticker.read(); preWriteCleanup(now); int newCount = this.count + 1; if (newCount > this.threshold) { // ensure capacity expand(); newCount = this.count + 1; } AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table; int index = hash & (table.length() - 1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
pkg/scheduler/util/utils_test.go
client: func() *clientsetfake.Clientset { client := clientsetfake.NewSimpleClientset() reqcount := 0 client.PrependReactor("patch", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) { defer func() { reqcount++ }() if reqcount == 0 { // return an connection refused error for the first patch request.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 14.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertThat(removalListener.getCount()).isEqualTo(1); // 2 will be cached assertThat(cache.getUnchecked(2)).isEqualTo(2); assertThat(cache.asMap().keySet()).containsExactly(2); CacheTesting.processPendingNotifications(cache); CacheTesting.checkValidState(cache); assertThat(removalListener.getCount()).isEqualTo(1); // 4 will be cached
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 14.9K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/transfer/AccessorBackedExternalResource.java
count += instr.getCount(); } instr = new CountingInputStream(source.open()); return instr; } @Override public long getContentLength() { return source.getContentLength(); } public long getCount() { return instr != null ? count + instr.getCount() : count; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 6.9K bytes - Viewed (0) -
cmd/api-utils.go
func s3URLEncode(s string) string { spaceCount, hexCount := 0, 0 for i := 0; i < len(s); i++ { c := s[i] if shouldEscape(c) { if c == ' ' { spaceCount++ } else { hexCount++ } } } if spaceCount == 0 && hexCount == 0 { return s } var buf [64]byte var t []byte required := len(s) + 2*hexCount if required <= len(buf) { t = buf[:required] } else {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate // thread because the task will block on the task latch after unblocking // the run latch. exec.execute(task); runLatch.await(); assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
this.offset = offset; this.length = length; } private int getCount(int index) { return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]); } @Override Entry<E> getEntry(int index) { return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index)); } @Override @CheckForNull public Entry<E> firstEntry() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/link/internal/sym/segment.go
Elfsect interface{} // an *ld.ElfShdr Reloff uint64 Rellen uint64 // Relcount is the number of *host* relocations applied to this section // (when external linking). // Incremented atomically on multiple goroutines. // Note: this may differ from number of Go relocations, as one Go relocation // may turn into multiple host relocations. Relcount uint32 Sym LoaderSym // symbol for the section, if any
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 16 05:32:52 UTC 2022 - 2.7K bytes - Viewed (0)