- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 54 for xLongs (0.04 sec)
-
android/guava/src/com/google/common/math/StatsAccumulator.java
} } /** * Adds the given values to the dataset. * * @param values a series of values, which will be converted to {@code double} values (this may * cause loss of precision for longs of magnitude over 2^53 (slightly over 9e15)) */ public void addAll(long... values) { for (long value : values) { add(value); } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); } @ParameterizedTest @DisplayName("Test with various timeout values") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L }) void testWithVariousTimeoutValues(long timeout) { // Setup String pipeName = "TestPipe";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList; import com.google.common.math.StatsTesting.ManyValues; import com.google.common.primitives.Doubles; import com.google.common.primitives.Longs; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 36.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
assertEquals(original.toString(), decoded.toString()); } /** * Test FileEndOfFileInformation with various end of file values */ @ParameterizedTest @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1024L, 1048576L }) @DisplayName("Test FileEndOfFileInformation with various values")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* IntMath} and {@link BigIntegerMath} respectively. For other common operations on {@code long} * values, see {@link com.google.common.primitives.Longs}. * * @author Louis Wasserman * @since 11.0 */ @GwtCompatible public final class LongMath { @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 03 21:01:09 UTC 2025 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Shorts.toArray(bytes)).isEqualTo(array); assertThat(Shorts.toArray(shorts)).isEqualTo(array); assertThat(Shorts.toArray(ints)).isEqualTo(array); assertThat(Shorts.toArray(floats)).isEqualTo(array); assertThat(Shorts.toArray(longs)).isEqualTo(array);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 27.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertDoesNotThrow(() -> request.setReadLength(length)); } @ParameterizedTest @DisplayName("Should handle various offsets") @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE }) void testVariousOffsets(long offset) { assertDoesNotThrow(() -> request.setOffset(offset)); } } @Nested
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Should throw NullPointerException when reading with null array assertThrows(NullPointerException.class, () -> sis.read((byte[]) null)); } @ParameterizedTest @ValueSource(longs = { 0L, -1L, -10L }) @DisplayName("Skip returns 0 for zero or negative values") void skipReturnsZeroForNegativeOrZero(long skipBytes) throws IOException { // Create message with 5 bytes of dataRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
// Serial form: // 1 signed byte for the strategy // 1 unsigned byte for the number of hash functions // 1 big endian int, the number of longs in our bitset // N big endian longs of our bitset DataOutputStream dout = new DataOutputStream(out); dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 19:23:59 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertDoesNotThrow(() -> request.setWriteFlags(Integer.MAX_VALUE)); } @ParameterizedTest @DisplayName("Should handle various offset values") @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE }) void testVariousOffsets(long offset) { assertDoesNotThrow(() -> request.setOffset(offset)); } @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0)