- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 431 for ints (0.02 sec)
-
android/guava/src/com/google/common/collect/CompactHashMap.java
void resizeEntries(int newCapacity) { this.entries = Arrays.copyOf(requireEntries(), newCapacity); this.keys = Arrays.copyOf(requireKeys(), newCapacity); this.values = Arrays.copyOf(requireValues(), newCapacity); } @CanIgnoreReturnValue private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) { Object newTable = CompactHashing.createTable(newCapacity);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
} /** Returns a -1 if unable to parse */ private static int tryParseDecimal(String string, int start, int end) { int decimal = 0; int max = Integer.MAX_VALUE / 10; // for int overflow detection for (int i = start; i < end; i++) { if (decimal > max) { return -1; } decimal *= 10; int digit = Character.digit(string.charAt(i), 10); if (digit < 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Given byte[] dst = new byte[100]; int dstIndex = 0; // When int result = response.writeBytesWireFormat(dst, dstIndex); // Then assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 99 }) @DisplayName("Should return 0 regardless of destination index")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@ParameterizedTest @ValueSource(ints = { 24, 32, 100, 1000, 10000 }) @DisplayName("Should handle various buffer sizes correctly") void testVariousBufferSizes(int bufferSize) throws SMBProtocolDecodingException { byte[] buffer = new byte[bufferSize]; FileFsSizeInformation info = new FileFsSizeInformation(); int decoded = info.decode(buffer, 0, Math.min(bufferSize, 24));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@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); assertEquals(24, encoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
} @ParameterizedTest @ValueSource(ints = { FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO, FileSystemInformation.FS_FULL_SIZE_INFO }) void testConstructorWithDifferentInformationLevels(int informationLevel) { // Test constructor with different information levels
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
}) void testGetTypeWithDifferentShareTypes(int inputType, int expectedType) { SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, inputType, TEST_REMARK); assertEquals(expectedType, info.getType()); } @Test @DisplayName("Test getType with hidden flag") void testGetTypeWithHiddenFlag() { // Hidden flag (0x80000000) should be masked out int hiddenPrinterType = 0x80000001; // Hidden printer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
} @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 }) @DisplayName("Should handle various NTLM flags") void testVariousNTLMFlags(int flag) { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
buffer[6] = 0; buffer[7] = 0; return buffer; } private byte[] createDfsReferralBufferWithMultipleReferrals(int numReferrals) { // Each referral structure needs 20 bytes, plus string data int referralSize = 20; int referralsDataSize = numReferrals * referralSize; // Add space for string data for each referral String testPath = "\\server\\share";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0)