Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 582 for inference (0.1 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

        return lazyWeakCustom(stripes, WeakSafeReadWriteLock::new);
      }
      /**
       * ReadWriteLock implementation whose read and write locks retain a reference back to this lock.
       * Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure
       * the {@code ReadWriteLock} is retained.
       */
      private static final class WeakSafeReadWriteLock implements ReadWriteLock {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       *   <li>enqueuing weak references to unreachable referents in their reference queue
       * </ul>
       */
      @DoNotMock("Implement with a lambda")
      public interface FinalizationPredicate {
        boolean isDone();
      }
    
      /**
       * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
       * try to ensure that this will happen.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/MapIteratorCache.java

     * correctness in the face of external mutations to the backing map. As such, it is <b>strongly</b>
     * recommended that the caller does not persist a reference to the backing map (unless the backing
     * map is immutable).
     *
     * <p>This class is tailored toward use cases in common.graph. It is *NOT* a general purpose map.
     *
     * @author James Sexton
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  4. schema/schema_helper_test.go

    	Schema      string
    	FieldSchema string
    	Polymorphic Polymorphic
    	JoinTable   JoinTable
    	References  []Reference
    }
    
    type Polymorphic struct {
    	ID    string
    	Type  string
    	Value string
    }
    
    type JoinTable struct {
    	Name   string
    	Table  string
    	Fields []schema.Field
    }
    
    type Reference struct {
    	PrimaryKey    string
    	PrimarySchema string
    	ForeignKey    string
    	ForeignSchema string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            map.put(keyOne, valueOne);
            ReferenceEntry<Object, Object> entry = segment.getEntry(keyOne, hashOne);
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) entry;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
            assertFalse(map.containsKey(keyOne));
            assertFalse(map.containsValue(valueOne));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            map.put(keyOne, valueOne);
            ReferenceEntry<Object, Object> entry = segment.getEntry(keyOne, hashOne);
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) entry;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
            assertFalse(map.containsKey(keyOne));
            assertFalse(map.containsValue(valueOne));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Predicate.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code
     * java.util.function.Predicate} is expected, use the method reference {@code
     * guavaPredicate::apply}. For the other direction, use {@code javaUtilPredicate::test}. A future
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ObjectArrays.java

      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        return Platform.newArray(reference, length);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

        TreeMultiset<E> multiset = create();
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private final transient Reference<AvlNode<E>> rootReference;
      private final transient GeneralRange<E> range;
      private final transient AvlNode<E> header;
    
      TreeMultiset(Reference<AvlNode<E>> rootReference, GeneralRange<E> range, AvlNode<E> endLink) {
        super(range.comparator());
        this.rootReference = rootReference;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. docs/en/docs/reference/fastapi.md

    # `FastAPI` class
    
    Here's the reference information for the `FastAPI` class, with all its parameters, attributes and methods.
    
    You can import the `FastAPI` class directly from `fastapi`:
    
    ```python
    from fastapi import FastAPI
    ```
    
    ::: fastapi.FastAPI
        options:
            members:
                - openapi_version
                - webhooks
                - state
                - dependency_overrides
                - openapi
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 701 bytes
    - Viewed (0)
Back to top