- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 364 for Float (0.58 seconds)
-
android/guava/src/com/google/common/primitives/Floats.java
* to the JDK until JDK 7. * * @param a the first {@code float} to compare * @param b the second {@code float} to compare * @return the result of invoking {@link Float#compare(float, float)} */ @InlineMe(replacement = "Float.compare(a, b)") public static int compare(float a, float b) { return Float.compare(a, b); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0) -
fastapi/params.py
serialization_alias: str | None = None, title: str | None = None, description: str | None = None, gt: float | None = None, ge: float | None = None, lt: float | None = None, le: float | None = None, min_length: int | None = None, max_length: int | None = None, pattern: str | None = None, regex: Annotated[Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
testRotate(new float[] {1}, -2, new float[] {1}); testRotate(new float[] {1}, -1, new float[] {1}); testRotate(new float[] {1}, 0, new float[] {1}); testRotate(new float[] {1}, 1, new float[] {1}); testRotate(new float[] {1}, 2, new float[] {1}); testRotate(new float[] {1, 2}, -3, new float[] {2, 1}); testRotate(new float[] {1, 2}, -1, new float[] {2, 1});Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
testRotate(new float[] {1}, -2, new float[] {1}); testRotate(new float[] {1}, -1, new float[] {1}); testRotate(new float[] {1}, 0, new float[] {1}); testRotate(new float[] {1}, 1, new float[] {1}); testRotate(new float[] {1}, 2, new float[] {1}); testRotate(new float[] {1, 2}, -3, new float[] {2, 1}); testRotate(new float[] {1, 2}, -1, new float[] {2, 1});Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckNonNegative_zeroFloat() { MathPreconditions.checkNonNegative("float", 0f); } public void testCheckNonNegative_maxFloat() { MathPreconditions.checkNonNegative("float", Float.MAX_VALUE); } public void testCheckNonNegative_minFloat() { MathPreconditions.checkNonNegative("float", Float.MIN_VALUE); } public void testCheckNonNegative_positiveFloat() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
tests/main.py
def get_path_param_gt(item_id: float = Path(gt=3)): return item_id @app.get("/path/param-gt0/{item_id}") def get_path_param_gt0(item_id: float = Path(gt=0)): return item_id @app.get("/path/param-ge/{item_id}") def get_path_param_ge(item_id: float = Path(ge=3)): return item_id @app.get("/path/param-lt/{item_id}") def get_path_param_lt(item_id: float = Path(lt=3)): return item_id
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.5K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/riscv64validation.s
VFMULVV X10, V2, V3 // ERROR "expected vector register in vs1 position" VFMULVF X10, V2, V3 // ERROR "expected float register in rs1 position" VFDIVVV X10, V2, V3 // ERROR "expected vector register in vs1 position" VFDIVVF X10, V2, V3 // ERROR "expected float register in rs1 position" VFRDIVVF X10, V2, V3 // ERROR "expected float register in rs1 position"
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Nov 13 12:17:37 GMT 2025 - 42.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java
Term term = new Term("title", "fuzzy"); FuzzyQuery fuzzyQuery = new FuzzyQuery(term); // Test with different boost values float[] boostValues = { 0.5f, 1.0f, 2.5f, 10.0f }; for (float boost : boostValues) { QueryBuilder result = queryProcessor.execute(context, fuzzyQuery, boost); assertNotNull(result);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.7K bytes - Click Count (0) -
tests/test_allow_inf_nan_in_enforcing.py
from fastapi.testclient import TestClient app = FastAPI() @app.post("/") async def get( x: Annotated[float, Query(allow_inf_nan=True)] = 0, y: Annotated[float, Query(allow_inf_nan=False)] = 0, z: Annotated[float, Query()] = 0, b: Annotated[float, Body(allow_inf_nan=False)] = 0, ) -> str: return "OK" client = TestClient(app) @pytest.mark.parametrize(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
Map<Float, String> m = ImmutableMap.of(4.0f, "A", 3.0f, "B", 2.0f, "C", 1.0f, "D"); Predicate<? super Integer> h = Predicates.equalTo(42); Function<? super String, Integer> g = new HashCodeFunction(); Function<Float, String> f = Functions.forMap(m, "F"); Predicate<Float> p1 = Predicates.compose(Predicates.compose(h, g), f); Predicate<Float> p2 = Predicates.compose(h, Functions.compose(g, f));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0)