Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1911 - 1920 of 2,274 for all (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(flags, SMBUtil.readInt4(buffer, 26));
                assertEquals(0, SMBUtil.readInt4(buffer, 30));
            }
    
            @Test
            @DisplayName("Should encode with all lock flags")
            void testEncodingWithAllFlags() {
                long offset = 512L;
                long length = 1024L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/RequestWithPathTest.java

            testImplementation.setFullUNCPath("DOMAIN", "server", expectedUNCPath);
            assertEquals(expectedUNCPath, testImplementation.getFullUNCPath());
        }
    
        @Test
        @DisplayName("Test setFullUNCPath with all parameters")
        void testSetFullUNCPath() {
            // Test with mock
            String domain = "TESTDOMAIN";
            String server = "testserver";
            String fullPath = "\\\\testserver\\share\\test";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/bytes/compare_test.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"testing"
    )
    
    var compareTests = []struct {
    	a, b []byte
    	i    int
    }{
    	{[]byte(""), []byte(""), 0},
    	{[]byte("a"), []byte(""), 1},
    	{[]byte(""), []byte("a"), -1},
    	{[]byte("abc"), []byte("abc"), 0},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                String result = testMessage.toString();
    
                assertTrue(result.contains("command=UNKNOWN"));
            }
    
            @Test
            @DisplayName("Should include all fields in toString")
            void testToStringFields() {
                testMessage.setCommand(ServerMessageBlock2.SMB2_CREATE);
                testMessage.setMid(12345L);
                testMessage.addFlags(0x1234);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

                chain.load(user);
                if (users.indexOf(user) % 2 == 0) {
                    chain.delete(user);
                }
            }
    
            // Verify all operations were tracked
            assertEquals(10, chain.updateCalls.size());
            assertEquals(10, chain.changePasswordCalls.size());
            assertEquals(10, chain.loadCalls.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            requestBuilder.removeHeader("Content-Length")
            requestBuilder.removeHeader("Content-Type")
          }
        }
    
        // When redirecting across hosts, drop all authentication headers. This
        // is potentially annoying to the application layer since they have no
        // way to retain them.
        if (!userResponse.request.url.canReuseConnectionFor(url)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        routePlanner.defaultConnectionIdleAtNanos = expireLater
        setPolicy(pool, address, AddressPolicy(1))
        assertThat(pool.connectionCount()).isEqualTo(1)
    
        // All other connections created will expire sooner
        routePlanner.defaultConnectionIdleAtNanos = expireSooner
    
        // Turn it into an http/2 connection that supports 5 concurrent streams
        // which can satisfy a larger policy
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // When
            long delay1 = policy.getDelayMs(1);
            long delay2 = policy.getDelayMs(2);
            long delay3 = policy.getDelayMs(3);
    
            // Then - All delays should be the same
            assertEquals(2000, delay1);
            assertEquals(2000, delay2);
            assertEquals(2000, delay3);
        }
    
        @Test
        @DisplayName("Should provide meaningful toString output")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            byte[] buffer3 = new byte[100];
    
            int encoded1 = request.encode(buffer1, 0);
            int encoded2 = request.encode(buffer2, 0);
            int encoded3 = request.encode(buffer3, 0);
    
            // All should produce same result
            assertEquals(encoded1, encoded2);
            assertEquals(encoded2, encoded3);
    
            // Compare actual bytes (up to encoded length)
            for (int i = 0; i < encoded1; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. cmd/http-stats.go

    	for k, v := range stats.apiStats {
    		if toLower {
    			k = strings.ToLower(k)
    		}
    		apiStats[k] = v
    	}
    	return apiStats
    }
    
    // HTTPStats holds statistics information about
    // HTTP requests made by all clients
    type HTTPStats struct {
    	s3RequestsInQueue       int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_                       int32 // For 64 bits alignment
    	s3RequestsIncoming      uint64
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top