- Sort Score
- Num 10 results
- Language All
Results 1351 - 1360 of 3,128 for rint (0.62 seconds)
-
src/main/java/jcifs/smb1/https/Handler.java
*/ public static final int DEFAULT_HTTPS_PORT = 443; /** * Default constructor for SMB1 HTTPS URL handler. */ public Handler() { } /** * Returns the default HTTPS port. * * @return An <code>int</code> containing the default HTTPS port. */ @Override protected int getDefaultPort() { return DEFAULT_HTTPS_PORT; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
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/jcifs/internal/smb2/RequestWithFileIdTest.java
// Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); int threadCount = 10; Thread[] threads = new Thread[threadCount]; // When - multiple threads call setFileId concurrently for (int i = 0; i < threadCount; i++) { final int index = i; threads[i] = new Thread(() -> { byte[] threadFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
fastapi/encoders.py
# Adapted from Pydantic v1 # TODO: pv2 should this return strings instead? def decimal_encoder(dec_value: Decimal) -> int | float: """ Encodes a Decimal as int if there's no exponent, otherwise float This is useful when we use ConstrainedDecimal to represent Numeric(x,0) where an integer (but not int typed) is used. Encoding this as a float results in failed round-tripping between encode and parse.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.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)