Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for scond (0.02 sec)

  1. cmd/dynamic-timeouts_test.go

    }
    
    func TestDynamicTimeoutDualDecrease(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	for range dynamicTimeoutLogSize {
    		timeout.LogSuccess(20 * time.Second)
    	}
    
    	adjusted := timeout.Timeout()
    
    	for range dynamicTimeoutLogSize {
    		timeout.LogSuccess(20 * time.Second)
    	}
    
    	adjustedAgain := timeout.Timeout()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            assertEquals("file1.txt", first.getName());
    
            assertTrue(iterator.hasNext(), "Should have second element");
            SmbResource second = iterator.next();
            assertNotNull(second, "Second element should not be null");
            assertEquals("file2.txt", second.getName());
    
            assertTrue(iterator.hasNext(), "Should have third element");
            SmbResource third = iterator.next();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals(second, third.next());
                assertEquals(referralData, second.next());
            }
    
            @Test
            @DisplayName("Should handle next() correctly")
            void testNext() {
                DfsReferralDataImpl second = new DfsReferralDataImpl();
                referralData.append(second);
    
                DfsReferralDataImpl next = referralData.next();
                assertSame(second, next);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            Subject first = auth.getSubject();
    
            // Second call should return cached value (same as first)
            Subject second = auth.getSubject();
            if (first == null && second == null) {
                // Both null - caching is working
                assertNull(second, "Second getSubject should return same result as first (both null)");
            } else if (first != null && second != null) {
                // Both non-null - should be same instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertTrue(r1.getName().endsWith("/"), "Name should end with '/'");
    
            assertTrue(itr.hasNext(), "Should have second element ready");
            SmbResource r2 = itr.next();
            assertNotNull(r2, "Second adapted resource must not be null");
            assertTrue(r2.getName().endsWith("/"), "Name should end with '/'");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/StringUtilTest.java

        void testJoinWithStringBuilder() {
            StringBuilder sb1 = new StringBuilder("first");
            StringBuilder sb2 = new StringBuilder("second");
            String result = StringUtil.join(",", sb1, sb2);
            assertEquals("first,second", result);
        }
    
        @Test
        @DisplayName("Should handle StringBuffer as CharSequence")
        void testJoinWithStringBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            InvertibleCryptographer first = securityResourceProvider.providePrimaryInvertibleCryptographer();
            InvertibleCryptographer second = securityResourceProvider.providePrimaryInvertibleCryptographer();
    
            assertNotNull(first);
            assertNotNull(second);
            assertSame(first, second);
            assertSame(invertibleCryptographer, first);
        }
    
        public void test_providePrimaryInvertibleCryptographer_consistency() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. cmd/callhome.go

    	"compress/gzip"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"math/rand"
    	"net/url"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second)
    
    // initCallhome will start the callhome task in the background.
    func initCallhome(ctx context.Context, objAPI ObjectLayer) {
    	if !globalCallhomeConfig.Enabled() {
    		return
    	}
    
    	go func() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            assertEquals((byte) 0xA1, encoded[0], "First byte of first character");
            assertEquals((byte) 0x00, encoded[1], "Second byte of first character");
            assertEquals((byte) 0xA2, encoded[2], "First byte of second character");
            assertEquals((byte) 0x00, encoded[3], "Second byte of second character");
        }
    
        @Test
        public void testAsciiEncoding() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            ChannelInfo second = loadBalancer.selectChannel(mockMessage);
    
            assertNotNull(first);
            assertNotNull(second);
            // Due to round-robin, should get different channels or same order
            assertTrue(Arrays.asList(channel1, channel2).contains(first));
            assertTrue(Arrays.asList(channel1, channel2).contains(second));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top