- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 31 for factorial (0.09 seconds)
-
android/guava/src/com/google/common/collect/Collections2.java
final ImmutableList<E> inputList; PermutationCollection(ImmutableList<E> input) { this.inputList = input; } @Override public int size() { return IntMath.factorial(inputList.size()); } @Override public boolean isEmpty() { return false; } @Override public Iterator<List<E>> iterator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0) -
guava/src/com/google/common/math/LongMath.java
* * @throws IllegalArgumentException if {@code n < 0} */ @GwtIncompatible // TODO public static long factorial(int n) { checkNonNegative("n", n); return (n < factorials.length) ? factorials[n] : Long.MAX_VALUE; } static final long[] factorials = { 1L, 1L, 1L * 2, 1L * 2 * 3, 1L * 2 * 3 * 4, 1L * 2 * 3 * 4 * 5, 1L * 2 * 3 * 4 * 5 * 6,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 03 21:01:09 GMT 2025 - 46.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
FactoryMethodReturnsNullException { if (cls.isEnum()) { return; } List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); if (factories.isEmpty()) { return; } int numberOfParameters = factories.get(0).getParameters().size(); List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
MockitoAnnotations.initMocks(this); Map<String, ToolchainFactory> factories = new HashMap<>(); factories.put("basic", toolchainFactoryBasicType); factories.put("rare", toolchainFactoryRareType); when(lookup.lookupMap(ToolchainFactory.class)).thenReturn(factories); when(lookup.lookupMap(org.apache.maven.toolchain.ToolchainFactory.class)) .thenReturn(Map.of());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 11K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
@Test void testMetadataGeneratorFactory() throws ComponentLookupException { List<MetadataGeneratorFactory> factories = plexusContainer.lookupList(MetadataGeneratorFactory.class); assertNotNull(factories); factories.forEach(f -> System.out.println(f.getClass().getName())); assertEquals(3, factories.size()); } @Test void testProjectDependencies() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import java.lang.Thread.UncaughtExceptionHandler; import java.util.Locale; /** * Factories for {@link UncaughtExceptionHandler} instances. * * @author Gregory Kick * @since 8.0 */ @J2ktIncompatible @GwtIncompatible public final class UncaughtExceptionHandlers {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 10 21:03:40 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
holder.addCommandRegistry(builtins); // gather commands Map<String, ShellCommandRegistryFactory> factories = context.lookup.lookupMap(ShellCommandRegistryFactory.class); for (Map.Entry<String, ShellCommandRegistryFactory> entry : factories.entrySet()) { holder.addCommandRegistry(entry.getValue().createShellCommandRegistry(context)); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 10.1K bytes - Click Count (0) -
guava/src/com/google/common/io/package-info.java
* and files. * * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are * factories for I/O streams that provide many convenience methods that handle both opening and * closing streams for you. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import java.lang.Thread.UncaughtExceptionHandler; import java.util.Locale; /** * Factories for {@link UncaughtExceptionHandler} instances. * * @author Gregory Kick * @since 8.0 */ @J2ktIncompatible @GwtIncompatible public final class UncaughtExceptionHandlers {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 10 21:03:40 GMT 2025 - 2.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
private lateinit var client: OkHttpClient @BeforeEach fun setUp() { // Sockets on some platforms can have large buffers that mean writes do not block when // required. These socket factories explicitly set the buffer sizes on sockets created. server = MockWebServer() server.serverSocketFactory = object : DelegatingServerSocketFactory(getDefault()) { @Throws(SocketException::class)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0)