Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 2,123 for instanceof (0.77 seconds)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import java.util.logging.Level;
    import org.jspecify.annotations.Nullable;
    
    /**
     * The {@code CycleDetectingLockFactory} creates {@link ReentrantLock} instances and {@link
     * ReentrantReadWriteLock} instances that detect potential deadlock by checking for cycles in lock
     * acquisition order.
     *
     * <p>Potential deadlocks detected when calling the {@code lock()}, {@code lockInterruptibly()}, or
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    /// note | Technical Details
    
    When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
    
    That when called, return instances of classes of the same name.
    
    So, you import `Query`, which is a function. And when you call it, it returns an instance of a class also named `Query`.
    
    These functions are there (instead of just using the classes directly) so that your editor doesn't mark errors about their types.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        /** List of active crawler instances */
        private List<Crawler> crawlerList;
    
        /** Factory for creating document ingesters */
        private IngestFactory ingestFactory = null;
    
        /**
         * Default constructor for IndexUpdater.
         * Initializes a new instance with default settings.
         */
        public IndexUpdater() {
            super();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                () -> getDone(allAsList(immediateFailedFuture(new SomeError()))));
        assertThat(expected).hasCauseThat().isInstanceOf(SomeError.class);
        List<LogRecord> logged = aggregateFutureLogHandler.getStoredLogRecords();
        assertThat(logged).hasSize(1); // errors are always logged
        assertThat(logged.get(0).getThrown()).isInstanceOf(SomeError.class);
      }
    
      /** All as list will log extra exceptions that have already occurred. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                () -> getDone(allAsList(immediateFailedFuture(new SomeError()))));
        assertThat(expected).hasCauseThat().isInstanceOf(SomeError.class);
        List<LogRecord> logged = aggregateFutureLogHandler.getStoredLogRecords();
        assertThat(logged).hasSize(1); // errors are always logged
        assertThat(logged.get(0).getThrown()).isInstanceOf(SomeError.class);
      }
    
      /** All as list will log extra exceptions that have already occurred. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/HashFunction.java

     *       clearly insufficient to hold all hash code values, this API represents a hash code as an
     *       instance of {@link HashCode}.
     *   <li><b>pure function:</b> the value produced must depend only on the input bytes, in the order
     *       they appear. Input data is never modified. {@link HashFunction} instances should always be
     *       stateless, and therefore thread-safe.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

          assertThat(command).isInstanceOf(WrappedRunnable.class);
          lastMethodCalled = "scheduleRunnable";
          lastDelay = delay;
          lastUnit = unit;
          return null;
        }
    
        @Override
        public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) {
          assertThat(callable).isInstanceOf(WrappedCallable.class);
          lastMethodCalled = "scheduleCallable";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        ExecutionException expected =
            assertThrows(
                ExecutionException.class,
                () -> service.callWithTimeout(BAD_CALLABLE, ENOUGH_MS, MILLISECONDS));
        assertThat(expected).hasCauseThat().isInstanceOf(SampleException.class);
      }
    
      public void testCallUninterruptiblyWithTimeout_goodCallableWithEnoughTime() throws Exception {
        Stopwatch stopwatch = Stopwatch.createStarted();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/first-steps.md

    [Starlette](https://www.starlette.dev/)'in tüm işlevselliğini `FastAPI` ile de kullanabilirsiniz.
    
    ///
    
    ### Adım 2: bir `FastAPI` "instance"ı oluşturun { #step-2-create-a-fastapi-instance }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[3] *}
    
    Burada `app` değişkeni `FastAPI` class'ının bir "instance"ı olacaktır.
    
    Bu, tüm API'nızı oluşturmak için ana etkileşim noktası olacaktır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            // Check that it contains class name or relevant info
            assertTrue(result.contains("FessTimeResourceProvider") || result.contains("adjustTimeMillis"));
        }
    
        // Test multiple provider instances
        @Test
        public void test_multipleInstances() {
            FessTimeResourceProvider provider1 = new FessTimeResourceProvider(mockConfig);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
Back to Top