- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 195 for Ints (0.03 sec)
-
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Floats.toArray(bytes)).isEqualTo(array); assertThat(Floats.toArray(shorts)).isEqualTo(array); assertThat(Floats.toArray(ints)).isEqualTo(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Floats.toArray(bytes)).isEqualTo(array); assertThat(Floats.toArray(shorts)).isEqualTo(array); assertThat(Floats.toArray(ints)).isEqualTo(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 }) @DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(value, dst, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200, 500, 1000 }) @DisplayName("Should handle various token sizes") void testVariousTokenSizes(int tokenSize) throws Exception { // Given byte[] token = createTestData(tokenSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* {@code toIndex > fromIndex} * @since 32.0.0 */ public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) { // See Ints.rotate for more details about possible algorithms here. checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* {@code toIndex > fromIndex} * @since 32.0.0 */ public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) { // See Ints.rotate for more details about possible algorithms here. checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.concurrent.LazyInit; import com.google.j2objc.annotations.RetainedWith; import java.io.InvalidObjectException;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
assertNotNull(response.getServerGuid()); } @ParameterizedTest @DisplayName("Should throw exception for invalid structure size") @ValueSource(ints = { 0, 1, 64, 66, 128 }) void testReadBytesWireFormatInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256]; SMBUtil.writeInt2(structureSize, buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* constructors with arguments. MUST be a power of two no greater than {@code 1<<30} to ensure * that entries are indexable using ints. */ static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO; /** The maximum number of segments to allow; used to bound constructor arguments. */ static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
for (boolean s : success) { assertTrue(s); } } @DisplayName("Test exception handling for invalid information levels") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE }) void testInvalidInformationLevels(int invalidLevel) { // Skip valid levels
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0)