Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 207 for Normak (0.14 sec)

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

     *
     * <p>{@code Preconditions} uses {@link Strings#lenientFormat} to format error message template
     * strings. This only supports the {@code "%s"} specifier, not the full range of {@link
     * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the
     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
    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. android/guava/src/com/google/common/collect/TreeMultiset.java

          }
          value = newValue;
        }
    
        void clear() {
          value = null;
        }
      }
    
      private static final class AvlNode<E extends @Nullable Object> {
        /*
         * For "normal" nodes, the type of this field is `E`, not `@Nullable E` (though note that E is a
         * type that can include null, as in a TreeMultiset<@Nullable String>).
         *
    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)
  3. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      private static String hmacToString(String methodName, Key key) {
        return "Hashing."
            + methodName
            + "(Key[algorithm="
            + key.getAlgorithm()
            + ", format="
            + key.getFormat()
            + "])";
      }
    
      /**
       * Returns a hash function implementing the CRC32C checksum algorithm (32 hash bits) as described
       * by RFC 3720, Section 12.1.
       *
    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)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

       *
       * <p>In addition, any thread that has been signalled when its guard was satisfied acquires the
       * responsibility of signalling the next thread when it again relinquishes the lock. Unlike a
       * normal Condition, there is no guarantee that an interrupted thread has not been signalled,
       * since the concurrency control must manage multiple Conditions. So this method must generally be
       * called when waits are interrupted.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

            return false;
          }
        }
        return Iterators.elementsEqual(iterable1.iterator(), iterable2.iterator());
      }
    
      /**
       * Returns a string representation of {@code iterable}, with the format {@code [e1, e2, ..., en]}
       * (that is, identical to {@link java.util.Arrays Arrays}{@code
       * .toString(Iterables.toArray(iterable))}). Note that for <i>most</i> implementations of {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

        checkNotNull(mode);
        long div = p / q; // throws if q == 0
        long rem = p - q * div; // equals p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Strings.java

       * normal conditions.
       *
       * <p><b>Note:</b> For most string-formatting needs, use {@link String#format String.format},
       * {@link java.io.PrintWriter#format PrintWriter.format}, and related methods. These support the
       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CaseFormat.java

      /**
       * 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.
       */
      public final String to(CaseFormat format, String str) {
        checkNotNull(format);
        checkNotNull(str);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

              thread.setUncaughtExceptionHandler(uncaughtExceptionHandler);
            }
            return thread;
          }
        };
      }
    
      private static String format(String format, Object... args) {
        return String.format(Locale.ROOT, format, args);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

      public void testNameFormatWithPercentS_custom() {
        String format = "super-duper-thread-%s";
        ThreadFactory factory = builder.setNameFormat(format).build();
        for (int i = 0; i < 11; i++) {
          assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName());
        }
      }
    
      public void testNameFormatWithPercentD_custom() {
        String format = "super-duper-thread-%d";
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top