- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 192 for Ints (0.01 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Then assertEquals(0, bytesWritten); } @DisplayName("Should write zero bytes at various offsets") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 50, 100, 255 }) void testWriteBytesWireFormatAtDifferentOffsets(int offset) { // Given byte[] buffer = new byte[256]; // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(1, SMBUtil.readInt4(smallBuffer, 16)); } @ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts") @ValueSource(ints = { 0, 1, 2, 5, 10, 20, 50, 100 }) void testSizeWithVariousLockCounts(int lockCount) { Smb2Lock[] locks = new Smb2Lock[lockCount]; for (int i = 0; i < lockCount; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.primitives.Doubles; import com.google.common.primitives.Ints; import java.math.BigInteger; import java.util.List; import java.util.stream.DoubleStream; import org.jspecify.annotations.NullUnmarked; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 23.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
import com.google.common.base.Function; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import java.util.AbstractCollection; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Iterator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
assertEquals("string,builder,buffer", result); } @ParameterizedTest @DisplayName("Should handle various element counts") @ValueSource(ints = { 1, 2, 5, 10, 20, 50, 100 }) void testJoinWithVariousElementCounts(int count) { CharSequence[] elements = new CharSequence[count]; for (int i = 0; i < count; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertTrue(str.contains("remark=null")); assertTrue(str.endsWith("]")); } @ParameterizedTest @DisplayName("Test toString with various type values") @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000003, 0x80000000, 0x80000001, 0xFFFFFFFF }) void testToStringWithVariousTypes(int type) { SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, type, TEST_REMARK);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
// Then // Note: getType() method does not exist in Type1Message assertEquals(original.getFlags(), parsed.getFlags()); } @ParameterizedTest @ValueSource(ints = { NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, NtlmFlags.NTLMSSP_NEGOTIATE_OEM, NtlmFlags.NTLMSSP_NEGOTIATE_NTLM, NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED, NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@code * 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well as * signed versions of methods for which signedness is an issue. * * <p>In addition, this class provides several static methods for converting an {@code int} to a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
* CRC(A000A000A000...), CRC(0B000B000B...), CRC(00C000C000C...), CRC(000D000D000D...) * and then to XOR them together. The strideTable enables us to hash an int followed by 12 * zero bytes (3 ints), while the byteTable is for advancing one byte at a time. * This algorithm is due to the paper "Everything we know about CRC but [are] afraid to forget" * by Kadatch and Jenkins, 2010. */ Crc32cHasher() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 21.2K bytes - Viewed (0)