- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 572 for adjust (0.05 sec)
-
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
// Test duplicate unregistration assertFalse(mockService.unregisterWitness(regId)); } @Test void testMockServiceNotifications() { // Test notification sending (just logs for mock) mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource"); // Register a witness first String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
* process it; all should produce the same answer, the only difference should be the number of * process()/processRemaining() invocations, due to alignment. */ @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android. public void testExhaustive() throws Exception { Random random = new Random(0); // will iteratively make more debuggable, each time it breaks
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the * initial exception_, no matter which thread does the work. This ensures that * seenExceptionsField always contains not just the current thread's exception but also the * initial thread's. */ Set<Throwable> seenExceptionsLocal = seenExceptionsField; if (seenExceptionsLocal == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
*/ @ExtendWith(MockitoExtension.class) public class SmbResourceLocatorTest { /** * A very small concrete implementation used only by the tests. It parses * the URL string and performs minimal validation – just enough to make the * happy-path expectations deterministic. */ private static class DummySmbResourceLocator implements SmbResourceLocator { private final String urlStr; private final String host;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
if numVersions != nil { fis[i].NumVersions = numVersions[i] } quorum-- if quorum == 0 { break } } return fis } commonSuccModTime := time.Date(2023, time.August, 25, 0, 0, 0, 0, time.UTC) succModTimesInQuorum := make([]time.Time, 16) succModTimesNoQuorum := make([]time.Time, 16) commonNumVersions := 2 numVersionsInQuorum := make([]int, 16)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
} } /** * Moves a file from one path to another. This method can rename a file and/or move it to a * different directory. In either case {@code to} must be the target path for the file itself; not * just the new name for the file or the path to the new parent directory. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#move}. * * @param from the source file
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
.putShort((short) 0x0100) .putShort((short) 0x0000) .putShort((short) 0x0000); assertEquals(hashCode, hasher.hash().asLong()); } public void testHashFloatIsStable() { // Just a spot check. Better than nothing. Hasher hasher = HASH_FN.newHasher(); hasher.putFloat(0x01000101f).putFloat(0f); assertEquals(0x49f9d18ee8ae1b28L, hasher.hash().asLong()); hasher = HASH_FN.newHasher();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE); assertNotNull(decrypted); // With dummy data, we can't verify the content, just that it decrypts without error // and returns a result of the expected size. assertEquals(data.length - 24, decrypted.length); } /** * Test decrypt with an unsupported encryption type.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* finalizable references could be enqueued subsequently (at which point the class loader * would be resurrected by virtue of us having a strong reference to it), we should pretty * much just shut down and make sure we don't keep it alive any longer than necessary. */ return null; } try { return finalizableReferenceClass.getMethod("finalizeReferent");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 9.3K bytes - Viewed (0)