- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 390 for Double (0.04 sec)
-
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
Set<Class<?>> primitives = Primitives.allPrimitiveTypes(); assertThat(primitives) .containsExactly( boolean.class, byte.class, char.class, double.class, float.class, int.class, long.class, short.class, void.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
private static final String S2 = "44 one million"; private static final String S3 = "Lowly laundry lefties"; private static final String S4 = "89273487U#*&#"; private static final Double D0 = 9.234d; private static final Double D1 = -1.2e55; @Benchmark int hashString_2(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Objects.hashCode(S0, S1); } return dummy; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
} /** * Get error rate (errors / total requests) * * @return error rate between 0.0 and 1.0 */ public double getErrorRate() { long total = requestsSent.get(); if (total == 0) return 0.0; return (double) errors.get() / total; } /** * Get throughput in bytes per second * * @return throughput in bps */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
return proactiveHealthCheckEnabled; } public double getHealthCheckSuccessRate() { return totalHealthChecks > 0 ? 1.0 - ((double) failedHealthChecks / totalHealthChecks) : 1.0; } public double getPoolUtilization() { return maxPoolSize > 0 ? (double) activeConnections / maxPoolSize : 0.0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
@CanIgnoreReturnValue public final Hasher putBoolean(boolean b) { return putByte(b ? (byte) 1 : (byte) 0); } @Override @CanIgnoreReturnValue public final Hasher putDouble(double d) { return putLong(Double.doubleToRawLongBits(d)); } @Override @CanIgnoreReturnValue public final Hasher putFloat(float f) { return putInt(Float.floatToRawIntBits(f)); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu May 26 01:48:41 UTC 2022 - 4.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
* well-tested. A purist would object to this, but what can I say, we're dirty cheaters. */ map.put(Integer.class, new Integer(5)); assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42))); // Won't compile: map.put(String.class, "x"); } public void testPutAndGetInstance() { assertNull(map.putInstance(Integer.class, new Integer(5)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
@CanIgnoreReturnValue PrimitiveSink putLong(long l); /** Puts a float into this sink. */ @CanIgnoreReturnValue PrimitiveSink putFloat(float f); /** Puts a double into this sink. */ @CanIgnoreReturnValue PrimitiveSink putDouble(double d); /** Puts a boolean into this sink. */ @CanIgnoreReturnValue PrimitiveSink putBoolean(boolean b); /** Puts a character into this sink. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.9K bytes - Viewed (0)