- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 620 for esum (0.04 seconds)
-
src/test/java/jcifs/smb/RequestParamTest.java
} // Sanity: Enum.valueOf(Class, String) behaves identically to RequestParam.valueOf(String) @Test @DisplayName("Enum.valueOf mirrors RequestParam.valueOf for valid names") void enumValueOfParity() { for (RequestParam rp : RequestParam.values()) { assertSame(rp, Enum.valueOf(RequestParam.class, rp.name())); } }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
fastapi/encoders.py
import dataclasses import datetime from collections import defaultdict, deque from decimal import Decimal from enum import Enum from ipaddress import ( IPv4Address, IPv4Interface, IPv4Network, IPv6Address, IPv6Interface, IPv6Network, ) from pathlib import Path, PurePath from re import Pattern from types import GeneratorType from typing import Annotated, Any, Callable, Optional, Union from uuid import UUID
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/ResolverTypeTest.java
import org.junit.jupiter.api.Test; /** * Tests for the {@link ResolverType} enum. * This class ensures that the enum constants are defined as expected. */ class ResolverTypeTest { /** * Tests that all expected enum constants exist. */ @Test void testEnumConstants() { // Verify that each enum constant exists and can be referencedCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial002b_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 323 bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
* * @author Mike Bostock * @since 2.0 */ @GwtCompatible @J2ktIncompatible public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>> extends AbstractBiMap<K, V> { /* * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
import java.util.Set; import org.dbflute.utflute.core.PlainTestCase; /** * Test class for CrawlerStatus enum. * Tests all enum functionality including values, valueOf, ordinal, and serialization. */ public class CrawlerStatusTest extends PlainTestCase { /** * Test that all expected enum values exist */ public void test_enumValues() { CrawlerStatus[] values = CrawlerStatus.values();Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 15.8K bytes - Click Count (0) -
fastapi/types.py
import types from enum import Enum from typing import Any, Callable, Optional, TypeVar, Union from pydantic import BaseModel DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) UnionType = getattr(types, "UnionType", Union) ModelNameMap = dict[Union[type[BaseModel], type[Enum]], str] IncEx = Union[set[int], set[str], dict[int, Any], dict[str, Any]]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 455 bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/Os.kt
* limitations under the License. */ package common enum class Arch( val suffix: String, val nameOnLinuxWindows: String, val nameOnMac: String, ) { AMD64("64bit", "amd64", "x86_64"), AARCH64("aarch64", "aarch64", "aarch64"), ; fun asName() = name.lowercase().toCapitalized() } enum class Os( val agentRequirement: String, val androidHome: String,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Sep 18 12:22:32 GMT 2025 - 3.7K bytes - Click Count (0) -
tests/test_schema_compat_pydantic_v2.py
from pydantic import BaseModel from tests.utils import needs_py310 @pytest.fixture(name="client") def get_client(): from enum import Enum app = FastAPI() class PlatformRole(str, Enum): admin = "admin" user = "user" class OtherRole(str, Enum): ... class User(BaseModel): username: str role: PlatformRole | OtherRole @app.get("/users")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
this.enumConstants = type.getEnumConstants(); this.counts = new int[enumConstants.length]; } private boolean isActuallyE(@Nullable Object o) { if (o instanceof Enum) { Enum<?> e = (Enum<?>) o; int index = e.ordinal(); return index < enumConstants.length && enumConstants[index] == e; } return false; } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0)