- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 2,967 for rint (0.19 sec)
-
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (int toRemove = 0; toRemove < 10; toRemove++) { assertEquals( contents.contains(toRemove) && EVEN.apply(toRemove), filter(createUnfiltered(contents), EVEN).remove(toRemove)); } } } public void testContains() { for (List<Integer> contents : SAMPLE_INPUTS) { for (int i = 0; i < 10; i++) { assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
} final class Splitr extends MapWithIndexSpliterator<Spliterator.OfInt, R, Splitr> implements IntConsumer { int holder; Splitr(Spliterator.OfInt splitr, long index) { super(splitr, index); } @Override public void accept(int t) { this.holder = t; } @Override public boolean tryAdvance(Consumer<? super R> action) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return (List<V>) getDelegate(); } @Override public boolean addAll(int index, Collection<? extends V> c) { if (c.isEmpty()) { return false; } int oldSize = size(); // calls refreshIfEmpty boolean changed = getListDelegate().addAll(index, c); if (changed) { int newSize = getDelegate().size(); totalSize += newSize - oldSize; if (oldSize == 0) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
Arguments.of(0x00001234, NtStatus.NT_STATUS_UNSUCCESSFUL)); } @ParameterizedTest @MethodSource("intErrorCodes") @DisplayName("int ctor: sets message and NT status as expected") void intConstructor_populatesMessageAndStatus(int errCode, int expectedStatus) { // Arrange & Act: create exception with error code SmbAuthException ex = new SmbAuthException(errCode);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
@get:JvmName("size") val size: Int get() = encodedNames.size @JvmName("-deprecated_size") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "size"), level = DeprecationLevel.ERROR, ) fun size(): Int = size fun encodedName(index: Int): String = encodedNames[index] fun name(index: Int): String = encodedName(index).percentDecode(plusIsSpace = true)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ModifierUtil.java
public static boolean isPublicStaticFinal(final int modifier) { return isPublic(modifier) && isStatic(modifier) && isFinal(modifier); } /** * Checks if the specified modifier is public. * * @param modifier * the modifier to check * @return true if public, false otherwise */ public static boolean isPublic(final int modifier) { return Modifier.isPublic(modifier);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileAuthenticationBhv.java
doDelete(entity, null); } public int queryDelete(CBCall<FileAuthenticationCB> cbLambda) { return doQueryDelete(createCB(cbLambda), null); } public int[] batchInsert(List<FileAuthentication> list) { return batchInsert(list, null, null); } public int[] batchInsert(List<FileAuthentication> list, RequestOptionCall<BulkRequestBuilder> call) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} public void testAdd_firstFewWithSuccess() { int COUNT = 400; when(backingMap.get(KEY)).thenReturn(null); when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(null); assertEquals(0, multiset.add(KEY, COUNT)); } public void testAdd_laterFewWithSuccess() { int INITIAL_COUNT = 32; int COUNT_TO_ADD = 400;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 16.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
public void testOpen() { Range<Integer> range = Range.open(4, 8); checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(4, (int) range.lowerEndpoint()); assertEquals(OPEN, range.lowerBoundType()); assertTrue(range.hasUpperBound()); assertEquals(8, (int) range.upperEndpoint()); assertEquals(OPEN, range.upperBoundType()); assertFalse(range.isEmpty()); assertEquals("(4..8)", range.toString());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0)