- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,732 for rint (0.29 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// Given int sid = 0x1234; int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89 String name = "file.txt"; Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name); int expectedLen = 2 + 2 + 2 + 4 + 2 + name.length() + 1; byte[] dst = new byte[expectedLen]; // When int len = next.writeParametersWireFormat(dst, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[256]; int bufferIndex = 0; // Set wordCount to non-zero setFieldValue(response, "wordCount", 10); // Write test data to buffer int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE long lastWriteTime = System.currentTimeMillis(); int fileSize = 12345678;
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/main/java/jcifs/pac/PacDataInputStream.java
* @param mask the alignment mask (typically 2, 4, or 8) * @throws IOException if an I/O error occurs */ public void align(final int mask) throws IOException { final int position = this.size - this.dis.available(); final int shift = position & mask - 1; if (mask != 0 && shift != 0) { this.dis.skip(mask - shift); } } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
protected int primarySetupOffset; protected int secondaryParameterOffset; protected int parameterCount; protected int parameterOffset; protected int parameterDisplacement; protected int dataCount; protected int dataOffset; protected int dataDisplacement; int totalParameterCount; int totalDataCount; int maxParameterCount;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
static final int NB = 0x0020; static final int NBSTAT = 0x0021; static final int IN = 0x0001; static final int A = 0x0001; static final int NS = 0x0002; static final int NULL = 0x000a; static final int HEADER_LENGTH = 12; // header field offsets static final int OPCODE_OFFSET = 2; static final int QUESTION_OFFSET = 4; static final int ANSWER_OFFSET = 6;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
static final int NB = 0x0020; static final int NBSTAT = 0x0021; static final int IN = 0x0001; static final int A = 0x0001; static final int NS = 0x0002; static final int NULL = 0x000a; static final int HEADER_LENGTH = 12; // header field offsets static final int OPCODE_OFFSET = 2; static final int QUESTION_OFFSET = 4; static final int ANSWER_OFFSET = 6;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
int browserType = 0x01; when(mockNetbiosName.getNameType()).thenReturn(browserType); // When int type = mockNetbiosName.getNameType(); // Then assertEquals(browserType, type); } @Test @DisplayName("Should handle domain master browser") void testDomainMasterBrowser() { // Given int domainMasterType = 0x1B;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
*/ public class NbtSocket extends Socket { private static final int SSN_SRVC_PORT = 139; private static final int BUFFER_SIZE = 512; private static final int DEFAULT_SO_TIMEOUT = 5000; private static LogStream log = LogStream.getInstance(); private NbtAddress address; private Name calledName; private int soTimeout; /** * Constructs an unconnected NbtSocket. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
return bytesWritten; } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { if (throwOnRead) { throw new SMBProtocolDecodingException("Test exception"); } return bytesRead; } public void setBytesWritten(int bytes) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
} abstract int writeSetupWireFormat(byte[] dst, int dstIndex); abstract int writeParametersWireFormat(byte[] dst, int dstIndex); abstract int writeDataWireFormat(byte[] dst, int dstIndex); abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len); abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0)