- Sort Score
- Result 10 results
- Languages All
Results 2211 - 2220 of 2,300 for _values (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
val sink = fileSystem.sink(directory.div(file)).buffer() sink.writeUtf8(content) sink.close() } /** * @param delta the offset from the current date to use. Negative values yield dates in the past; * positive values yield dates in the future. */ private fun formatDate( delta: Long, timeUnit: TimeUnit, ): String = formatDate(Date(System.currentTimeMillis() + timeUnit.toMillis(delta)))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
uniqueCounters.add(bytesToHex(counter)); } // All nonces should be unique (high entropy from SecureRandom) assertEquals(sampleSize, uniqueCounters.size(), "All nonces should have unique values"); // Verify that nonces have good entropy (not predictable) // With SecureRandom + counter XOR, they should all be different Set<String> uniqueNonces = new HashSet<>();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} @Test @DisplayName("Should sign data correctly with zero signature field") void testSignZeroesSignatureField() { // Fill signature field with non-zero values for (int i = 0; i < SIGNATURE_LENGTH; i++) { data[SIGNATURE_OFFSET + i] = (byte) 0xFF; } digest.sign(data, 0, data.length, request, response);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
assertEquals(544, sid.sub_authority[1]); assertEquals(adminSidString, sid.toString()); } /** * Test constructor with a SID string containing a hex value. * * @throws SmbException if the SID string is invalid */ @Test void testStringConstructorWithHex() throws SmbException { SID sid = new SID("S-1-0x12-21-1");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertArrayEquals(expectedName, actualName); verify(response, times(1)).getName(); } @Test @DisplayName("getName() should handle null return value") void testGetNameWithNull() { CreateContextResponse response = mock(CreateContextResponse.class); when(response.getName()).thenReturn(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
: new SmbFileHandleImpl(cfg, 33, tC, "//eq/c", 0, 0, 0, 0, 0L); assertNotEquals(hA, hC); } @Test @DisplayName("getInitialSize returns constructor value") void getInitialSize_returnsValue() { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(1L, true, true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertSame(handle, out); verify(treeConnection, times(2)).acquire(); // constructor + here } @Test @DisplayName("getRemoteHostName returns transport value and closes resources") void getRemoteHostNameHappyPath() { // Ensures remote host name is sourced from transport and resources are closed when(transport.getRemoteHostName()).thenReturn("remote.example");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
return; } fail("Should get not equal to equal object error"); } /** * Test for an invalid hashCode method, i.e., one that returns different value for objects that * are equal according to the equals method */ public void testInvalidHashCode() { Object a = new InvalidHashCodeObject(1, 2); Object b = new InvalidHashCodeObject(1, 2);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
@Override public Adder apply(Adder adder) { return new FailsToForwardReturnValue(adder); } }, "add(", "Return value"); } public void testFailsToPropagateException() { assertFailure( Adder.class, new Function<Adder, Adder>() { @Override public Adder apply(Adder adder) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
for (Entry<Object, Object> entry : result.entrySet()) { Object key = entry.getKey(); Object value = entry.getValue(); assertThat(result.get(key)).isSameInstanceAs(value); assertThat(result.get(value)).isNull(); assertThat(cache.asMap().get(key)).isSameInstanceAs(value); assertThat(cache.asMap().get(value)).isSameInstanceAs(key); } } public void testBulkLoad_clobber() throws ExecutionException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0)