- Sort Score
- Result 10 results
- Languages All
Results 1251 - 1260 of 1,453 for Write (0.02 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
int expectedAlignedSize = (expectedSize + 7) & ~7; assertEquals(expectedAlignedSize, request.size()); } @Test @DisplayName("writeBytesWireFormat should write correct structure") void testWriteBytesWireFormat() { byte[] buffer = new byte[256]; int offset = 64; // Start at offset to test proper indexingRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 0x00, SMBUtil.SMB2_HEADER[5]); } @ParameterizedTest @CsvSource({ "0, 0", "1, 1", "255, 255", "256, 256", "65535, 65535", "65536, 0", // Overflow test for 2-byte write "16777215, 16777215" }) void testWriteReadInt2RoundTrip(long input, int expected) { byte[] buffer = new byte[4]; SMBUtil.writeInt2(input, buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.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.util; import java.util.concurrent.Callable; import java.util.concurrent.atomic.AtomicInteger;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
byte[] buffer = new byte[256]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Should still write the parameters correctly assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0)); assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2)); assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.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.smb1.smb1; import java.io.IOException; import java.io.InputStream;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
} try (InputStream in = Files.newInputStream(tempFile)) { out.write(in); } } finally { Files.delete(tempFile); } }); } // -----------------------------------------------------Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 18.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
taskFaker.runTasks() } private fun connectHttp2( peer: MockHttp2Peer, realConnection: RealConnection, maxConcurrentStreams: Int, ): Http2Connection { // Write the mocking script. val settings1 = Settings() settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams peer.sendFrame().settings(settings1) peer.acceptFrame() // ACK
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.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.smb; import static org.junit.jupiter.api.Assertions.assertEquals;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.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.smb1.smb1; /** * Interface defining NT status codes used in SMB1 protocol operations.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0)