- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 680 for Enum (0.03 seconds)
-
fastapi/applications.py
from collections.abc import Awaitable, Callable, Coroutine, Sequence from enum import Enum from typing import Annotated, Any, TypeVar from annotated_doc import Doc from fastapi import routing from fastapi.datastructures import Default, DefaultPlaceholder from fastapi.exception_handlers import ( http_exception_handler, request_validation_exception_handler, websocket_request_validation_exception_handler, ) from fastapi.exceptions import (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Context.java
} } @SuppressWarnings("unchecked") private static <T extends Enum<T>> Object getSessionKeyInquireType(Class<?> inquireTypeClass) { return Enum.valueOf((Class<T>) inquireTypeClass, "KRB5_GET_SESSION_KEY"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
@NullMarked public class TreeMultimapExplicitTest extends TestCase { /** * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is * less than any non-null value. */ private enum StringLength implements Comparator<@Nullable String> { COMPARATOR; @Override public int compare(@Nullable String first, @Nullable String second) { if (first == second) { return 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
* will be constant across algorithms). * * @author Pete Gillin * @since 20.0 */ @GwtIncompatible @J2ktIncompatible @NullUnmarked enum QuantilesAlgorithm { /** * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once * and pick multiple values. */ SORTING { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 7.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
* * @author Nicholaus Shupe */ @NullUnmarked public class MapBenchmark { @Param({"Hash", "LinkedHM", "MapMaker1", "Immutable"}) private Impl impl; public enum Impl { Hash { @Override Map<Element, Element> create(Collection<Element> keys) { Map<Element, Element> map = new HashMap<>(); for (Element element : keys) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible public final class Booleans { private Booleans() {} /** Comparators for {@code Boolean} values. */ private enum BooleanComparator implements Comparator<Boolean> { TRUE_FIRST(1, "Booleans.trueFirst()"), FALSE_FIRST(-1, "Booleans.falseFirst()"); private final int trueValue; private final String toString;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
// it's expected that some of these will fail } Thread.yield(); } }); } /** Enum defining the two MoreFiles methods that delete directory contents. */ private enum DirectoryDeleteMethod { DELETE_DIRECTORY_CONTENTS { @Override public void delete(Path path, RecursiveDeleteOption... options) throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractIterator.java
private State state = State.NOT_READY; /** Constructor for use by subclasses. */ protected AbstractIterator() {} private enum State { /** We have computed the next element and haven't returned it yet. */ READY, /** We haven't yet computed or have already returned the element. */ NOT_READY,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java
* Specifies which type of repositories to query when resolving version ranges. * This controls whether to search in release repositories, snapshot repositories, or both. * * @since 4.0.0 */ enum Nature { /** * Query only release repositories to discover versions. */ RELEASE, /** * Query only snapshot repositories to discover versions. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
import java.lang.reflect.Method; import java.util.Set; import junit.framework.TestCase; /** * @author George van den Driessche */ public class FeatureUtilTest extends TestCase { enum ExampleFeature implements Feature<Object> { FOO, IMPLIES_FOO, IMPLIES_IMPLIES_FOO, BAR, IMPLIES_BAR, IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR; @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0)