- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 3,016 for jest (0.02 sec)
-
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} catch (final UnknownHostException uhe) { /* * Java cannot determine the localhost. This is basically a config * issue on the host. There's not much we can do about it. Just * to suppress NPEs that would result we can create a possibly bogus * address. Pretty sure the below cannot actually thrown a UHE tho. */ try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
assertEquals(16, guid1.toBytes().length); // Test round-trip HandleGuid guid3 = new HandleGuid(guid1.toBytes()); assertEquals(guid1, guid3); } @Test public void testHandleInfoExpiration() { HandleInfo info = new HandleInfo( "/test/file.txt", new HandleGuid(), new byte[16], HandleType.DURABLE_V2,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
* match additional prefixes (`us-west.www.publicobject.com`) or suffixes (`publicobject.com`). * * * **Any number of subdomains**: Use two asterisks to like `**.publicobject.com` to match any * number of prefixes (`us-west.www.publicobject.com`, `www.publicobject.com`) including no * prefix at all (`publicobject.com`). For most applications this is the best way to configure * certificate pinning. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
long addressAsLong = 0; if (hasEmbeddedIPv4ClientAddress(ip6)) { addressAsLong = getEmbeddedIPv4ClientAddress(ip6).hashCode(); } else { // Just extract the high 64 bits (assuming the rest is user-modifiable). addressAsLong = ByteBuffer.wrap(ip6.getAddress(), 0, 8).getLong(); } // Many strategies for hashing are possible. This might suffice for now.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
pom.xml
<activeByDefault>true</activeByDefault> </activation> <properties> <test.include.path>**/*Test.java</test.include.path> <test.command.args>--illegal-access=permit</test.command.args> </properties> </profile> <profile> <id>integrationTests</id> <properties> <test.include.path>**/*Tests.java</test.include.path> <test.command.args /> </properties> </profile> </profiles> <build>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Sep 04 05:22:58 UTC 2025 - 49.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
*/ public static HashFunction concatenating( HashFunction first, HashFunction second, HashFunction... rest) { // We can't use Lists.asList() here because there's no hash->collect dependency List<HashFunction> list = new ArrayList<>(); list.add(first); list.add(second); Collections.addAll(list, rest); return new ConcatenatedHashFunction(list.toArray(new HashFunction[0])); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
dest.exists(); if (!Objects.equals(getServerWithDfs(), dest.getServerWithDfs()) || !Objects.equals(getShare(), dest.getShare())) { throw new SmbException("Cannot rename between different trees"); } } if (log.isDebugEnabled()) { log.debug("renameTo: " + getUncPath() + " -> " + dest.getUncPath()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
} } ``` ## 8. Testing Strategy ### 8.1 Unit Tests ```java package jcifs.tests.smb3; import org.junit.Test; import static org.junit.Assert.*; public class LeaseTest { @Test public void testLeaseKeyGeneration() { Smb2LeaseKey key1 = new Smb2LeaseKey(); Smb2LeaseKey key2 = new Smb2LeaseKey();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
} /** * Test that response caching is consistent with the RI and the spec. * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4 */ @Test fun responseCachingByResponseCode() { // Test each documented HTTP/1.1 code, plus the first unused value in each range. // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html // We can't test 100 because it's not really a response.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
tests/migrate_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0)