- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 461 for enums (0.09 seconds)
-
android/guava-tests/test/com/google/common/base/PredicatesTest.java
public void testIn_compilesWithExplicitSupertype() { Collection<Number> nums = ImmutableSet.of(); Predicate<Number> p1 = Predicates.in(nums); Predicate<Object> p2 = Predicates.<Object>in(nums); // The next two lines are not expected to compile. // Predicate<Integer> p3 = Predicates.in(nums); // Predicate<Integer> p4 = Predicates.<Integer>in(nums); } @J2ktIncompatible @GwtIncompatible // NullPointerTester
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
RELEASE.md
* TF XLA * Add new enum value `MLIR_BRIDGE_ROLLOUT_SAFE_MODE_ENABLED` to `tf.config.experimental.mlir_bridge_rollout` to enable a \"safe\" mode. This runs the MLIR bridge only when an analysis of the graph only when an analysis of the graph determines that it is safe to run. * Add new enum value `MLIR_BRIDGE_ROLLOUT_SAFE_MODE_FALLBACK_ENABLED'Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Oct 28 22:27:41 GMT 2025 - 740.4K bytes - Click Count (3) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} /** * For a given Enum type, creates an immutable map from each of the Enum's values to a * corresponding LockGraphNode, with the {@code allowedPriorLocks} and {@code * disallowedPriorLocks} prepopulated with nodes according to the natural ordering of the * associated Enum values. */ @VisibleForTesting static <E extends Enum<E>> Map<E, LockGraphNode> createNodes(Class<E> clazz) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 35.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} /** * For a given Enum type, creates an immutable map from each of the Enum's values to a * corresponding LockGraphNode, with the {@code allowedPriorLocks} and {@code * disallowedPriorLocks} prepopulated with nodes according to the natural ordering of the * associated Enum values. */ @VisibleForTesting static <E extends Enum<E>> Map<E, LockGraphNode> createNodes(Class<E> clazz) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 35.9K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.24.md
- Omit enum declarations from the static openapi file captured at https://git.k8s.io/kubernetes/api/openapi-spec. This file is used to generate API clients, and use of enums in those generated clients (rather than strings) can break forward compatibility with additional future values in those fields. See https://issue.k8s.io/109177 for details....
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Thu Aug 24 00:02:43 GMT 2023 - 473.4K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* } * </pre> * * @param <T> The type of extensible enum to extend * @since 4.0.0 */ @Experimental @Consumer public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService { /** * Provides new values for the extensible enum. * <p> * This method is called by Maven during initialization to collect all custom enum values
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2.8K bytes - Click Count (0) -
cmd/setup-type.go
package cmd // SetupType - enum for setup type. type SetupType int const ( // UnknownSetupType - starts with unknown setup type. UnknownSetupType SetupType = iota // FSSetupType - FS setup type enum. FSSetupType // ErasureSDSetupType - Erasure single drive setup enum. ErasureSDSetupType // ErasureSetupType - Erasure setup type enum. ErasureSetupType
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 1.5K bytes - Click Count (0) -
docs_src/path_params/tutorial005_py39.py
from enum import Enum from fastapi import FastAPI class ModelName(str, Enum): alexnet = "alexnet" resnet = "resnet" lenet = "lenet" app = FastAPI() @app.get("/models/{model_name}") async def get_model(model_name: ModelName): if model_name is ModelName.alexnet: return {"model_name": model_name, "message": "Deep Learning FTW!"} if model_name.value == "lenet":
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 546 bytes - Click Count (0) -
tests/test_no_schema_split.py
# Made an issue in: # https://github.com/fastapi/fastapi/issues/14247 from enum import Enum from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, Field class MessageEventType(str, Enum): alpha = "alpha" beta = "beta" class MessageEvent(BaseModel):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java
import org.apache.maven.api.annotations.Nonnull; /** * Registry for extensible enum values that allows looking up enum instances by their identifiers. * <p> * This service provides access to all registered instances of a specific extensible enum type. * It's used internally by Maven and can also be used by plugins and extensions to access * custom enum values that have been registered through SPI providers. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 1.8K bytes - Click Count (0)