Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 671 for 100s (0.04 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                long startTime = System.nanoTime();
                for (int i = 0; i < 1000; i++) {
                    auth1.equals(auth2);
                    auth1.equals(auth3);
                    auth2.equals(auth3);
                }
                long totalTime = System.nanoTime() - startTime;
    
                // Should complete in reasonable time (< 10ms for 3000 operations)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            public Integer getSuggestUpdateRequestIntervalAsInteger() {
                return 1000;
            }
    
            @Override
            public Integer getSuggestUpdateDocPerRequestAsInteger() {
                return 100;
            }
    
            @Override
            public Integer getSuggestSourceReaderScrollSizeAsInteger() {
                return 1000;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000);
        }
    
        // Fast mock implementations to minimize overhead
    
        private static class FastMockIndexUpdateCallback implements IndexUpdateCallback {
            @Override
            public long getExecuteTime() {
                return 100L;
            }
    
            @Override
            public long getDocumentSize() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

                // Test common file system sizes
                long[] typicalSizes = { 1024L * 1024L * 1024L, // 1 GB
                        1024L * 1024L * 1024L * 10L, // 10 GB
                        1024L * 1024L * 1024L * 100L, // 100 GB
                        1024L * 1024L * 1024L * 1024L, // 1 TB
                        1024L * 1024L * 1024L * 1024L * 10L // 10 TB
                };
    
                for (long size : typicalSizes) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                byte[] buffer = new byte[256];
    
                // Encode multiple times
                for (int i = 0; i < 1000; i++) {
                    int result = request.encode(buffer, 0);
                    assertTrue(result > 0);
                }
    
                assertEquals(1000, request.getEncodeCallCount());
            }
    
            @Test
            @DisplayName("Should handle repeated size calls efficiently")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            } else {
                originalValue = Integer.parseInt(limitPercentage);
            }
    
            if (originalValue > 100) {
                this.limitPercentage = 100;
            } else if (originalValue < 1) {
                this.limitPercentage = 1;
            } else {
                this.limitPercentage = originalValue;
            }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            assertEquals(sb.toString(), item.getText());
            assertNotNull(item.getId());
        }
    
        @Test
        public void test_manyWords() {
            String[] text = new String[100];
            String[][] readings = new String[100][];
            for (int i = 0; i < 100; i++) {
                text[i] = "word" + i;
                readings[i] = new String[] { "reading" + i };
            }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
Back to Top