- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 376 for address (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt
import okhttp3.Dns /** * A network that always resolves two IP addresses per host. Use this when testing route selection * fallbacks to guarantee that a fallback address is available. */ class DoubleInetAddressDns : Dns { override fun lookup(hostname: String): List<InetAddress> { val addresses = Dns.SYSTEM.lookup(hostname) return listOf(addresses[0], addresses[0]) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmChallenge.java
/** * Challenge */ public byte[] challenge; /** * Server address */ public UniAddress dc; /** * Creates a new NTLM challenge with the specified parameters. * @param challenge the NTLM challenge bytes * @param dc the domain controller address */ public NtlmChallenge(final byte[] challenge, final UniAddress dc) { this.challenge = challenge;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
.build(), ) val response = call.execute() assertThat(response.code).isEqualTo(200) response.body.close() val address = client.dns.lookup(server.hostName)[0] val expectedAddress = InetSocketAddress(address, server.port) val connectStart = eventRecorder.removeUpToEvent<ConnectStart>() assertThat(connectStart.call).isSameAs(call)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
import okhttp3.internal.connection.RoutePlanner.ConnectResult import okhttp3.internal.connection.RoutePlanner.Plan import okhttp3.internal.okHttpName /** * Speculatively connects to each IP address of a target address, returning as soon as one of them * connects successfully. This kicks off new attempts every 250 ms until a connect succeeds. */ internal class FastFallbackExchangeFinder( override val routePlanner: RoutePlanner,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
* * Implementations of this interface are not thread-safe. Each instance is thread-confined to the * thread executing the call. */ interface RoutePlanner { val address: Address /** Follow-ups for failed plans and plans that lost a race. */ val deferredPlans: ArrayDeque<Plan> fun isCanceled(): Boolean /** Returns a plan to attempt. */ @Throws(IOException::class)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 4.2K bytes - Viewed (0) -
.ci/init.gradle
new VaultConfig() .address(System.env.VAULT_ADDR) .engineVersion(1) .build() ) .withRetries(5, 1000) .auth() .loginByAppRole("approle", System.env.VAULT_ROLE_ID, System.env.VAULT_SECRET_ID) .getAuthClientToken() final Vault vault = new Vault( new VaultConfig() .address(System.env.VAULT_ADDR) .engineVersion(1) .token(vaultToken)
Registered: Sun Dec 21 06:47:06 UTC 2025 - Last Modified: Wed Nov 13 10:14:04 UTC 2019 - 3K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
// Invalid address ignored } } value = props.getProperty("jcifs.netbios.laddr"); if (value != null) { try { this.netbiosLocalAddress = InetAddress.getByName(value); } catch (UnknownHostException e) { // Invalid address ignored } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
private final Object group; // RdmaActiveEndpointGroup<DisniRdmaEndpoint> /** * Create new DiSNI RDMA connection * * @param remote remote socket address * @param local local socket address * @param group DiSNI endpoint group * @throws IOException if connection creation fails */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
AtomicLong totalTime = new AtomicLong(0); AtomicInteger successCount = new AtomicInteger(0); List<Exception> exceptions = new ArrayList<>(); // Mock address for testing Address mockAddress = Mockito.mock(Address.class); Mockito.when(mockAddress.getHostAddress()).thenReturn("127.0.0.1"); // Start timing long overallStart = System.nanoTime();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
this.endpoint = (InetSocketAddress) endpoint; UnixSocketAddress address = new UnixSocketAddress(path); serverSocketChannel = UnixServerSocketChannel.open(); serverSocketChannel.configureBlocking(true); serverSocketChannel.socket().bind(address); } @Override public int getLocalPort() { return 1; // A white lie. There is no local port. }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 3.1K bytes - Viewed (0)