- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 620 for Double (0.28 seconds)
-
guava/src/com/google/common/base/Preconditions.java
* * {@snippet : * public static double sqrt(double value) { * if (value < 0) { * throw new IllegalArgumentException("input is negative: " + value); * } * // calculate square root * } * } * * <p>to be replaced with the more compact * * {@snippet : * public static double sqrt(double value) { * checkArgument(value >= 0, "input is negative: %s", value);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.cc
buf->data_deallocator = [](void* data, size_t length) { tensorflow::port::Free(data); }; } TFE_MonitoringBuckets* TFE_MonitoringNewExponentialBuckets(double scale, double growth_factor, int bucket_count) { return new TFE_MonitoringBuckets([scale, growth_factor, bucket_count]() {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 35.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
kryo.register(Integer.class); kryo.register(int[].class); kryo.register(Long.class); kryo.register(long[].class); kryo.register(Double.class); kryo.register(double[].class); kryo.register(Float.class); kryo.register(float[].class); kryo.register(Boolean.class); kryo.register(boolean[].class); kryo.register(Byte.class);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
tensorflow/c/eager/c_api_experimental.h
// APIs for sampler buckets typedef struct TFE_MonitoringBuckets TFE_MonitoringBuckets; TF_CAPI_EXPORT extern TFE_MonitoringBuckets* TFE_MonitoringNewExponentialBuckets(double scale, double growth_factor, int bucket_count); TF_CAPI_EXPORT extern void TFE_MonitoringDeleteBuckets( TFE_MonitoringBuckets* buckets); // APIs for Sampler without label.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
guava-tests/test/com/google/common/math/LongMathTest.java
public void testSqrtOfPerfectSquareAsDoubleIsPerfect() { // This takes just over a minute on my machine. for (long n = 0; n <= LongMath.FLOOR_SQRT_MAX_LONG; n++) { long actual = (long) Math.sqrt((double) (n * n)); assertTrue(actual == n); } } public void testSqrtOfLongIsAtMostFloorSqrtMaxLong() { long sqrtMaxLong = (long) Math.sqrt(Long.MAX_VALUE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
// Test with numeric data Map<String, Object> numericData = new HashMap<>(); numericData.put("integer", 123); numericData.put("long", 456L); numericData.put("double", 789.0); callback.store(params, numericData); // Test with boolean data Map<String, Object> booleanData = new HashMap<>(); booleanData.put("flag", true);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
buffer.putInt(1); buffer.putInt(1); // When fileFsSizeInfo.decode(buffer.array(), 0, 24); double percentFree = (fileFsSizeInfo.getFree() * 100.0) / fileFsSizeInfo.getCapacity(); double percentUsed = ((fileFsSizeInfo.getCapacity() - fileFsSizeInfo.getFree()) * 100.0) / fileFsSizeInfo.getCapacity(); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test_util.cc
TF_DeleteTensor(t); TF_DeleteStatus(status); return th; } TFE_TensorHandle* DoubleTestMatrixTensorHandle(TFE_Context* ctx) { int64_t dims[] = {2, 2}; double data[] = {1.0, 2.0, 3.0, 4.0}; TF_Status* status = TF_NewStatus(); TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_DOUBLE, &dims[0], sizeof(dims) / sizeof(int64_t), status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 23.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
*/ public class CrawlerRuleMimeTypePatternTest extends UnitFessTestCase { // Pattern from webFileRule in rule.xml // Note: In XML, single backslash is used. In Java string, we need to double it. private static final String WEB_FILE_RULE_PATTERN = "(application/xml" // + "|application/xhtml\\+xml" // + "|application/rdf\\+xml" // + "|application/pdf" //Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
internal/kms/context.go
// array position can be safely represented inside a JSON string, embedded // inside of HTML <script> tags, without any additional escaping. // // All values are true except for the ASCII control characters (0-31), the // double quote ("), the backslash character ("\"), HTML opening and closing // tags ("<" and ">"), and the ampersand ("&"). var htmlSafeSet = [utf8.RuneSelf]bool{ ' ': true, '!': true, '"': false,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 6K bytes - Click Count (0)