- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 45 for Clason (0.49 sec)
-
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} /** * Just like fail(reason), but additionally recording (using threadRecordFailure) any * AssertionFailedError thrown, so that the current testcase will fail. */ public void threadFail(String reason) { try { fail(reason); } catch (AssertionFailedError t) { threadRecordFailure(t); fail(reason); } } /**
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* necessarily populated with header data because they're not writing * the header, only their body. But for whatever reason one might wish * to populate fields if the writeXxx operation needs this header data * for whatever reason. I copy over the uid here so it appears correct * in logging output. Logging of andx segments of messages inadvertantly
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} /** * Just like fail(reason), but additionally recording (using threadRecordFailure) any * AssertionFailedError thrown, so that the current testcase will fail. */ public void threadFail(String reason) { try { fail(reason); } catch (AssertionFailedError t) { threadRecordFailure(t); fail(reason); } } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* guarantee that as long as we also require the input type to be non-null[*] (which is a * requirement that existing callers already fulfill). * * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that * that is how the signature looked even prior to this comment! So naturally any change can break
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0)