Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 109 for 1004 (0.04 seconds)

  1. guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(1);
        assertThat(stopwatch.toString()).isEqualTo("1.000 ns");
        ticker.advance(998);
        assertThat(stopwatch.toString()).isEqualTo("999.0 ns");
        ticker.advance(1);
        assertThat(stopwatch.toString()).isEqualTo("1.000 \u03bcs");
        ticker.advance(1);
        assertThat(stopwatch.toString()).isEqualTo("1.001 \u03bcs");
        ticker.advance(8998);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

            CacheBuilder.newBuilder().expireAfterAccess(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(0, 10);
        cache.put(2, 30);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertThat(cache.getIfPresent(2)).isEqualTo(30);
        fakeTicker.advance(1, MILLISECONDS);
        assertThat(cache.getIfPresent(2)).isEqualTo(30);
        fakeTicker.advance(1000, MILLISECONDS);
        assertThat(cache.getIfPresent(0)).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

            CacheBuilder.newBuilder().expireAfterAccess(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(0, 10);
        cache.put(2, 30);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertThat(cache.getIfPresent(2)).isEqualTo(30);
        fakeTicker.advance(1, MILLISECONDS);
        assertThat(cache.getIfPresent(2)).isEqualTo(30);
        fakeTicker.advance(1000, MILLISECONDS);
        assertThat(cache.getIfPresent(0)).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

        }
    
        @Test
        public void test_smartSummary_headTailRatio() {
            // Use 1000-char content with summaryMaxChars=500, no sources
            // omitMarker="\n...[omitted]...\n" (17 chars), suffix="", bodyBudget=500-0-17=483
            // headChars = (int)(483 * 0.6) = 289, tailChars = 483 - 289 = 194
            final String content = "A".repeat(1000);
            final ChatMessage msg = ChatMessage.assistantMessage(content);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        return ImmutableList.of(
            Striped.readWriteLock(100),
            Striped.readWriteLock(256),
            Striped.lock(100),
            Striped.lock(256),
            Striped.custom(100, FAIR_LOCK_SUPPLER),
            Striped.custom(256, FAIR_LOCK_SUPPLER),
            Striped.semaphore(100, 1),
            Striped.semaphore(256, 1));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        return ImmutableList.of(
            Striped.readWriteLock(100),
            Striped.readWriteLock(256),
            Striped.lock(100),
            Striped.lock(256),
            Striped.custom(100, FAIR_LOCK_SUPPLER),
            Striped.custom(256, FAIR_LOCK_SUPPLER),
            Striped.semaphore(100, 1),
            Striped.semaphore(256, 1));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        @Size(max = 1000)
        public String ldapSecurityAuthentication;
    
        /** LDAP initial context factory class name. */
        @Size(max = 1000)
        public String ldapInitialContextFactory;
    
        /** OpenID Connect client ID. */
        @Size(max = 1000)
        public String oicClientId;
    
        /** OpenID Connect client secret. */
        @Size(max = 1000)
        public String oicClientSecret;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        assertThrows(
            IllegalArgumentException.class, () -> BloomFilter.create(unencodedCharsFunnel(), 1, 0.0));
        assertThrows(
            IllegalArgumentException.class, () -> BloomFilter.create(unencodedCharsFunnel(), 1, 1.0));
      }
    
      public void testFailureWhenMoreThan255HashFunctionsAreNeeded() {
        int n = 1000;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            encrypted = false;
            value = System.currentTimeMillis() / 1000 + "\nrole1";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(1, roleSet.size());
            assertTrue(roleSet.contains("role1"));
    
            encrypted = false;
            value = System.currentTimeMillis() / 1000 + "\nrole1,role2";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                return 100;
            }
    
            @Override
            public String getIndexerWebfsMaxDocumentRequestSize() {
                return "1000";
            }
    
            @Override
            public Integer getIndexerUnprocessedDocumentSizeAsInteger() {
                return 1000;
            }
    
            @Override
            public boolean getIndexerClickCountEnabledAsBoolean() {
                return true;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
Back to Top