- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 517 for addTests (0.25 sec)
-
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry(final Name hostName, final NbtAddress address, final long expiration) { this.hostName = hostName; this.address = address; this.expiration = expiration; } } /** * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
// Arrange String hostname = "testHostname"; boolean possibleNTDomainOrWorkgroup = true; Address[] expectedAddresses = { mock(Address.class) }; when(nameServiceClient.getAllByName(hostname, possibleNTDomainOrWorkgroup)).thenReturn(expectedAddresses); // Act Address[] actualAddresses = nameServiceClient.getAllByName(hostname, possibleNTDomainOrWorkgroup); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@Mock private Address address; private SmbTransportImpl transport; @BeforeEach void setUp() throws Exception { when(ctx.getConfig()).thenReturn(cfg); when(cfg.isSigningEnforced()).thenReturn(false); when(cfg.getSessionTimeout()).thenReturn(30_000); when(cfg.getResponseTimeout()).thenReturn(5_000); when(address.getHostAddress()).thenReturn("127.0.0.1");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
deferredPlans.isNotEmpty() || nextPlanIndex < plans.size || autoGeneratePlans override fun sameHostAndPort(url: HttpUrl): Boolean = url.host == address.url.host && url.port == address.url.port override fun close() { factory.close() } inner class FakePlan( val id: Int, ) : RoutePlanner.Plan { var planningThrowable: Throwable? = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (0) -
tests/preload_test.go
Country: nil, }, AddressID: org.AddressID, Address: org.Address, NestedAddress: NestedAddress{EmbeddedAddress{ ID: org.NestedAddress.ID, Name: org.NestedAddress.Name, CountryID: org.NestedAddress.CountryID, Country: nil, }}, }, }, { name: "postal address country", preloads: map[string][]interface{}{"PostalAddress.Country": {}},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosConstants.java
String KERBEROS_VERSION = "5"; /** Kerberos AP-REQ message type */ String KERBEROS_AP_REQ = "14"; /** Address family: Internet (IPv4) */ int AF_INTERNET = 2; /** Address family: CHANET */ int AF_CHANET = 5; /** Address family: XNS */ int AF_XNS = 6; /** Address family: ISO */ int AF_ISO = 7; /** Authorization data type: Relevant */ int AUTH_DATA_RELEVANT = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
public static class WitnessIPAddress { private final InetAddress address; private final int flags; public static final int IPV4 = 0x01; public static final int IPV6 = 0x02; public WitnessIPAddress(InetAddress address) { this.address = address; this.flags = address.getAddress().length == 4 ? IPV4 : IPV6; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} } registrations.clear(); log.info("Mock witness service stopped"); } /** * Get the address the service is listening on * * @return the service address * @throws IOException if address cannot be determined */ public InetAddress getAddress() throws IOException { if (serverSocket == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
for (challenge in challenges) { if (!"Basic".equals(challenge.scheme, ignoreCase = true)) { continue } val dns = route?.address?.dns ?: defaultDns val auth = if (proxyAuthorization) { val proxyAddress = proxy.address() as InetSocketAddress Authenticator.requestPasswordAuthentication( proxyAddress.hostName, proxy.connectToInetAddress(url, dns),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0)