- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 461 for enums (0.02 seconds)
-
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for various algorithms for computing the mean and/or variance. * * @author Louis Wasserman */ @NullUnmarked public class StatsBenchmark { enum MeanAlgorithm { SIMPLE { @Override double mean(double[] values) { double sum = 0.0; for (double value : values) { sum += value; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
@EnumSource(RequestParam.class) @DisplayName("send handles each RequestParam enum constant") void send_eachRequestParam_isAccepted(RequestParam param) throws Exception { // Arrange: stub per-call return to ensure interaction with the exact enum when(tree.send(eq(request), eq(param))).thenReturn(response); // ActCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlTest.java
assertNotNull(Curl.connect("http://proxy.example.com:3128")); } @Test public void test_HttpMethodEnumValues() { // ## Test that all expected HTTP methods are present in the enum ## // ## Act ## final Method[] methods = Method.values(); // ## Assert ## assertEquals(8, methods.length); // GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE, CONNECT
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
* * @since 4.0.0 * @see org.apache.maven.api.model.Dependency#getScope() * @see org.apache.maven.api.services.DependencyResolver */ @Experimental @Immutable public enum DependencyScope { /** * None. Allows you to declare dependencies (for example to alter reactor build order) but in reality dependencies * in this scope are not part of any path scope. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 19 14:33:26 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import java.util.concurrent.Executor; import org.jspecify.annotations.NullUnmarked; /** Measures the size of AbstractFuture implementations. */ @NullUnmarked public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE, FINISHED, CANCELLED, FAILED } @Param State state; @Param Impl impl; @Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"})Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
/** * Optional features of classes derived from {@code Map}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MapFeature implements Feature<Map> { /** * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)}, * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
} // In the unittest, create each ordered factory with its own set of lock // graph nodes (as opposed to using the static per-Enum map) to avoid // conflicts across different test runs. private <E extends Enum<E>> CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering( Class<E> enumClass, Policy policy) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 16.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java
if (StringUtil.isNotBlank(scriptType)) { return scriptType; } return Constants.DEFAULT_SCRIPT; } public enum ConfigType { WEB("W"), FILE("F"), DATA("D"); private final String typePrefix; ConfigType(final String typePrefix) { this.typePrefix = typePrefix; }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 5.6K bytes - Click Count (0)