- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 433 for readings2 (0.04 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 40)); // WriteChannelInfoOffset assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 42)); // WriteChannelInfoLength assertEquals(0x01, SMBUtil.readInt4(buffer, headerStart + 44)); // Write flags // Verify data offset is written correctly int dataOffsetValue = SMBUtil.readInt2(buffer, headerStart + 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.fileType = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.deviceState = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.directory = (buffer[bufferIndex++] & 0xFF) > 0; return bufferIndex - start; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java
final int start = bufferIndex; bufferIndex += 2; // reserved dataCompactionMode = readInt2(buffer, bufferIndex); bufferIndex += 4; // 2 reserved dataLength = readInt2(buffer, bufferIndex); bufferIndex += 2; dataOffset = readInt2(buffer, bufferIndex); bufferIndex += 12; // 10 reserved return bufferIndex - start; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
int read = response.readParametersWireFormat(buffer, 0, 10); assertEquals(0, read); } @Test void testReadDataWireFormat_SmbInfoAllocation() throws Exception { // Test reading SMB_INFO_ALLOCATION data response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Prepare buffer with SmbInfoAllocation data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object. Then we can test that it is used. ## Reading a `.env` file { #reading-a-env-file } If you have many settings that possibly change a lot, maybe in different environments, it might be useful to put them on a file and then read them from it as if they were environment variables.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
server.signaturesEnabled = (server.securityMode & 0x04) == 0x04; server.signaturesRequired = (server.securityMode & 0x08) == 0x08; server.maxMpxCount = readInt2(buffer, bufferIndex); bufferIndex += 2; server.maxNumberVcs = readInt2(buffer, bufferIndex); bufferIndex += 2; server.maxBufferSize = readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
final int start = bufferIndex; setStatus(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.converter = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; setNumEntries(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.totalAvailableEntries = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Test that the subcommand is properly set assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand()); } @Test void testReadParametersWireFormat() { // Test reading parameters from a properly formatted buffer byte[] buffer = new byte[20]; // Set up the buffer with test data // sid (2 bytes) buffer[0] = 0x01; buffer[1] = 0x00;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
int off = 0; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0x12345678, SMBUtil.readInt4(buf, off)); off += 4; assertEquals(blob.length, SMBUtil.readInt2(buf, off)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test that an IOException is thrown if the input stream does not provide enough bytes. // Simulate reading less than 6 bytes. when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(5); // Simulate reading only 5 bytes SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); byte[] buffer = new byte[6];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)