- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for getOne (0.03 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
.build() @BeforeEach fun setUp() { server.protocols = bootstrapClient.protocols dns = buildLocalhost(bootstrapClient, false) } @Test fun getOne() { server.enqueue( dnsResponse( "0000818000010003000000000567726170680866616365626f6f6b03636f6d0000010001c00c000500010" +
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
/** Unit tests for {@link Futures#getDone}. */ @GwtCompatible @NullUnmarked public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); } public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(immediateVoidFuture())).isEqualTo(null); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
assertEquals(123, Config.getInt(testProperties, "test.int", 0)); assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456)); assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789)); } @Test @DisplayName("Should get integer property") void testGetInt() { assertEquals(123, Config.getInt(testProperties, "test.int"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
InetAddress LADDR = Config.getLocalHost(); /** Local port to bind to */ int LPORT = Config.getInt("jcifs.smb1.smb.client.lport", 0); /** Maximum multiplex count */ int MAX_MPX_COUNT = Config.getInt("jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT); /** Send buffer size in bytes */ int SND_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.snd_buf_size", DEFAULT_SND_BUF_SIZE); /** Receive buffer size in bytes */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 13:51:27 UTC 2025 - 96.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static com.google.common.util.concurrent.Callables.returning; import static com.google.common.util.concurrent.Futures.getDone; import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
this.closed = false; } boolean isAlive() { return resourceRef.get() != null && !closed; } long getAge() { return System.currentTimeMillis() - creationTime; } } private ResourceManager() { ThreadFactory threadFactory = r -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static com.google.common.util.concurrent.Futures.allAsList; import static com.google.common.util.concurrent.Futures.getDone; import static com.google.common.util.concurrent.Futures.immediateVoidFuture; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.util.concurrent.Executors.newCachedThreadPool;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
assertEquals(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO, infoLevel.getInt(resp)); // Verify subCommand is set correctly Field subCmd = SmbComTransactionResponse.class.getDeclaredField("subCommand"); subCmd.setAccessible(true); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, subCmd.getInt(resp)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* * @param key the environment variable key * @return the environment variable value, or null if not found */ public static String getEnv(String key) { return System.getenv(key); } /** * Returns the system environment variable value for the specified key, or the default value if not found. * * @param key the environment variable keyRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0)