Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3111 - 3120 of 5,095 for tstring (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.toString()}.
     *
     * @author Louis Wasserman
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertEquals(new String(testPassword), auth.getPassword());
        }
    
        /**
         * Test null password handling
         */
        @Test
        public void testNullPasswordHandling() {
            // Test with null String password
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", (String) null);
            assertNull(auth1.getPassword());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

      private static final int DELAY_MS = 50;
      private static final String RETURN_VALUE = "abc";
    
      private TimeLimiter timeLimiter;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        timeLimiter = new FakeTimeLimiter();
      }
    
      public void testCallWithTimeout_propagatesReturnValue() throws Exception {
        String result =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

         */
        protected DictionaryFile(final String id, final String path, final Date timestamp) {
            this.id = id;
            this.path = path;
            this.timestamp = timestamp;
        }
    
        /**
         * Returns the unique identifier of this dictionary file.
         *
         * @return the dictionary file ID
         */
        public String getId() {
            return id;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        @Test
        @DisplayName("Multiple server names should be handled correctly")
        void testDifferentServerNames() {
            // Test with different server names
            String[] serverNames = { "server1", "domain.local", "192.168.1.100", "FILESERVER" };
    
            for (String serverName : serverNames) {
                MsrpcDfsRootEnum enumInstance = new MsrpcDfsRootEnum(serverName);
                assertEquals(serverName, enumInstance.dfs_name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            // Check groups array
            final String[] groups = DocumentUtil.getValue(attributes, "groups", String[].class);
            assertArrayEquals(new String[] { "group1", "group2" }, groups);
    
            OpenIdConnectCredential credential = new OpenIdConnectCredential(attributes);
            assertEquals("******@****.***", credential.getUserId());
            assertArrayEquals(new String[] { "group1", "group2" }, credential.getUserGroups());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. cmd/generic-handlers_test.go

    		}
    	}
    }
    
    func Benchmark_hasBadPathComponent(t *testing.B) {
    	tests := []struct {
    		name  string
    		input string
    		want  bool
    	}{
    		{name: "empty", input: "", want: false},
    		{name: "backslashes", input: `\a\a\ \\  \\\\\\\`, want: false},
    		{name: "long", input: strings.Repeat("a/", 2000), want: false},
    		{name: "long-fail", input: strings.Repeat("a/", 2000) + "../..", want: true},
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response2 = call2.execute()
        val call3 = client.newCall(Request(server.url("/")))
        val response3 = call3.execute()
        assertThat(response1.body.string()).isEqualTo("ABC")
        assertThat(response2.body.string()).isEqualTo("DEF")
        assertThat(response3.body.string()).isEqualTo("GHI")
        // Settings connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        // Reuse settings connection.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            return derived;
        }
    
        /**
         * @param string
         * @return null terminated ASCII bytes
         */
        private static byte[] toCBytes(final String string) {
            final byte[] data = new byte[string.length() + 1];
            System.arraycopy(string.getBytes(StandardCharsets.US_ASCII), 0, data, 0, string.length());
            return data;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. cmd/metacache-manager.go

    // Therefore no cluster locks are required.
    var localMetacacheMgr = &metacacheManager{
    	buckets: make(map[string]*bucketMetacache),
    	trash:   make(map[string]metacache),
    }
    
    type metacacheManager struct {
    	mu      sync.RWMutex
    	init    sync.Once
    	buckets map[string]*bucketMetacache
    	trash   map[string]metacache // Recently deleted lists.
    }
    
    const metacacheMaxEntries = 5000
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
Back to top