- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 77 for discussed (0.06 seconds)
-
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// thus don't count. requireNonNull(sequencer).latestTaskQueue = executingTaskQueue; sequencer = null; try { // requireNonNull is safe, as discussed above. Runnable localTask = requireNonNull(task); task = null; localTask.run(); // Now check if our task attempted to reentrantly execute the next task. Runnable queuedTask;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 22.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
@Param({"0.2", "0.8"}) float hitRate; // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...). // However, we end up needing a raw type in getIfPresent, as discussed there. @SuppressWarnings("rawtypes") private Class<? extends Enum> enumType; private String[] sampleData; @BeforeExperiment void setUp() throws ClassNotFoundException {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 29.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
toJoin = Arrays.copyOf(toJoin, expandedCapacity(toJoin.length, toJoin.length + 1)); } toJoin[i++] = toString(part); } // We might not have seen the expected number of elements, as discussed above. if (i != toJoin.length) { toJoin = Arrays.copyOf(toJoin, i); } return String.join(separator, toJoin); } return join(parts.iterator()); } /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
// For a (long) discussion about this specific issue and the general futility of life. // // For the time being we are OK with the problem discussed above since it requires a caller to // introduce a very specific kind of data-race. And given the other operations performed by these // methods that involve volatile read/write operations, in practice there is no issue. Also, the
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0) -
docs/en/docs/alternatives.md
At first, it didn't have an automatic API documentation web UI, but I knew I could add Swagger UI to it. It had a dependency injection system. It required pre-registration of components, as other tools discussed above. But still, it was a great feature.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 23.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// thus don't count. requireNonNull(sequencer).latestTaskQueue = executingTaskQueue; sequencer = null; try { // requireNonNull is safe, as discussed above. Runnable localTask = requireNonNull(task); task = null; localTask.run(); // Now check if our task attempted to reentrantly execute the next task. Runnable queuedTask;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 22.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} catch (UnsupportedOperationException e) { return; } Set<Entry<K, V>> entrySet = map.entrySet(); Entry<K, V> originalEntry = entrySet.iterator().next(); // Copy the Entry, as discussed in testEntrySetRemoveAll. Set<Entry<K, V>> entriesToRetain = singleton(mapEntry(originalEntry.getKey(), originalEntry.getValue())); if (supportsRemove) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* Future might not even be a ListenableFuture, just a plain Future. That said, similar * problems can exist with methods like FutureTask.done(), not to mention slow calls to * Thread.interrupt() (as discussed in InterruptibleTask). At the end of the day, it's * unlikely that cancel() will be slow, so we can probably get away with calling it while * holding a lock. Still, it would be nice to avoid somehow. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* Future might not even be a ListenableFuture, just a plain Future. That said, similar * problems can exist with methods like FutureTask.done(), not to mention slow calls to * Thread.interrupt() (as discussed in InterruptibleTask). At the end of the day, it's * unlikely that cancel() will be slow, so we can probably get away with calling it while * holding a lock. Still, it would be nice to avoid somehow. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* creating a directory that would be more accessible. (This behavior is new in Guava 32.0.0. * Previous versions would create a directory that is more accessible, as discussed in <a * href="https://github.com/google/guava/issues/4011">CVE-2020-8908</a>.) * * <p>Use this method instead of {@link File#createTempFile(String, String)} when you wish to
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0)