Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 275 for float (0.04 seconds)

  1. 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)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {}, 0, new float[] {});
        testRotate(new float[] {}, 1, new float[] {});
    
        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});
    
    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)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {}, 0, new float[] {});
        testRotate(new float[] {}, 1, new float[] {});
    
        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});
    
    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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Test execute method with very large boost value
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = Float.MAX_VALUE;
    
            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  10. fastapi/param_functions.py

                """
            ),
        ] = None,
        gt: Annotated[
            float | None,
            Doc(
                """
                Greater than. If set, value must be greater than this. Only applicable to
                numbers.
                """
            ),
        ] = None,
        ge: Annotated[
            float | None,
            Doc(
                """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
Back to Top