Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 727 for examples (0.04 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

          if (skipped == 0) {
            // Do a buffered read since skipSafely could return 0 repeatedly, for example if
            // in.available() always returns 0 (the default).
            int skip = (int) min(remaining, BUFFER_SIZE);
            if (buf == null) {
              // Allocate a buffer bounded by the maximum size that can be requested, for
              // example an array of BUFFER_SIZE is unnecessary when the value of remaining
              // is smaller.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * might not run some of its listeners. The likely result is that the app will hang. (And of
         * course stack overflows are bad news in general. For example, we may have overflowed in the
         * middle of defining a class. If so, that class will never be loadable in this process.) The
         * best we can do (since logging may overflow the stack) is to let the error propagate. Because
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMultiset.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMultiset} forward <b>indiscriminately</b> to
     * the methods of the delegate. For example, overriding {@link #add(Object, int)} alone <b>will
     * not</b> change the behavior of {@link #add(Object)}, which can lead to unexpected behavior. In
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Functions.java

       * NullPointerException} on null input.
       *
       * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
       * documented at {@link Function#apply}). For example, this function yields different results for
       * the two equal instances {@code ImmutableSet.of(1, 2)} and {@code ImmutableSet.of(2, 1)}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

        throw new NullPointerException("Both parameters are null");
      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * {@snippet :
       * // Returns "ClassName{}"
       * MoreObjects.toStringHelper(this)
       *     .toString();
       *
       * // Returns "ClassName{x=1}"
       * MoreObjects.toStringHelper(this)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. LICENSES/third_party/forked/gotestsum/LICENSE

          "Work" shall mean the work of authorship, whether in Source or
          Object form, made available under the License, as indicated by a
          copyright notice that is included in or attached to the work
          (an example is provided in the Appendix below).
    
          "Derivative Works" shall mean any work, whether in Source or Object
          form, that is based on (or derived from) the Work and for which the
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Fri Apr 01 18:49:15 UTC 2022
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                     * for the addresses hostname or failed lookups for one type will
                     * be cached and cause other types to fail even though they may
                     * not be the authority for the name. For example, if a WINS lookup
                     * for FOO fails and caches unknownAddress for FOO, a subsequent
                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/TraverserTest.java

       *
       * {@snippet :
       * a
       * }
       */
      private static final SuccessorsFunction<Character> SINGLE_ROOT = createSingleRootGraph();
    
      /**
       * A graph that is not a tree (for example, it has two antiparallel edge between {@code e} and
       * {@code f} and thus has a cycle) but is a valid input to {@link Traverser#forTree} when starting
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 47.4K bytes
    - Viewed (2)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

          hash *= 31;
          hash += Integer.hashCode(array[i]);
        }
        return hash;
      }
    
      /**
       * Returns a string representation of this array in the same form as {@link
       * Arrays#toString(int[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          hash *= 31;
          hash += Long.hashCode(array[i]);
        }
        return hash;
      }
    
      /**
       * Returns a string representation of this array in the same form as {@link
       * Arrays#toString(long[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top