Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 254 for COMPLETE (0.1 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

            throw ProtocolException("unexpected end of stream")
          }
          try {
            super.close()
            complete(null)
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        /** If [e] is non-null, this will return a non-null value. */
        private fun complete(e: IOException?): IOException? {
          if (completed) return e
          completed = true
          return bodyComplete(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            } catch (Exception e) {
                // Expected
            }
            long duration = System.currentTimeMillis() - startTime;
    
            // Test should complete in under 1 second (much less than the original 25+ seconds)
            assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000);
        }
    
        // Fast mock implementations to minimize overhead
    
    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)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          boolean set(@Nullable V v) {
            return complete(v, null, COMPLETED);
          }
    
          /** Transition to the COMPLETED state and set the exception. */
          boolean setException(Throwable t) {
            return complete(null, t, COMPLETED);
          }
    
          /** Transition to the CANCELLED or INTERRUPTED state. */
          boolean cancel(boolean interrupt) {
            return complete(null, null, interrupt ? INTERRUPTED : CANCELLED);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
                assertTrue(sessionIds.contains(sessionId));
    
                // Wait a bit for the process to complete
                Thread.sleep(100);
    
                // Clean up
                processHelper.destroyProcess(sessionId);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          boolean set(@Nullable V v) {
            return complete(v, null, COMPLETED);
          }
    
          /** Transition to the COMPLETED state and set the exception. */
          boolean setException(Throwable t) {
            return complete(null, t, COMPLETED);
          }
    
          /** Transition to the CANCELLED or INTERRUPTED state. */
          boolean cancel(boolean interrupt) {
            return complete(null, null, interrupt ? INTERRUPTED : CANCELLED);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                });
            }
    
            // Start all threads simultaneously
            startLatch.countDown();
    
            // Wait for completion
            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
                fail("Concurrent operations caused exceptions: " + exceptions.get(0));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                    return jarPath;
                }
            };
    
            try {
                Artifact artifact = new Artifact("fess-theme-complete", "1.0.0");
                mockThemeHelper.install(artifact);
                assertTrue(true); // Should complete without exception
            } catch (Exception e) {
                // May fail due to ResourceUtil dependencies in test environment
                assertTrue(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                latch.countDown();
            });
    
            deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
    
            assertTrue("All callbacks should complete", latch.await(10, TimeUnit.SECONDS));
            assertEquals("All 3 callbacks should be invoked", 3, callbackCount.get());
        }
    
        @Test
        public void test_multipleErrorCallbacks_allInvoked() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            Thread.sleep(50);
    
            // Release all threads to start simultaneously
            startLatch.countDown();
    
            // Wait for writer thread to complete
            writerThread.join(1000);
    
            // Wait for all reader threads to complete
            for (Thread thread : readerThreads) {
                thread.join(testDurationMs + 1000);
            }
    
            // Verify that alive was changed to false
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  10. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                });
                threads[i].start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Then - should complete without errors
            assertTrue(true, "Concurrent setFileId calls should complete without issues");
        }
    
        @Test
        @DisplayName("Should handle file ID with special patterns")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top