- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 708 for Floats (0.05 seconds)
-
tensorflow/c/eager/gradient_checker_test.cc
TEST_P(GradientCheckerTest, TestMatMul) { float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f}; int64_t A_dims[] = {2, 2}; AbstractTensorHandlePtr A; { AbstractTensorHandle* A_raw; absl::Status s = TestTensorHandleWithDims<float, TF_FLOAT>( ctx_.get(), A_vals, A_dims, 2, &A_raw); ASSERT_EQ(errors::OK, s.code()) << s.message(); A.reset(A_raw); } float B_vals[] = {.5f, -1.0f, 1.0f, 1.0f};Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 6.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
/** * Returns a new array with the specified float value appended to the end of the float array. * * @param array * the array. Must not be {@literal null} * @param value * the value to add * @return a new array with the value appended */ public static float[] add(final float[] array, final float value) { assertArgumentNotNull("array", array);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 41.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparisonChain.java
*/ public abstract ComparisonChain compare(long left, long right); /** * Compares two {@code float} values as specified by {@link Float#compare}, <i>if</i> the result * of this comparison chain has not already been determined. */ public abstract ComparisonChain compare(float left, float right); /** * Compares two {@code double} values as specified by {@link Double#compare}, <i>if</i> the result
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
android/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/test_starlette_urlconvertors.py
def test_route_converters_float(): # Test float conversion response = client.get("/float/25.5") assert response.status_code == 200, response.text assert response.json() == {"float": 25.5} assert app.url_path_for("float_convertor", param=25.5) == "/float/25.5" # type: ignore def test_route_converters_path(): # Test path conversion
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Nov 27 14:46:06 GMT 2022 - 1.7K 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) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsElevateWordCQ.java
} public void setBoost_Equal(Float boost) { setBoost_Term(boost, null); } public void setBoost_Equal(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) { setBoost_Term(boost, opLambda); } public void setBoost_Term(Float boost) { setBoost_Term(boost, null); } public void setBoost_Term(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 64.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
} /** * Gets a Float value from the map. * * @param map The source map * @param key The key to look up * @return The Float value, or null if the key doesn't exist or value is null * @throws NumberFormatException if the value cannot be parsed as a Float */ public static Float getFloat(final Map<String, Object> map, final String key) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0) -
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) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
writeLong(Double.doubleToLongBits(v)); } /** * Writes a {@code float} as specified by {@link DataOutputStream#writeFloat(float)}, except using * little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeFloat(float v) throws IOException { writeInt(Float.floatToIntBits(v)); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0)