- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 758 for optimal (0.04 seconds)
-
guava/src/com/google/common/io/CharSource.java
} @Override public Optional<Long> lengthIfKnown() { long result = 0L; for (CharSource source : sources) { Optional<Long> lengthIfKnown = source.lengthIfKnown(); if (!lengthIfKnown.isPresent()) { return Optional.absent(); } result += lengthIfKnown.get(); } return Optional.of(result); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.3K bytes - Click Count (0) -
internal/config/callhome/help.go
Type: "on|off", Description: "set to enable callhome" + defaultHelpPostfix(Enable), Optional: true, }, config.HelpKV{ Key: Frequency, Type: "duration", Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency), Optional: true, }, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jun 06 23:14:52 GMT 2022 - 1.4K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/pom.xml
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.2</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 992 bytes - Click Count (0) -
android/guava/src/com/google/common/base/Enums.java
} catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing * user input or falling back to a default enum constant. For example, {@code
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
docs_src/separate_openapi_schemas/tutorial002_py39.py
from typing import Optional from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: Optional[str] = None app = FastAPI(separate_input_output_schemas=False) @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 518 bytes - Click Count (0) -
tests/test_callable_endpoint.py
from functools import partial from typing import Optional from fastapi import FastAPI from fastapi.testclient import TestClient def main(some_arg, q: Optional[str] = None): return {"some_arg": some_arg, "q": q} endpoint = partial(main, "foo") app = FastAPI() app.get("/")(endpoint) client = TestClient(app) def test_partial(): response = client.get("/?q=bar") data = response.json()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Jun 28 18:13:30 GMT 2020 - 457 bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeMap.java
/** Puts all the associations from {@code rangeMap} into this range map (optional operation). */ void putAll(RangeMap<K, ? extends V> rangeMap); /** Removes all associations from this range map (optional operation). */ void clear(); /** * Removes all associations from this range map in the specified range (optional operation). *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.6K bytes - Click Count (0) -
tensorflow/c/c_api_experimental_test.cc
} // Checks the expected result of shape inference for the given `op`. void CheckOutputShapes( TFE_Op* op, const std::vector<absl::optional<std::vector<int64_t>>>& input_shapes_vec, const std::vector<TF_Tensor*>& input_tensors, const absl::optional<std::vector<int64_t>>& expected_shape) { // Create input_shapes. TF_ShapeAndTypeList* input_shapes =
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Click Count (0) -
fastapi/openapi/docs.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 10.1K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-2.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0)