- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,507 for INT (0.01 sec)
-
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
* @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize == 9) { return this.readErrorResponse(buffer, bufferIndex); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// When int shortSize = shortReq.size(); int longSize = longReq.size(); // Then // SMB2_HEADER_LENGTH + 8 + path.length() * 2 (UTF-16LE) int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2; int expectedLongSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + longPath.length() * 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
} @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex;
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/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
}) void testWriteParametersWireFormatWithDifferentInfoLevels(int infoLevel, int expectedMappedValue) { trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, infoLevel); byte[] buffer = new byte[512]; trans2QueryPathInfo.writeParametersWireFormat(buffer, 0); // Check mapped information level int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
smbComRename = new SmbComRename(config, "old.txt", "new.txt"); int dstIndex = 2; // When int result = smbComRename.writeParameterWordsWireFormat(dst, dstIndex); // Then assertEquals(2, result); // Verify that search attributes are written correctly int expectedAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
api/go1.22.txt
pkg math/rand/v2, func NewZipf(*Rand, float64, float64, uint64) *Zipf #61716 pkg math/rand/v2, func NormFloat64() float64 #61716 pkg math/rand/v2, func Perm(int) []int #61716 pkg math/rand/v2, func Shuffle(int, func(int, int)) #61716 pkg math/rand/v2, func Uint32() uint32 #61716 pkg math/rand/v2, func Uint32N(uint32) uint32 #61716 pkg math/rand/v2, func Uint64() uint64 #61716
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// Given - large buffer with many notifications byte[] buffer = new byte[65536]; int offset = 0; setHeaderStart(response, 64); // Calculate space for notifications int notificationSize = 32; // Each notification int notificationCount = 100; int totalSize = notificationSize * notificationCount; // Write structure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
int currentOffset = 8; for (int i = 0; i < 3; i++) { // Set NextEntryOffset (104 bytes to next, 0 for last) SMBUtil.writeInt4(i < 2 ? 104 : 0, buffer, currentOffset); // FileIndex SMBUtil.writeInt4(i, buffer, currentOffset + 4); // Fill rest with zeros for minimal valid entry for (int j = 8; j < 102; j++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
byte[] dst = new byte[100]; int dstIndex = 50; // Act int result = response.writeSetupWireFormat(dst, dstIndex); // Assert assertEquals(0, result); } @Test @DisplayName("writeParametersWireFormat should return 0") void testWriteParametersWireFormat() { // Arrange byte[] dst = new byte[100]; int dstIndex = 0; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
// Fill buffer with known values for (int i = 0; i < buffer.length; i++) { 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)