Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for intern (0.04 sec)

  1. android/guava/src/com/google/common/collect/Interner.java

       * intern(a)} is permitted to return one instance now and a different instance later if the
       * original interned instance was garbage-collected.
       *
       * <p><b>Warning:</b> do not use with mutable objects.
       *
       * @throws NullPointerException if {@code sample} is null
       */
      E intern(E sample);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Interner.java

       * intern(a)} is permitted to return one instance now and a different instance later if the
       * original interned instance was garbage-collected.
       *
       * <p><b>Warning:</b> do not use with mutable objects.
       *
       * @throws NullPointerException if {@code sample} is null
       */
      E intern(E sample);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/InternersTest.java

        assertSame(canonical, pool.intern(not));
      }
    
      public void testWeak_null() {
        Interner<String> pool = Interners.newWeakInterner();
        assertThrows(NullPointerException.class, () -> pool.intern(null));
      }
    
      public void testWeak_builder() {
        int concurrencyLevel = 42;
        Interner<Object> interner =
            Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/InternersTest.java

        assertSame(canonical, pool.intern(not));
      }
    
      public void testWeak_null() {
        Interner<String> pool = Interners.newWeakInterner();
        assertThrows(NullPointerException.class, () -> pool.intern(null));
      }
    
      public void testWeak_builder() {
        int concurrencyLevel = 42;
        Interner<Object> interner =
            Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. docs/de/docs/benchmarks.md

    # Benchmarks
    
    Unabhängige TechEmpower-Benchmarks zeigen, **FastAPI**-Anwendungen, die unter Uvicorn ausgeführt werden, gehören zu <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">den schnellsten existierenden Python-Frameworks</a>, nur Starlette und Uvicorn selbst (intern von FastAPI verwendet) sind schneller.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 23 16:04:13 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Verwenden Sie diese, um eine Funktion zu dekorieren, die ein einziges `yield` hat.
    
    Das ist es auch, was **FastAPI** intern für Abhängigkeiten mit `yield` verwendet.
    
    Aber Sie müssen die Dekoratoren nicht für FastAPI-Abhängigkeiten verwenden (und das sollten Sie auch nicht).
    
    FastAPI erledigt das intern für Sie.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Interners.java

      /**
       * Returns a function that delegates to the {@link Interner#intern} method of the given interner.
       *
       * @since 8.0
       */
      public static <E> Function<E, E> asFunction(Interner<E> interner) {
        return new InternerFunction<>(checkNotNull(interner));
      }
    
      private static class InternerFunction<E> implements Function<E, E> {
    
        private final Interner<E> interner;
    
        public InternerFunction(Interner<E> interner) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Interners.java

      /**
       * Returns a function that delegates to the {@link Interner#intern} method of the given interner.
       *
       * @since 8.0
       */
      public static <E> Function<E, E> asFunction(Interner<E> interner) {
        return new InternerFunction<>(checkNotNull(interner));
      }
    
      private static class InternerFunction<E> implements Function<E, E> {
    
        private final Interner<E> interner;
    
        public InternerFunction(Interner<E> interner) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        WeakInternerImpl {
          @Override
          public <E> Interner<E> create(Collection<E> contents) {
            Interner<E> interner = Interners.newWeakInterner();
            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
          }
        },
        StrongInternerImpl {
          @Override
          public <E> Interner<E> create(Collection<E> contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/static-files.md

    Das `name="static"` gibt dieser Unteranwendung einen Namen, der intern von **FastAPI** verwendet werden kann.
    
    Alle diese Parameter können anders als "`static`" lauten, passen Sie sie an die Bedürfnisse und spezifischen Details Ihrer eigenen Anwendung an.
    
    ## Weitere Informationen
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top