Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 320 for immediately (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            void testUnlockFlag() {
                assertEquals(0x4, Smb2Lock.SMB2_LOCKFLAG_UNLOCK);
            }
    
            @Test
            @DisplayName("Should have correct fail immediately flag value")
            void testFailImmediatelyFlag() {
                assertEquals(0x10, Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY);
            }
    
            @Test
            @DisplayName("Should allow flag combinations")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                fail("Failed to verify crawlerPriority: " + e.getMessage());
            }
        }
    
        @Test
        public void test_crawl_with_force_stop() {
            // Set force stop to true immediately to avoid thread operations
            SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            if (systemHelper instanceof org.codelibs.fess.helper.DataIndexHelperTest.TestSystemHelper) {
    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. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

              throw t;
            }
          }
          return;
        }
    
        /*
         * This is an unsynchronized read! After the read, the function returns immediately or acquires
         * the lock to check again. Since an IDLE state was observed inside the preceding synchronized
         * block, and reference field assignment is atomic, this may save reacquiring the lock when
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            assertTrue(it.hasNext());
            assertEquals("x", it.next().getName());
        }
    
        @Test
        @DisplayName("Empty initial results with end-of-search -> closes immediately")
        void emptyInitialResultsEndOfSearchCloses() throws Exception {
            when(tree.send(any(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class))).thenAnswer((InvocationOnMock inv) -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * executor. Each event can be added and dispatched as separate phases.
       *
       * <p>This class is very similar to {@link SequentialExecutor} with the exception that events can
       * be added without necessarily executing immediately.
       */
      private static final class PerListenerQueue<L> implements Runnable {
        final L listener;
        final Executor executor;
    
        @GuardedBy("this")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Multiset.java

      // Views
    
      /**
       * Returns the set of distinct elements contained in this multiset. The element set is backed by
       * the same data as the multiset, so any change to either is immediately reflected in the other.
       * The order of the elements in the element set is unspecified.
       *
       * <p>If the element set supports any removal operations, these necessarily cause <b>all</b>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

       * For example, the cache may evict an entry because it hasn't been used recently or very often.
       *
       * <p>If {@code maximumSize} is zero, elements will be evicted immediately after being loaded into
       * cache. This can be useful in testing, or to disable caching temporarily.
       *
       * <p>This feature cannot be used in conjunction with {@link #maximumWeight}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            assertFalse(cos.done);
            assertFalse(cos.getFile().exists());
        }
    
        @Test
        public void testThresholdZero() throws IOException {
            // With threshold 0, everything should go to file immediately
            ContentOutputStream cos = new ContentOutputStream(0, Curl.tmpDir);
            cos.write(new byte[] { 1 });
            assertFalse(cos.done);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

     * Returns true if new reads and writes should be attempted on this.
     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean =
      try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  10. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

        }
    
        // ========== Thread Safety Tests ==========
    
        /**
         * Test that the volatile alive field is visible across threads.
         * One thread sets alive to false, other threads should see the change immediately.
         */
        @Test
        public void test_aliveField_volatileVisibility() throws Exception {
            // Ensure alive starts as true
            assertTrue(dataStore.alive);
    
            final int readerThreadCount = 5;
    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)
Back to Top