- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for 0x7f (0.05 sec)
-
src/test/java/jcifs/util/HexdumpTest.java
@DisplayName("Hexdump Utility Tests") class HexdumpTest extends BaseTest { @Test @DisplayName("Should convert byte array to hex string") void testToHexString() { // Given byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 }; // When String result = Hexdump.toHexString(data); // Then assertNotNull(result); assertEquals("000FFF7F80", result); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
assertEquals(time / 1000, date.getTime() / 1000); // Test with null date (0x7fffffff ffffffff) byte[] nullData = new byte[] { (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, 0x7f }; pdis = createInputStream(nullData); assertNull(pdis.readFiletime()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
} if (length < 0) { throw new EOFException("EOF found when length expected"); } if (0xFF == length) { throw new IOException("invalid long form definite-length 0xFF"); } final int octetsCount = length & 0x7F; int octetsPos = 0; length = 0; do { final int octet = s.read(); if (octet < 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
int readDataAvailable = Integer.MAX_VALUE; int numberOfMessages = Integer.MAX_VALUE; int messageLength = Integer.MAX_VALUE; byte[] testData = { 0x7F, 0x7F, 0x7F, 0x7F }; // Write values to buffer SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex); SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("Various byte values are converted to uppercase hex") void testHexConversion() { byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("DC"); NtlmChallenge nc = new NtlmChallenge(challenge, dc);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
// is masked in order to correspond to the current table size. For example, if the table size // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value. // If a key hashes to 0x89abcdef the mask reduces it to 0x89abcdef & 0x7f == 0x6f. We'll call this // the "short hash". // // The `keys`, `values`, and `entries` arrays always have the same size as each other. They can be
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
} public void testEncodedLength_validStrings2() { HashMap<Integer, Integer> utf8Lengths = new HashMap<>(); utf8Lengths.put(0x00, 1); utf8Lengths.put(0x7f, 1); utf8Lengths.put(0x80, 2); utf8Lengths.put(0x7ff, 2); utf8Lengths.put(0x800, 3); utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3); utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4); utf8Lengths.put(MAX_CODE_POINT, 4);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
setPrivateField(response, "capabilities", 0x7F); // When int caps = response.getCapabilities(); // Then assertEquals(0x7F, caps); } @Test @DisplayName("Should return common capabilities") void testGetCommonCapabilities() throws Exception { // Given setPrivateField(response, "commonCapabilities", 0x3F); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
assertEquals((byte) 0xFF, originalFileId[0], "Original FileId should remain unchanged"); assertArrayEquals( new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF },
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); } @ParameterizedTest @MethodSource("int32Provider")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)