- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 64 for factories (0.06 seconds)
-
android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java
int j = i & ARRAY_MASK; tmp += LongMath.mod(nonnegative[j], positive[j]); } return tmp; } @Benchmark int factorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += LongMath.factorial(factorialArguments[j]); } return tmp; } @Benchmark int binomial(int reps) { int tmp = 0;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import org.jspecify.annotations.NullMarked; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Chris Povirk */ @GwtCompatible @NullMarked final class Platform { /** Serializes and deserializes the specified object. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Locale; /** * Methods factored out so that they can be emulated differently in GWT. * * <p>This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 04 01:39:13 GMT 2022 - 1.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Platform.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Locale; /** * Methods factored out so that they can be emulated differently in GWT. * * <p>This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 04 01:39:13 GMT 2022 - 1.3K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java
* limitations under the License. */ package com.google.common.testing; import static com.google.common.base.Preconditions.checkNotNull; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Chris Povirk */ final class Platform { /** Serializes and deserializes the specified object (a no-op under GWT). */ @SuppressWarnings("unchecked")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/Platform.java
* the License. */ package com.google.common.escape; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Jesse Wilson */ @GwtCompatible final class Platform { private Platform() {} /** Returns a thread-local 1024-char array. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible final class Platform { static boolean isInstanceOfThrowableClass( @Nullable Throwable t, Class<? extends Throwable> expectedClass) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/Platform.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible final class Platform { static boolean isInstanceOfThrowableClass( @Nullable Throwable t, Class<? extends Throwable> expectedClass) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
} } // Depends on the correctness of BigIntegerMath.factorial. public void testFactorial() { for (int n = 0; n <= 50; n++) { BigInteger expectedBig = BigIntegerMath.factorial(n); int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; assertEquals(expectedInt, IntMath.factorial(n)); } } public void testFactorialNegative() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ final class Platform { static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) { /*Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 27 16:15:49 GMT 2025 - 2K bytes - Click Count (0)