- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 196 for allowing (0.16 sec)
-
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java
import java.util.Collection; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for a directed {@link StandardMutableNetwork} allowing self-loops. */ @AndroidIncompatible @RunWith(Parameterized.class) public class StandardMutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 09 17:01:22 GMT 2020 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
* * This class isn't an arbitrary ForwardingImmutableSet because we need to * know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee * immutability. Hence, we support only {@link EnumSet}. */ private final transient EnumSet<E> delegate; private ImmutableEnumSet(EnumSet<E> delegate) { this.delegate = delegate; }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
* the License. */ package com.google.common.eventbus; import java.util.concurrent.Executor; /** * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events, * allowing dispatch to occur asynchronously. * * @author Cliff Biffle * @since 10.0 */ @ElementTypesAreNonnullByDefault public class AsyncEventBus extends EventBus { /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* might be cancelled before we set the runner thread. That would make it impossible to * interrupt, yet it will still run, since interruptTask will leave the runner value null, * allowing the CAS below to succeed. */ Thread currentThread = Thread.currentThread(); if (!compareAndSet(null, currentThread)) { return; // someone else has run or is running. }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Sep 29 21:34:48 GMT 2023 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharStreams.java
Java8Compatibility.flip(buf); to.append(buf); total += buf.remaining(); Java8Compatibility.clear(buf); } return total; } // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able // to reuse buffers, others would be able to size them more appropriately than the constant // defaults /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
message.append(", ").append(t.getMessage()); } return message.toString(); } } /** * Internal Lock implementations implement the {@code CycleDetectingLock} interface, allowing the * detection logic to treat all locks in the same manner. */ private interface CycleDetectingLock { /** @return the {@link LockGraphNode} associated with this lock. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
return b == null ? null : checkNotNull(doBackward(b)); } else { return unsafeDoBackward(b); } } /* * LegacyConverter violates the contract of Converter by allowing its doForward and doBackward * methods to accept null. We could avoid having unchecked casts in Converter.java itself if we * could perform a cast to LegacyConverter, but we can't because it's an internal-only class. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* if the task completed with an error. */ V get() throws CancellationException, ExecutionException, InterruptedException { // Acquire the shared lock allowing interruption. acquireSharedInterruptibly(-1); return getValue(); } /** * Implementation of the actual value retrieval. Will return the value on success, an
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* if the task completed with an error. */ V get() throws CancellationException, ExecutionException, InterruptedException { // Acquire the shared lock allowing interruption. acquireSharedInterruptibly(-1); return getValue(); } /** * Implementation of the actual value retrieval. Will return the value on success, an
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 13.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* take a principled stand on this, but the amount of such code is simply overwhelming. To avoid * creating a lot of compile errors that users would not find to be informative, we're giving in * and allowing callers to pass arguments that a nullness checker believes could be null. * * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks. */ /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0)