- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,284 for Avoid (0.01 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
Waiter() { // avoid volatile write, write is made visible by subsequent CAS on waitersField field putThread(this, Thread.currentThread()); } // non-volatile write to the next field. Should be made visible by a subsequent CAS on // waitersField. void setNext(@Nullable Waiter next) { putNext(this, next); } void unpark() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
}; } @BeforeEach void setup() { when(ctx.getConfig()).thenReturn(config); // keep retries small for faster and deterministic tests when(config.getMaxRequestRetries()).thenReturn(2); when(config.isTraceResourceUsage()).thenReturn(false); // Mock credentials to avoid NullPointerException when(ctx.getCredentials()).thenReturn(credentials);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
* the array * @throws IllegalArgumentException if {@code array} is empty */ @GwtIncompatible( "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.") public static double min(double... array) { checkArgument(array.length > 0); double min = array[0]; for (int i = 1; i < array.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
// TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to // avoid unintended usage. // The execution list to hold our listeners. private final ExecutionList executionList = new ExecutionList(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
// TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to // avoid unintended usage. // The execution list to hold our listeners. private final ExecutionList executionList = new ExecutionList(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
private Queue<Integer> queue; private final Random random = new Random(); @BeforeExperiment void setUp() { queue = heap.create(comparator.get()); for (int i = 0; i < size; i++) { queue.add(random.nextInt()); } } @Benchmark void pollAndAdd(int reps) { for (int i = 0; i < reps; i++) { // TODO(kevinb): precompute random #s?
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Parameter.java
/** * An {@code AnnotatedType} instance, or {@code null} under Android VMs (possible only when using * the Android flavor of Guava). The field is declared with a type of {@code Object} to avoid * compatibility problems on Android VMs. The corresponding accessor method, however, can have the * more specific return type as long as users are careful to guard calls to it with version checks
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
* are responsible for taking the mutex themselves: * https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/util/Collections.html#synchronizedCollection(java.util.Collection) * * Similarly, we avoid having those methods *implemented* in terms of *other* TestSet methods * that will perform holdsLock assertions: * * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
: SetTestSuiteBuilder.using(keySetGenerator); } /** * To avoid infinite recursion, test suites with these marker features won't have derived suites * created for them. */ enum NoRecurse implements Feature<@Nullable Void> { SUBMAP, DESCENDING; @Override public Set<Feature<? super @Nullable Void>> getImpliedFeatures() { return emptySet(); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
/** * Parses a serialized trie representation of a map of reversed public suffixes into an immutable * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the * 64k limit on string literal size. In-memory strings can be much larger (2G). */ static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4K bytes - Viewed (0)