Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 750 for 1000 (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        void testWriteParameterWordsWireFormatLargeOffset() {
            byte[] dst = new byte[512];
            int startOffset = 100;
    
            // Set up transaction parameters
            transaction.setMaxSetupCount((byte) 3);
            transaction.setTotalParameterCount(500);
            transaction.setTotalDataCount(1000);
            transaction.setMaxParameterCount(2048);
            transaction.setMaxDataCountForTest(4096);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. tests/lru_test.go

    func TestLRUConcurrency(t *testing.T) {
    	lc := lru.NewLRU[string, string](0, nil, 0)
    	wg := sync.WaitGroup{}
    	wg.Add(1000)
    	for i := 0; i < 1000; i++ {
    		go func(i int) {
    			lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10))
    			wg.Done()
    		}(i)
    	}
    	wg.Wait()
    	if lc.Len() != 100 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func TestLRUInvalidateAndEvict(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K 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. 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));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. 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));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        // Backoff and timing constants (in ms)
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long MAX_POLL_INTERVAL = 30000;
        private static final long BASE_RETRY_DELAY = 1000;
        private static final long MAX_RETRY_DELAY = 30000;
        private static final int MAX_BACKOFF_SHIFT = 3; // Maximum 8 seconds (2^3 * 1000ms)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
          } catch (ignored: InterruptedException) {
          }
          server.enqueue(MockResponse().setBody("enqueued in the background"))
        }.start()
        val connection = server.url("/").toUrl().openConnection()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top