- Sort Score
- Num 10 results
- Language All
Results 2811 - 2820 of 3,163 for rint (0.02 seconds)
-
guava/src/com/google/common/collect/ImmutableBiMap.java
* but not exactly, the number of entries added to the builder. * * @since 23.1 */ public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
src/archive/tar/tar_test.go
// testFile is an io.ReadWriteSeeker where the IO operations performed // on it must match the list of operations in ops. type testFile struct { ops fileOps pos int64 } func (f *testFile) Read(b []byte) (int, error) { if len(b) == 0 { return 0, nil } if len(f.ops) == 0 { return 0, io.EOF } s, ok := f.ops[0].(string) if !ok { return 0, errors.New("unexpected Read operation") }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj; return function.equals(that.function) && supplier.equals(that.supplier); } return false; } @Override public int hashCode() { return Objects.hash(function, supplier); } @Override public String toString() { return "Suppliers.compose(" + function + ", " + supplier + ")"; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
this.parent = parent; } /** * Returns the number of key-value mappings in this map. * * @return the number of key-value mappings in this map */ @Override public int size() { return parent.size(); } /** * Returns true if this map contains no key-value mappings. * * @return true if this map contains no key-value mappings */ @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java
tasks.register("serveDocs", ServeDocs.class, task -> { task.setDescription("Runs a local webserver to serve generated documentation."); task.setGroup("documentation"); int webserverPort = 8000; task.getJavaLauncher().set( task.getProject().getExtensions().getByType(JavaToolchainService.class)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 19 17:06:32 GMT 2026 - 7.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
this.unit = unit; } public static DurationSpec of(long duration, TimeUnit unit) { return new DurationSpec(duration, unit); } @Override public int hashCode() { return Objects.hash(duration, unit); } @Override public boolean equals(@Nullable Object o) { if (o instanceof DurationSpec) { DurationSpec that = (DurationSpec) o;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
thread1.callAndAssertReturns(leave()); checkSystemStateMethods(1); thread1.callAndAssertReturns(leave()); checkSystemStateMethods(0); } private void checkSystemStateMethods(int enterCount) throws Exception { thread1.callAndAssertReturns(enterCount != 0, "isOccupied"); thread1.callAndAssertReturns(enterCount != 0, "isOccupiedByCurrentThread");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
@Override public Iterator<E> iterator() { // We explicitly don't lock for iterator() assertFalse(Thread.holdsLock(mutex)); return delegate.iterator(); } @Override public int size() { assertTrue(Thread.holdsLock(mutex)); return delegate.size(); } @Override public boolean removeAll(Collection<?> collection) { assertTrue(Thread.holdsLock(mutex));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertEquals(10000, nic.getLinkSpeed()); assertTrue(nic.isRssCapable()); assertFalse(nic.isRdmaCapable()); assertEquals(address, nic.getAddress()); // Test scoring int score = nic.getScore(); assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus) // Test encoding/decoding byte[] encoded = nic.encode(); assertNotNull(encoded);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
cmd/generic-handlers_test.go
{header: generateHeader(0, 1024), shouldFail: false}, {header: generateHeader(0, 2048), shouldFail: true}, {header: generateHeader(0, 2048+1), shouldFail: true}, } func generateHeader(size, usersize int) http.Header { header := http.Header{} for i := range size { header.Set(strconv.Itoa(i), "") } userlength := 0 for i := 0; userlength < usersize; i++ {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0)