- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 49 for Mittler (0.42 sec)
-
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
@DisplayName("Reads structure size 4 and returns 4 for various start indexes") void returnsFour_whenStructureSizeIsFour(int start) throws Exception { // Arrange: build a buffer that has the little-endian value 4 at 'start' int len = start + 2; // need at least two bytes from start byte[] buffer = new byte[len + 3]; SMBUtil.writeInt2(4, buffer, start);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten, "Should write 4 bytes"); // Check that structure size (4) is written as 2-byte little-endian assertEquals(4, buffer[offset] | (buffer[offset + 1] << 8), "Structure size should be 4"); assertEquals(0, buffer[offset + 2], "Reserved bytes should be 0");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect"); } // Helper methods to write numbers to byte array in little-endian format. private void writeInt2(int val, byte[] dst, int dstIndex) { dst[dstIndex++] = (byte) val; dst[dstIndex++] = (byte) (val >> 8); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
} /** * Evaluate XPath string to an XObject. * XPath namespace prefixes are resolved from the namespaceNode. * The implementation of this is a little slow, since it creates * a number of objects each time it is called. This could be optimized * to keep the same objects around, but then thread-safety issues would arise. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
private final NbtAddress queryAddress; private int numberOfNames; private final byte[] macAddress; private byte[] stats; NbtAddress[] addressArray; /* It is a little awkward but prudent to pass the quering address * so that it may be included in the list of results. IOW we do * not want to create a new NbtAddress object for this particularRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
@DisplayName("Should handle signed byte value correctly") void testReadBytesWireFormatSignedByteValue() { // Given byte[] buffer = new byte[10]; // Write 4 in little-endian format buffer[0] = 0x04; buffer[1] = 0x00; // When & Then assertDoesNotThrow(() -> { int bytesRead = response.readBytesWireFormat(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE, dst[0]); assertEquals(0x00, dst[1]); // Verify FID is written correctly (little-endian) int writtenFid = SMBUtil.readInt2(dst, 2); assertEquals(TEST_FID, writtenFid); } @Test @DisplayName("Test writeDataWireFormat with sufficient buffer")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[100]; int expectedLength = 0x12345678; // Write length in little-endian format SMBUtil.writeInt4(expectedLength, buffer, 0); int result = response.readParametersWireFormat(buffer, 0, buffer.length); assertEquals(4, result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
Type1Message type1 = new Type1Message(mockContext); byte[] messageBytes = type1.toByteArray(); // Then assertTrue(messageBytes.length >= 12); // Message type should be 1 (little endian) assertEquals(1, messageBytes[8] & 0xFF); assertEquals(0, messageBytes[9] & 0xFF); assertEquals(0, messageBytes[10] & 0xFF); assertEquals(0, messageBytes[11] & 0xFF); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]); assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]); assertEquals((byte) 'B', SMBUtil.SMB2_HEADER[3]); // Verify structure size (64 in little-endian) assertEquals((byte) 64, SMBUtil.SMB2_HEADER[4]); assertEquals((byte) 0x00, SMBUtil.SMB2_HEADER[5]); } @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)