Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 887 for Callable (0.04 sec)

  1. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            for (SearchLogEvent event : events) {
                // All methods should be callable without exceptions
                String id = event.getId();
                Long version = event.getVersionNo();
                Map<String, Object> source = event.toSource();
                String type = event.getEventType();
    
                // Just verify the methods are callable
                assertTrue(true);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/advanced-dependencies.md

    Aber wir wollen diesen vordefinierten Inhalt per Parameter festlegen können.
    
    ## Eine „aufrufbare“ Instanz
    
    In Python gibt es eine Möglichkeit, eine Instanz einer Klasse „aufrufbar“ („callable“) zu machen.
    
    Nicht die Klasse selbst (die bereits aufrufbar ist), sondern eine Instanz dieser Klasse.
    
    Dazu deklarieren wir eine Methode `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * LocalCache emulation for GWT.
     *
     * @param <K> the base key type
     * @param <V> the base value type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import java.util.Objects;
    import java.util.concurrent.Callable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      }
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
      static <E extends @Nullable Object> Set<E> newConcurrentHashSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(2, 3, 4, 5, 6, 7, 8, 9, 0);
    
        // get(K, Callable) doesn't stop 2 from expiring
        Integer unused = cache.get(2, Callables.returning(-2));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        ImmutableList.Builder<Future<?>> futures = ImmutableList.builder();
        for (int i = 0; i < threadCount; i++) {
          futures.add(
              executor.submit(
                  new Callable<@Nullable Void>() {
                    @Override
                    public @Nullable Void call() throws Exception {
                      barrier.await();
                      Integer first = network.nodes().iterator().next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  8. src/main/webapp/js/bootstrap.min.js.map

     }\n    }\n  }\n}\n\nfunction findHandler(events, callable, delegationSelector = null) {\n  return Object.values(events)\n    .find(event => event.callable === callable && event.delegationSelector === delegationSelector)\n}\n\nfunction normalizeParameters(originalTypeEvent, handler, delegationFunction) {\n  const isDelegated = typeof handler === 'string'\n  // TODO: tooltip passes `false` instead of selector, so we need to check\n  const callable = isDelegated ? delegationFunction : (handler || ...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 211.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/first-steps.md

    ///
    
    The `oauth2_scheme` variable is an instance of `OAuth2PasswordBearer`, but it is also a "callable".
    
    It could be called as:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    So, it can be used with `Depends`.
    
    ### Use it { #use-it }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(key, result.get(0));
        assertEquals(key, result.get(1));
        assertEquals(key + suffix, cache.getUnchecked(key));
      }
    
      static <T> Callable<T> throwing(Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
Back to top