Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for Clason (0.17 sec)

  1. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      public void testBinomialLarge() {
        runBinomialTest(31, 100);
      }
    
      // Depends on the correctness of BigIntegerMath.factorial
      private static void runBinomialTest(int firstN, int lastN) {
        for (int n = firstN; n <= lastN; n++) {
          for (int k = 0; k <= n; k++) {
            BigInteger expected =
                BigIntegerMath.factorial(n)
                    .divide(BigIntegerMath.factorial(k))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      public void testBinomialLarge() {
        runBinomialTest(31, 100);
      }
    
      // Depends on the correctness of BigIntegerMath.factorial
      private static void runBinomialTest(int firstN, int lastN) {
        for (int n = firstN; n <= lastN; n++) {
          for (int k = 0; k <= n; k++) {
            BigInteger expected =
                BigIntegerMath.factorial(n)
                    .divide(BigIntegerMath.factorial(k))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ToStringHelperTest.java

    import com.google.common.collect.ImmutableMap;
    import java.util.Arrays;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreObjects#toStringHelper(Object)}.
     *
     * @author Jason Lee
     */
    @GwtCompatible
    public class ToStringHelperTest extends TestCase {
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_instance() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

        if (seq.length() <= maxLength) {
          String string = seq.toString();
          if (string.length() <= maxLength) {
            return string;
          }
          // if the length of the toString() result was > maxLength for some reason, truncate that
          seq = string;
        }
    
        return new StringBuilder(maxLength)
            .append(seq, 0, truncationLength)
            .append(truncationIndicator)
            .toString();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableList.java

      public final void sort(@Nullable Comparator<? super E> c) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Returns this list instance.
       *
       * @since 2.0
       * @deprecated There is no reason to use this; it always returns {@code this}.
       */
      @InlineMe(replacement = "this")
      @Deprecated
      @Override
      public final ImmutableList<E> asList() {
        return this;
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/math/LongMath.java

       * 0}.
       *
       * @throws IllegalArgumentException if {@code a < 0} or {@code b < 0}
       */
      public static long gcd(long a, long b) {
        /*
         * The reason we require both arguments to be >= 0 is because otherwise, what do you return on
         * gcd(0, Long.MIN_VALUE)? BigInteger.gcd would return positive 2^63, but positive 2^63 isn't an
         * int.
         */
    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)
  8. maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolationException.java

            super("The POM expression: " + expression + " could not be evaluated. Reason: " + message, cause);
    
            this.expression = expression;
            this.originalMessage = message;
        }
    
        public ModelInterpolationException(String expression, String message) {
            super("The POM expression: " + expression + " could not be evaluated. Reason: " + message);
    
            this.expression = expression;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
    
        @Override
        public void reset ( int key, String lastN ) {
            super.reset();
            this.lastName = lastN;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
        // The reason that we skip this method is discussed in a comment on the method.
        tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top