- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 2,219 for rint (0.34 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
} @CollectionFeature.Require(SUPPORTS_ADD) public void testAddMeansAddOne() { int originalCount = getMultiset().count(e0()); assertTrue(getMultiset().add(e0())); assertEquals(originalCount + 1, getMultiset().count(e0())); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddOccurrencesZero() { int originalCount = getMultiset().count(e0());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
public void testToImmutableSortedSet_duplicates() { class TypeWithDuplicates implements Comparable<TypeWithDuplicates> { final int a; final int b; TypeWithDuplicates(int a, int b) { this.a = a; this.b = b; } @Override public int compareTo(TypeWithDuplicates o) { return Integer.compare(a, o.a); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
} @GwtIncompatible // concurrency public void testConcurrentAutoIncrementStep() throws Exception { int incrementByNanos = 3; FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS); int numberOfThreads = 64; runConcurrentTest( numberOfThreads, () -> { long unused = ticker.read(); return null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
} @Test void testScoring() { channelInfo.setState(ChannelState.ESTABLISHED); int baseScore = channelInfo.getScore(); assertTrue(baseScore > 0); // Active channel should have lower score (busy penalty) channelInfo.setState(ChannelState.ACTIVE); int activeScore = channelInfo.getScore(); assertTrue(activeScore < baseScore);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt
.plus(Boolean::class, true) .plus(String::class, "b") assertThat(tags[String::class]).isEqualTo("b") assertThat(tags.toString()) .isEqualTo("{class kotlin.Int=5, class kotlin.Boolean=true, class kotlin.String=b}") } /** The implementation retains only the first node from the original linked list. */ @Test fun replaceMiddleElement() { val tags = EmptyTags
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 7.1K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status* s) { unwrap(o)->expected_num_outputs = num_outputs; unwrap(o)->outputs.clear(); unwrap(o)->outputs.resize(num_outputs); } int TF_OutputListNumOutputs(TF_OutputList* o) { return unwrap(o)->outputs.size(); } TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i) { return wrap(unwrap(o)->outputs[i]); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
private int testContextMaxChars = 50000; private String chatResponseContent; private String lastChatPrompt; private LlmChatRequest lastChatRequest; private StreamChatCapture streamChatCapture; private int testIntentHistoryMaxMessages = 6; private int testIntentHistoryMaxChars = 3000; private int testHistoryMaxChars = 4000;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
input = Arrays.copyOf(input, input.length); UnsignedLongs.sort(input); assertThat(input).isEqualTo(expected); } static void testSort(long[] input, int from, int to, long[] expected) { input = Arrays.copyOf(input, input.length); UnsignedLongs.sort(input, from, to); assertThat(input).isEqualTo(expected); } public void testSortIndexed() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
threadPool.shutdown(); assertTrue("Some worker didn't finish in time", threadPool.awaitTermination(10, SECONDS)); } private static <T> int drain( BlockingQueue<T> q, Collection<? super T> buffer, int numElements, long timeout, TimeUnit unit, boolean interruptibly) throws InterruptedException { return interruptibly
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratorTask.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 3.8K bytes - Click Count (0)