- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 93 for xLongs (1.19 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
@ParameterizedTest @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L }) void testWriteReadInt4RoundTrip(long input) { byte[] buffer = new byte[8]; SMBUtil.writeInt4(input, buffer, 0); int result = SMBUtil.readInt4(buffer, 0); assertEquals((int) (input & 0xFFFFFFFFL), result); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
} /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE }) public void testEncodeWithVariousValues(long val) throws NdrException { NdrHyper hyper = new NdrHyper(val); // Create buffer with extra space for alignment
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
import static java.lang.Byte.toUnsignedInt; import static java.nio.charset.StandardCharsets.UTF_8; import com.google.common.primitives.Chars; import com.google.common.primitives.Ints; import com.google.common.primitives.Longs; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.ByteOrder;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
.build(), ) val webSocket = newWebSocket() clientListener.assertOpen() val server = serverListener.assertOpen() as RealWebSocket Thread.sleep(1000) // No pings and no pongs. assertThat(webSocket.sentPingCount()).isEqualTo(0) assertThat(webSocket.receivedPingCount()).isEqualTo(0) assertThat(webSocket.receivedPongCount()).isEqualTo(0) assertThat(server.sentPingCount()).isEqualTo(0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
@Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @ParameterizedTest @DisplayName("Should handle boundary values for capacity") @ValueSource(longs = { 0L, 1L, -1L, 1024L, 1048576L, 1073741824L, Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE - 1, Long.MIN_VALUE + 1 }) void shouldHandleBoundaryValuesForCapacity(long capacity) { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Bytes.toArray(bytes)).isEqualTo(array); assertThat(Bytes.toArray(shorts)).isEqualTo(array); assertThat(Bytes.toArray(ints)).isEqualTo(array); assertThat(Bytes.toArray(floats)).isEqualTo(array); assertThat(Bytes.toArray(longs)).isEqualTo(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
*/ protected void processRemaining(ByteBuffer bb) { Java8Compatibility.position(bb, bb.limit()); // move at the end Java8Compatibility.limit(bb, chunkSize + 7); // get ready to pad with longs while (bb.position() < chunkSize) { bb.putLong(0); } Java8Compatibility.limit(bb, chunkSize); Java8Compatibility.flip(bb); process(bb); } @Override @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
return false; } @Override public int hashCode() { return SequentialFunnel.class.hashCode() ^ elementFunnel.hashCode(); } } /** * Returns a funnel for longs. * * @since 13.0 */ public static Funnel<Long> longFunnel() { return LongFunnel.INSTANCE; } private enum LongFunnel implements Funnel<Long> { INSTANCE; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
return false; } @Override public int hashCode() { return SequentialFunnel.class.hashCode() ^ elementFunnel.hashCode(); } } /** * Returns a funnel for longs. * * @since 13.0 */ public static Funnel<Long> longFunnel() { return LongFunnel.INSTANCE; } private enum LongFunnel implements Funnel<Long> { INSTANCE; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
/** * Returns statistics over a dataset containing the given values. * * @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 static Stats of(long... values) { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(values); return accumulator.snapshot();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.8K bytes - Viewed (0)