- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,501 for inte (0.77 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
int[] expectedSizes = { 16, 24, 32, 40, 48 }; for (int i = 0; i < contexts.length; i++) { contexts[i] = new MockCreateContextRequest("CTX" + i, expectedSizes[i]); } // Calculate total size int totalSize = 0; for (int i = 0; i < contexts.length; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
private final int outputBufferOffset; private byte padding; private byte readFlags; private int readLength; private long offset; private int minimumCount; private int channel; private int remainingBytes; private RdmaChannelInfo rdmaChannelInfo; /** * Constructs a SMB2 read request with the specified parameters * * @param configRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/Encodable.java
* * @author mbechler */ public interface Encodable { /** * Encodes this object into the specified byte array. * * @param dst the destination byte array to encode into * @param dstIndex the starting index in the destination array * @return encoded length */ int encode(byte[] dst, int dstIndex); /** * Returns the size in bytes that this object will occupy when encoded. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
*/ protected static String read(final Reader reader, final int initialCapacity) { int bufferSize; if (initialCapacity > 0 && initialCapacity <= MAX_BUF_SIZE) { bufferSize = initialCapacity; } else { bufferSize = DEFAULT_BUF_SIZE; } char[] buf = new char[bufferSize]; int size = 0; int len; try {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
*/ @Override public int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /** * Reads up to len bytes of data from this input stream into an array of bytes. * * @throws IOException if a network error occurs */ @Override public int read(final byte[] b, final int off, final int len) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
/** * The toString representation should include the class name and both * fields. This provides visibility into the debug output of the SMB * packet. */ @Test @DisplayName("happy: toString contains class info and field values") void testToStringContainsAllInfo() { int fid = 256; long lwt = 9876543210L; SmbComClose close = new SmbComClose(fid, lwt);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
@DisplayName("Test decode with aligned next entry offsets") @ValueSource(ints = { 0, 4, 8, 16, 32, 64, 128, 256, 1024 }) void testDecodeWithAlignedOffsets(int nextOffset) throws SMBProtocolDecodingException { byte[] buffer = createNotificationBufferWithNextOffset("aligned.txt", FileNotifyInformation.FILE_ACTION_ADDED, nextOffset); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @param off * @param tot * @return * @throws IOException */ private int sendFragments(final DcerpcMessage msg, final byte[] out, final NdrBuffer buf) throws IOException { int off = 0; final int tot = buf.getLength() - 24; while (off < tot) { int fragSize = tot - off; if (24 + fragSize > this.max_xmit) { // need fragementationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 500, 1024 }) void testReadDataWireFormatVariousSizes(int dataSize) throws SMBProtocolDecodingException { // Test with various data sizes within buffer limit byte[] testData = new byte[dataSize]; Arrays.fill(testData, (byte) 0xAB); byte[] buffer = new byte[dataSize + 100];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @DisplayName("Should write zero bytes at various offsets") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 50, 100, 255 })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0)