Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 603 for 1000L (0.05 sec)

  1. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            @Test
            @DisplayName("Should handle very long messages")
            void testVeryLongMessage() {
                StringBuilder longMessage = new StringBuilder();
                for (int i = 0; i < 10000; i++) {
                    longMessage.append("x");
                }
                String message = longMessage.toString();
    
                TransportException exception = new TransportException(message);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

     * returning more-or-less the same answers.
     */
    @NullUnmarked
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random rng = new Random(82674067L);
      private static final int DATASET_SIZE = 1000;
      private static final double ALLOWED_ERROR = 1.0e-10;
      private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING;
      private static final ImmutableSet<QuantilesAlgorithm> NON_REFERENCE_ALGORITHMS =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withLongMessage() {
            // Test with a long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("LDAP configuration error ").append(i).append(" ");
            }
            String longMessage = sb.toString();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

        }
    
        public void test_longMessage() {
            // Test with very long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Long message part ").append(i).append(" ");
            }
            String longMessage = sb.toString();
    
            ScheduledJobException exception = new ScheduledJobException(longMessage);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

        }
    
        public void test_longMessageHandling() {
            // Test with very long message
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Storage error ").append(i).append(" ");
            }
            String message = longMessage.toString();
    
            StorageException exception = new StorageException(message);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testRunIdempotency() throws Exception {
        int numThreads = 10;
        ExecutorService executor = newFixedThreadPool(numThreads);
        for (int i = 0; i < 1000; i++) {
          AtomicInteger counter = new AtomicInteger();
          TrustedListenableFutureTask<Integer> task =
              TrustedListenableFutureTask.create(
                  new Callable<Integer>() {
                    @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

        @Test
        public void testDefaultConstructor() {
            HandleReconnector defaultReconnector = new HandleReconnector(mockManager);
            assertEquals(3, defaultReconnector.getMaxRetries());
            assertEquals(1000, defaultReconnector.getRetryDelay());
        }
    
        @Test
        public void testCreateReconnectionRequestThrows() {
            // Create a test reconnector that exposes the protected method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    }
    
    // Constant s3 chunk encoding signature.
    const s3ChunkSignatureStr = ";chunk-signature="
    
    // parses3ChunkExtension removes any s3 specific chunk-extension from buf.
    // For example,
    //
    //	"10000;chunk-signature=..." => "10000", "chunk-signature=..."
    func parseS3ChunkExtension(buf []byte) ([]byte, []byte) {
    	buf = trimTrailingWhitespace(buf)
    	semi := bytes.Index(buf, []byte(s3ChunkSignatureStr))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        public SampleElements<Entry<String, Collection<Integer>>> samples() {
          return new SampleElements<>(
              mapEntry("one", ImmutableSet.of(10000)),
              mapEntry("two", ImmutableSet.of(-2000)),
              mapEntry("three", ImmutableSet.of(300)),
              mapEntry("four", ImmutableSet.of(-40)),
              mapEntry("five", ImmutableSet.of(5)));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top