Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 458 for optionally (0.06 seconds)

  1. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     * the License.
     */
    
    package com.google.common.util.concurrent.internal;
    
    
    /**
     * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure.
     *
     * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

    import org.gradle.api.tasks.Optional
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.api.tasks.VerificationException
    import org.gradle.api.tasks.options.Option
    import org.gradle.work.DisableCachingByDefault
    import java.io.File
    import java.net.URI
    
    /**
     * Validates and optionally fixes the computed target runtimes for projects
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/FlushablesTest.java

        // throw an exception on flush.
        setupFlushable(true);
        Flushables.flushQuietly(mockFlushable);
      }
    
      // Set up a flushable to expect to be flushed, and optionally to
      // throw an exception.
      private void setupFlushable(boolean shouldThrowOnFlush) throws IOException {
        mockFlushable = mock(Flushable.class);
        if (shouldThrowOnFlush) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/SortedMultiset.java

       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
       * optionally including {@code upperBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/SortedMultiset.java

       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
       * optionally including {@code upperBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/HashingOutputStream.java

       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
      // be (optionally) be combined with another if needed (with something like
      // MultiplexingOutputStream).
      public HashingOutputStream(HashFunction hashFunction, OutputStream out) {
        super(checkNotNull(out));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  7. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

     *     Guava 27.0
     */
    public final class InternalFutures {
      /**
       * Usually returns {@code null} but, if the given {@code Future} has failed, may <i>optionally</i>
       * return the cause of the failure. "Failure" means specifically "completed with an exception"; it
       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/FlushablesTest.java

        // throw an exception on flush.
        setupFlushable(true);
        Flushables.flushQuietly(mockFlushable);
      }
    
      // Set up a flushable to expect to be flushed, and optionally to
      // throw an exception.
      private void setupFlushable(boolean shouldThrowOnFlush) throws IOException {
        mockFlushable = mock(Flushable.class);
        if (shouldThrowOnFlush) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/AbstractMultiset.java

    /**
     * This class provides a skeletal implementation of the {@link Multiset} interface. A new multiset
     * implementation can be created easily by extending this class and implementing the {@link
     * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@link
     * #remove(Object, int)} to enable modifications to the multiset.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top