- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for len (0.03 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
public byte[] initSecContext(byte[] token, int off, int len) throws CIFSException { if (token == null) { if (len == 0) { return new byte[0]; } throw new CIFSException("token is null but len > 0"); } if (off < 0 || len < 0 || off > token.length || off + len > token.length) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
byte[] buffer = new byte[200]; int bufferIndex = testCase[0]; int len = testCase[1]; // Act int result = response.readSetupWireFormat(buffer, bufferIndex, len); // Assert assertEquals(0, result, "Failed for bufferIndex=" + bufferIndex + ", len=" + len); } } @Test @DisplayName("readParametersWireFormat should return 0")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
final int len = super.decode(buffer, bufferIndex); if (this.byteCount == 0) { // otherwise hasMore may not be correctly set readBytesWireFormat(buffer, len + bufferIndex); } nextElement(); return len; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
@Override public void write(final byte b[], int off, int len) throws SmbException { if (len <= 0) { return; } // ensure file is open try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) { int w; do { w = len > this.writeSize ? this.writeSize : len; long cnt;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} /** * 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 { return readDirect(b, off, len); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
if (len <= 0) { return; } if (tmp == null) { throw new IOException("Bad file descriptor"); } ensureOpen(); if (LogStream.level >= 4) { SmbFile.log.println("write: fid=" + file.fid + ",off=" + off + ",len=" + len); } int w;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
align(4); int i = index; final int len = s.length(); Encdec.enc_uint32le(len + 1, buf, i); i += 4; Encdec.enc_uint32le(0, buf, i); i += 4; Encdec.enc_uint32le(len + 1, buf, i); i += 4; try { System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2); } catch (final UnsupportedEncodingException uee) {}
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0)