- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 354 for 0xff (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
for (int i = 0; i < dst.length; i++) { dst[i] = (byte) (i & 0xFF); } int startIndex = 5; int bytesWritten = notifyChange.writeSetupWireFormat(dst, startIndex); // Check that bytes before startIndex are unchanged for (int i = 0; i < startIndex; i++) { assertEquals((byte) (i & 0xFF), dst[i]); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java
e.name = readString(buffer, bufferIndex, 16, false); bufferIndex += 16; e.versionMajor = buffer[bufferIndex] & 0xFF; bufferIndex++; e.versionMinor = buffer[bufferIndex++] & 0xFF; e.type = readInt4(buffer, bufferIndex); bufferIndex += 4; int off = readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
buffer[i] = (byte) 0xFF; } int startIndex = 50; echoRequest.writeBytesWireFormat(buffer, startIndex); // Check bytes before written area are unchanged for (int i = 0; i < startIndex; i++) { assertEquals((byte) 0xFF, buffer[i]); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
serverData.encryptionKey = originalKey; // When - modify the original array originalKey[0] = (byte) 0xFF; // Then - the field should also be modified (same reference) assertEquals((byte) 0xFF, serverData.encryptionKey[0]); assertSame(originalKey, serverData.encryptionKey); } /** * Test multiple ServerData instances are independentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
} @Test @DisplayName("setFileId should update file ID") void testSetFileId() throws Exception { byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0xFF); request.setFileId(newFileId); Field fileIdField = Smb2FlushRequest.class.getDeclaredField("fileId"); fileIdField.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
byte[] quad = textToNumericFormatV4(dottedQuad); if (quad == null) { return null; } String penultimate = Integer.toHexString(((quad[0] & 0xff) << 8) | (quad[1] & 0xff)); String ultimate = Integer.toHexString(((quad[2] & 0xff) << 8) | (quad[3] & 0xff)); return initialPart + penultimate + ":" + ultimate; } private static byte parseOctet(String ipString, int start, int end) {
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/dcerpc/rpcTest.java
uuid.clock_seq_hi_and_reserved = (byte) 0x11; uuid.clock_seq_low = (byte) 0x22; uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; // Mock the derive method to return a buffer for node encoding when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer); // When: Encoding the UUIDRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
final byte[] addr = localInetAddress.getAddress(); localHostname = "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2); } /* * Create an NbtAddress for the local interface with * the name deduced above possibly with scope applied and
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should handle edge case with all 0xFF session key") void testDeriveKeys_AllFFSessionKey() { // Given byte[] ffSessionKey = new byte[16]; Arrays.fill(ffSessionKey, (byte) 0xFF); int dialect = Smb2Constants.SMB2_DIALECT_0311; // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0)