Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for clicks (0.17 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
     * similar to those in this class for non-precondition checks.
     *
     * <h3>{@code java.util.Objects.requireNonNull()}</h3>
     *
     * <p>Projects which use {@code com.google.common} should generally avoid the use of {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

          @CheckForNull Type ownerType, Class<?> rawType, Type... arguments) {
        if (ownerType == null) {
          return newParameterizedType(rawType, arguments);
        }
        // ParameterizedTypeImpl constructor already checks, but we want to throw NPE before IAE
        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

        E[] array = (E[]) Iterables.toArray(elements);
        checkElementsNotNull(array);
        Arrays.sort(array, comparator);
        return asImmutableList(array);
      }
    
      /** Views the array as an immutable list. Checks for nulls; does not copy. */
      private static <E> ImmutableList<E> construct(Object... elements) {
        return asImmutableList(checkElementsNotNull(elements));
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

         * only under concurrent modification).
         *
         * To access these fields when you know that they are not null, call the pred() and succ()
         * methods, which perform null checks before returning the fields.
         */
        @CheckForNull private AvlNode<E> pred;
        @CheckForNull private AvlNode<E> succ;
    
        AvlNode(@ParametricNullness E elem, int elemCount) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

          for (int i = 0; i < nextBytes.length; i++) {
            resultBytes[i] += nextBytes[i];
          }
        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /** Checks that the passed argument is positive, and ceils it to a multiple of 32. */
      static int checkPositiveAndMakeMultipleOf32(int bits) {
        checkArgument(bits > 0, "Number of bits must be positive");
        return (bits + 31) & ~31;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

        // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected,
        // and reduces the false-positive probability.
        static final int MAX_RUN_MULTIPLIER = 13;
    
        /**
         * Checks the whole hash table for poor hash distribution. Takes O(n) in the worst case, O(n /
         * log n) on average.
         *
         * <p>The online hash flooding detecting in RegularSetBuilderImpl.add can detect e.g. many
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        } catch (Exception | Error unsafeFailure) { // sneaky checked exception
          thrownUnsafeFailure = unsafeFailure;
          // catch absolutely everything and fall through to our 'SafeAtomicHelper'
          // The access control checks that ARFU does means the caller class has to be AbstractFuture
          // instead of SafeAtomicHelper, so we annoyingly define these here
          try {
            helper =
                new SafeAtomicHelper(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. .github/workflows/scorecard.yml

    on:
      # For Branch-Protection check. Only the default branch is supported. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
      branch_protection_rule:
      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '45 9 * * 0'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top