- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 46 for approach (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/base/CaseFormat.java
this.wordBoundary = wordBoundary; this.wordSeparator = wordSeparator; } /** * Converts the specified {@code String str} from this format to the specified {@code format}. A * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then * the behavior of this method is undefined but we make a reasonable effort at converting anyway. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 03 18:46:33 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i> * possible sequences of these operations, up to a given number of steps. So, if the caller * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i> * possible sequences of these operations, up to a given number of steps. So, if the caller * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// we called sizeIfKnown and when we started reading the file (or I guess if // maxCharsPerByte is wrong) // Fallback to an incremental approach StringBuilder builder = new StringBuilder(bufIndex + 32); builder.append(buffer, 0, bufIndex); buffer = null; // release for gc CharStreams.copy(reader, builder);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// we called sizeIfKnown and when we started reading the file (or I guess if // maxCharsPerByte is wrong) // Fallback to an incremental approach StringBuilder builder = new StringBuilder(bufIndex + 32); builder.append(buffer, 0, bufIndex); buffer = null; // release for gc CharStreams.copy(reader, builder);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
this.remainingField = remainingFutures; } final Set<Throwable> getOrInitSeenExceptions() { /* * The initialization of seenExceptionsField has to be more complicated than we'd like. The * simple approach would be for each caller CAS it from null to a Set populated with its * exception. But there's another race: If the first thread fails with an exception and a second * thread immediately fails with the same exception:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
But this example is still valid and it shows how to interact with the internal components. /// We can also use this same approach to access the request body in an exception handler. All we need to do is handle the request inside a `try`/`except` block: {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
@Override public @Nullable Class<?> loadFinalizer() { if (disabled) { return null; } if (isAndroid()) { // We need not worry about class unloading under Android. Plus, this approach wouldn't work. return null; } ClassLoader systemLoader; try { systemLoader = ClassLoader.getSystemClassLoader(); } catch (SecurityException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
} } private static @Nullable Field getInheritableThreadLocalsField() { if (isAndroid()) { /* * We need not worry about class unloading under Android. Plus, this approach doesn't always * work under Android. * * (Clearing inheritableThreadLocals could still be useful independent of class unloading, but
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* * <p>We have chosen this approach over at least two alternatives: * * <ul> * <li>We could change the serialization of this class incompatibly. We have reserved the right * to make such changes to our serialized forms, and we have made them before, usually * without trouble. In this case, my guess is that our chosen approach is even less likely
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0)