- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 540 for enums (0.02 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) -
docs/zh-hant/docs/tutorial/query-params.md
在此例中,有 3 個查詢參數: * `needy`,必填的 `str`。 * `skip`,具有預設值 `0` 的 `int`。 * `limit`,選填的 `int`。 /// tip | 提示 你也可以像在[路徑參數](path-params.md#predefined-values)中一樣使用 `Enum`。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.1K bytes - Click Count (0) -
tensorflow/c/eager/abstract_operation.h
namespace tensorflow { // Abstract interface to an operation. // This interface allows building and executing an operation in either // tracing or immediate execution mode. class AbstractOperation { protected: enum AbstractOperationKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler }; explicit AbstractOperation(AbstractOperationKind kind) : kind_(kind) {} virtual ~AbstractOperation() {}Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 7.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
assertThat(ordering.toString()).isEqualTo("Ordering.usingToString()"); assertThat(reserialize(ordering)).isSameInstanceAs(ordering); } // use an enum to get easy serializability private enum CharAtFunction implements Function<String, Character> { AT0(0), AT1(1), AT2(2), AT3(3), AT4(4), AT5(5), ; final int index;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
assertThat(ordering.toString()).isEqualTo("Ordering.usingToString()"); assertThat(reserialize(ordering)).isSameInstanceAs(ordering); } // use an enum to get easy serializability private enum CharAtFunction implements Function<String, Character> { AT0(0), AT1(1), AT2(2), AT3(3), AT4(4), AT5(5), ; final int index;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
* * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency. * * @author Louis Wasserman */ @NullUnmarked public class ApacheBenchmark { private enum Impl { GUAVA { @Override public double factorialDouble(int n) { return DoubleMath.factorial(n); } @Override public int gcdInt(int a, int b) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
* * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency. * * @author Louis Wasserman */ @NullUnmarked public class ApacheBenchmark { private enum Impl { GUAVA { @Override public double factorialDouble(int n) { return DoubleMath.factorial(n); } @Override public int gcdInt(int a, int b) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.9K bytes - Click Count (0) -
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-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
.that(ArbitraryInstances.get(mutableClass)) .isNotSameInstanceAs(instance); } } private enum EmptyEnum {} private enum Direction { UP, DOWN } public interface SomeInterface {} public abstract static class SomeAbstractClass {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
public static <E> MultisetTestSuiteBuilder<E> using(TestMultisetGenerator<E> generator) { return new MultisetTestSuiteBuilder<E>().usingGenerator(generator); } public enum NoRecurse implements Feature<Void> { NO_ENTRY_SET; @Override public Set<Feature<? super Void>> getImpliedFeatures() { return emptySet(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.5K bytes - Click Count (0)