- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 975 for second (0.03 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
request = new Smb2CreateRequest(mockConfig, "initial\\path.txt"); assertEquals("\\initial\\path.txt", request.getPath()); request.setPath("\\second\\path.txt"); assertEquals("\\second\\path.txt", request.getPath()); request.setPath("third\\path\\"); assertEquals("\\third\\path", request.getPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException") void testBinaryConstructorInvalidCount() { // Arrange: second byte is sub_authority_count > 100 byte[] bytes = new byte[1 + 1 + 6]; bytes[0] = 1; // revision bytes[1] = (byte) 101; // invalid count // Act + Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
tests/lru_test.go
t.Errorf("Expected key1 to exist, but it was evicted") } } func TestLRU_Add_Eviction(t *testing.T) { lru := lru.NewLRU[string, int](0, nil, time.Second*2) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3) time.Sleep(time.Second * 3) if lru.Cap() != 0 { t.Errorf("Expected lru to be empty, but it was not") } } func BenchmarkLRU_Rand_NoExpire(b *testing.B) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
// When & Then assertTrue(negotiationRequest.isSigningEnforced(), "First call should return true"); assertFalse(negotiationRequest.isSigningEnforced(), "Second call should return false"); assertTrue(negotiationRequest.isSigningEnforced(), "Third call should return true"); verify(negotiationRequest, times(3)).isSigningEnforced(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first"); assertEquals((byte) 0x00, bufferData[startIndex + alignmentBytes + 1], "Most significant byte should be second"); } /** * When given a buffer with sufficient length, decode performs * the inverse of encode. */ @Test void decodeFromEncodedBuffer() throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
cmd/admin-server-info.go
// Only proceed for local endpoints network[nodeName] = string(madmin.ItemOnline) continue } _, present := network[nodeName] if !present { if err := isServerResolvable(endpoint, 5*time.Second); err == nil { network[nodeName] = string(madmin.ItemOnline) } else { if xnet.IsNetworkOrHostDown(err, false) { network[nodeName] = string(madmin.ItemOffline)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (1) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_USER; names.names[0].name = new UnicodeString("alice", false); names.names[0].sid_index = 0; // Second is a domain group names.names[1] = new lsarpc.LsarTranslatedName(); names.names[1].sid_type = (short) jcifs.SID.SID_TYPE_DOM_GRP; names.names[1].name = new UnicodeString("Domain Users", false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
notification.readBytesWireFormat(buffer1, 0); // Second read with different values byte[] fileId2 = new byte[16]; Arrays.fill(fileId2, (byte) 0x99); byte[] buffer2 = createValidOplockBreakBuffer((byte) 0x08, fileId2); notification.readBytesWireFormat(buffer2, 0); // Verify second read overwrote first read values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* {@code key} (or zero, if there is none) is passed as the first argument to {@code * accumulatorFunction}, and {@code x} is passed as the second argument. * * @since 21.0 */ @CanIgnoreReturnValue public long accumulateAndGet(K key, long x, LongBinaryOperator accumulatorFunction) { checkNotNull(accumulatorFunction);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.7K bytes - Viewed (0) -
cmd/common-main.go
bootLogIf(GlobalContext, err, logger.ErrorKind) } } secureConn = true // Certs might be symlinks, reload them every 10 seconds. manager.UpdateReloadDuration(10 * time.Second) // syscall.SIGHUP to reload the certs. manager.ReloadOnSignal(syscall.SIGHUP) return x509Certs, manager, secureConn, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3)