- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 480 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 Dec 26 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 Dec 26 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/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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
} // The basic MD4 atomic functions. private int FF(final int a, final int b, final int c, final int d, final int x, final int s) { final int t = a + (b & c | ~b & d) + x; return t << s | t >>> 32 - s; } private int GG(final int a, final int b, final int c, final int d, final int x, final int s) { final int t = a + (b & (c | d) | c & d) + x + 0x5A827999;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[offset + 9] = 0x01; // Sub-authority count for (int i = 0; i < 6; i++) { testBuffer[offset + 10 + i] = 0x00; } testBuffer[offset + 15] = 0x01; for (int i = 0; i < 4; i++) { testBuffer[offset + 16 + i] = 0x00; } // Test decode with offset int size = ace.decode(testBuffer, offset, testBuffer.length - offset);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
private byte[] data; private int decodeCallCount = 0; private boolean throwOnDecode = false; public TestCreateContextResponse(byte[] name) { this.name = name; } @Override public byte[] getName() { return name; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int structureSize) { byte[] buffer = new byte[1024]; int bufferIndex = 50; SMBUtil.writeInt2(structureSize, buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
} // Duplicate testFlags method removed - keeping the first one @ParameterizedTest @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 }) @DisplayName("Should handle various message sizes") void testVariousMessageSizes(int messageSize) { // When transformHeader.setOriginalMessageSize(messageSize); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Test size calculation int size = request.size(); int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 64; int expectedSize = (expectedRawSize + 7) & ~7; assertEquals(expectedSize, size); // Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
// High bytes should be dots assertTrue(output.contains("...")); } @ParameterizedTest @ValueSource(ints = { 1, 15, 16, 17, 31, 32, 33, 64, 128 }) @DisplayName("Should handle various data sizes in hexdump") void testHexdumpVariousSizes(int size) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)