- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 649 for inference (0.12 sec)
-
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
} @Override public void finalizeReferent() { finalizeReferentCalled = true; } } /** * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we * know that the background thread has stopped and released its strong reference. */ private WeakReference<ReferenceQueue<Object>> queueReference; public void testThatFinalizerStops() { weaklyReferenceQueue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
if (threadStarted) { return; } Reference<?> reference; while ((reference = queue.poll()) != null) { /* * This is for the benefit of phantom references. Weak and soft references will have already * been cleared by this point. */ reference.clear(); try { ((FinalizableReference) reference).finalizeReferent(); } catch (Throwable t) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 11 20:51:36 UTC 2024 - 13.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java
/** * The DSL reference for this documentation. These are higher-level than Javadoc. */ public abstract class DslReference { /** * The root of the DSL documentation. This is the source of the DSL XML currently. */ public abstract DirectoryProperty getRoot(); /** * The stylesheet directory used by the DSL reference documentation. */
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
() -> equalsTester.addEqualityGroup(reference, equalObject1, null)); } /** Test adding null equal object yields error */ public void testAddNullEqualObject() { assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, (Object[]) null)); } /** * Test adding objects only by addEqualityGroup, with no reference object specified in the * constructor. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
fastapi/openapi/models.py
schemas: Optional[Dict[str, Union[Schema, Reference]]] = None responses: Optional[Dict[str, Union[Response, Reference]]] = None parameters: Optional[Dict[str, Union[Parameter, Reference]]] = None examples: Optional[Dict[str, Union[Example, Reference]]] = None requestBodies: Optional[Dict[str, Union[RequestBody, Reference]]] = None headers: Optional[Dict[str, Union[Header, Reference]]] = None
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 22:49:33 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
/** * An immutable object that may contain a non-null reference to another object. Each instance of * this type either contains a non-null reference, or contains nothing (in which case we say that * the reference is "absent"); it is never said to "contain {@code null}". * * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
internal/event/rules.go
nrules[pattern] = nrules[pattern].Union(targetIDSet) } return nrules } // Difference - returns difference with given rules as new rules. func (rules Rules) Difference(rules2 Rules) Rules { nrules := make(Rules) for pattern, targetIDSet := range rules { if nv := targetIDSet.Difference(rules2[pattern]); len(nv) > 0 { nrules[pattern] = nv } } return nrules
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java
if (adjacentNodes != null) { checkState(adjacentNodes.add(node)); } } @CheckForNull private static <T> T getReference(@CheckForNull Reference<T> reference) { return (reference == null) ? null : reference.get(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
public static <T> T verifyNotNull(@CheckForNull T reference) { return verifyNotNull(reference, "expected a non-null reference"); } /** * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a custom * message otherwise. * * @param errorMessageTemplate a template for the exception message should the check fail. The
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
@ParametricNullness private final T reference; private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) { this.equivalence = checkNotNull(equivalence); this.reference = reference; } /** Returns the (possibly null) reference wrapped by this instance. */ @ParametricNullness public T get() { return reference; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 16 14:34:47 UTC 2024 - 13.8K bytes - Viewed (0)