- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,756 for writeFn (0.04 sec)
-
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
SocketOutputStream(final OutputStream out) { super(out); } @Override public synchronized void write(final byte[] b, int off, final int len) throws IOException { if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) { throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java
} /** * Get maximum read/write size * * @return maximum read/write size in bytes */ public int getMaxReadWriteSize() { return maxReadWriteSize; } /** * Set maximum read/write size * * @param maxReadWriteSize maximum read/write size in bytes */ public void setMaxReadWriteSize(int maxReadWriteSize) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.1K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
ww, err := w.CreateHeader(f.header) if err != nil { t.Fatalf("unable to write previously parsed header: %s", err) } if _, err := ww.Write(f.content); err != nil { t.Fatalf("unable to write previously parsed content: %s", err) } } if err := w.Close(); err != nil { t.Fatalf("Unable to write archive: %s", err) } // TODO: We may want to check if the archive roundtrips. })
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import static org.junit.jupiter.api.Assertions.assertEquals;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
// Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes"); assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.index.writer; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * The SuggestWriterResult class is used to store and manage the results of a suggest writer operation. * It keeps track of any failures that occur during the operation. */ public class SuggestWriterResult { /**Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma.tcp; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
int bufferIndex = 0; // Write structure size (24) SMBUtil.writeInt2(24, buffer, bufferIndex); // Write oplock level at offset 2 byte expectedOplockLevel = (byte) 0x02; // SMB2_OPLOCK_LEVEL_II buffer[bufferIndex + 2] = expectedOplockLevel; // Write reserved field (4 bytes at offset 4) bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.fscc; import java.util.Date; import jcifs.internal.SMBProtocolDecodingException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbRandomAccessFile.write(42); assertEquals(1, smbRandomAccessFile.getFilePointer()); } @Test void testWriteByteArray() throws SmbException { byte[] testData = new byte[] { 0, 1, 2, 3, 4 }; // Mock the write operation doAnswer(new Answer<Void>() { @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)