- Sort Score
- Result 10 results
- Languages All
Results 2391 - 2400 of 2,574 for None (0.02 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
sessionsField.setAccessible(true); @SuppressWarnings("unchecked") List<Object> sessions = (List<Object>) sessionsField.get(first); sessions.add(new Object()); // Add one session to reach the limit // When: Request another connection SmbTransportImpl second = pool.getSmbTransport(ctx, address, 445, false); // Then: Should create new connection due to session limit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/archive/zip/writer_test.go
dst := NewWriter(buf2) for _, f := range src.File { if err := dst.Copy(f); err != nil { t.Fatal(err) } } if err := dst.Close(); err != nil { t.Fatal(err) } // read the new one back r, err := NewReader(bytes.NewReader(buf2.Bytes()), int64(buf2.Len())) if err != nil { t.Fatal(err) } for i, wt := range writeTests { testReadFile(t, r.File[i], &wt) } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// When TimeZone resultTimeZone = delegatingConfig.getLocalTimezone(); // Then assertSame(timeZone, resultTimeZone, "Should delegate time zone"); verify(mockDelegate).getLocalTimezone(); } @Test @DisplayName("Batch limit configuration should delegate correctly") void testBatchLimitDelegation() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
cmd/local-locker_test.go
Quorum: &quorum, } ok, err := l.Unlock(ctx, arg) if err != nil { t.Fatal(err) } if !ok { t.Fatal("did not get write lock") } } // All should be gone now... // Each Lock has m entries if len(l.lockMap) != 0 { t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), 0, 0) } if len(l.lockUID) != 0 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
new Smb2SigningDigest(this.sessionKey, negoResp.getDialectRevision(), this.preauthIntegrityHash); // verify the server signature here, this is not done automatically as we don't set the // request digest // Ignore a missing signature for SMB < 3.0, as
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
class SamrSamArrayTests { @Test @DisplayName("Should encode array with entries") void testEncode() throws NdrException { // Given: SAM array with one entry samr.SamrSamArray array = new samr.SamrSamArray(); array.count = 1; samr.SamrSamEntry entry = new samr.SamrSamEntry(); entry.name = new rpc.unicode_string();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
throw new RuntimeException(e); } /** * Closes all {@code Closeable} instances that have been added to this {@code Closer}. If an * exception was thrown in the try block and passed to one of the {@code exceptionThrown} methods, * any exceptions thrown when attempting to close a closeable will be suppressed. Otherwise, the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
private int testAddressInt = 0xC0A80101; // 192.168.1.1 private byte[] testMacAddress = new byte[] { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 }; @BeforeEach void setUp() { // Setup will be done per test as needed } @Test void testConstructorWithMinimalParameters() throws UnknownHostException { // Test the constructor with minimal parameters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
cmd/tier.go
} // To avoid all MinIO nodes reading the tier config object at the same // time. t := time.NewTimer(tierCfgRefresh + randInterval()) defer t.Stop() for { select { case <-ctx.Done(): return case <-t.C: err := config.Reload(ctx, objAPI) if err != nil { tierLogIf(ctx, err) } } t.Reset(tierCfgRefresh + randInterval()) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
cmd/utils.go
} func ptr[T any](a T) *T { return &a } // sleepContext sleeps for d duration or until ctx is done. func sleepContext(ctx context.Context, d time.Duration) error { select { case <-ctx.Done(): return ctx.Err() case <-time.After(d): } return nil } // helper type to return either item or error. type itemOrErr[V any] struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0)