- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,246 for tcount (0.07 seconds)
-
src/bytes/bytes.go
// Repeat returns a new byte slice consisting of count copies of b. // // It panics if count is negative or if the result of (len(b) * count) // overflows. func Repeat(b []byte, count int) []byte { if count == 0 { return []byte{} } // Since we cannot return an error on overflow, // we should panic if the repeat will generate an overflow. // See golang.org/issue/16237. if count < 0 {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
internal/lock/lock_test.go
if err != nil { t.Fatal(err) } isClosed := rlk.IsClosed() if isClosed { t.Fatal("File ref count shouldn't be zero") } // Increase reference count to 2. rlk.IncLockRef() isClosed = rlk.IsClosed() if isClosed { t.Fatal("File ref count shouldn't be zero") } // Decrease reference count by 1. if err = rlk.Close(); err != nil { t.Fatal(err) } isClosed = rlk.IsClosed()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
* This constructor is here to implement cloneability of this class. */ private MD4(final MD4 md) { this(); context = md.context.clone(); buffer = md.buffer.clone(); count = md.count; } // Cloneable method implementation //........................................................................... /** * Returns a copy of this MD object. */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
return Multisets.setCountImpl(this, element, count); } /** * A sensible definition of {@link #setCount(Object, int, int)} in terms of {@link #count(Object)} * and {@link #setCount(Object, int)}. If you override either of these methods, you may wish to * override {@link #setCount(Object, int, int)} to forward to this implementation. * * @since 7.0 */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
return value; } }); } assertThat(segment.count).isEqualTo(count); assertThat(count).isAtMost(segment.threshold); assertThat(count).isAtMost((segment.table.length() * 3 / 4)); assertThat(count).isGreaterThan(segment.table.length() * 3 / 8); } } @SuppressWarnings("TruthGetOrDefault") // We are testing our implementation of getOrDefault.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
return value; } }); } assertThat(segment.count).isEqualTo(count); assertThat(count).isAtMost(segment.threshold); assertThat(count).isAtMost((segment.table.length() * 3 / 4)); assertThat(count).isGreaterThan(segment.table.length() * 3 / 8); } } @SuppressWarnings("TruthGetOrDefault") // We are testing our implementation of getOrDefault.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
cmd/erasure-healing-common.go
latest := int64(0) // Find the common cardinality from previously collected // occurrences of elements. for nano, count := range timeOccurrenceMap { if count < maxima { continue } // We are at or above maxima if count > maxima || nano > latest { maxima = count latest = nano } } // Return the collected common max time, with maxima return time.Unix(0, latest).UTC(), maxima
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set"); assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg"); assertEquals(len, getFieldValue(write, "count"), "Count should equal len"); } /** * Test setParam method updates the write parameters */ @Test public void testSetParam() { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
protected static void waitJob(final String namePrefix) { Boolean isRunning = false; int count = 0; long sleepTime = 50; // Start with 50ms // Wait until the crawler starts (with exponential backoff) while (count < 1500 && !isRunning) { ThreadUtil.sleep(sleepTime); count++; final Map<String, Object> scheduler = getSchedulerItem(namePrefix);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
// The JVM will return interned values for small ints. Integer value = random.nextInt(1000) + 128; int count = min(random.nextInt(10) + 1, sizeRemaining); sizeRemaining -= count; hashMultiset.add(value, count); linkedHashMultiset.add(value, count); treeMultiset.add(value, count); } // TODO(kevinb): convert to assert once benchmark tests enable asserts by defaultCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0)