- Sort Score
- Result 10 results
- Languages All
Results 1291 - 1300 of 1,596 for writeTo (0.04 sec)
-
guava/src/com/google/common/util/concurrent/ExecutionList.java
// drop the contract on the method that enforces this queue like behavior since depending on it // is likely to be a bug anyway. // N.B. All writes to the list and the next pointers must have happened before the above // synchronized block, so we can iterate the list without the lock held here. RunnableExecutorPair reversedList = null; while (list != null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
assertEquals(0x00, trans.maxSetupCount); assertEquals(2, trans.setupCount); assertEquals("\\PIPE\\", trans.name); } @Test @DisplayName("Test writeSetupWireFormat writes correct data") void testWriteSetupWireFormat() { // Arrange TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
.multiply(BigInteger.valueOf(10000L)); byte[] data = new byte[8]; long low = filetime.longValue(); long high = filetime.shiftRight(32).longValue(); // write little-endian data[0] = (byte) (low); data[1] = (byte) (low >> 8); data[2] = (byte) (low >> 16); data[3] = (byte) (low >> 24); data[4] = (byte) (high);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024); // Verify attributes are masked with 0x37 int expectedAttributes = searchAttributes & 0x37; // Write parameters to verify the masked value is used byte[] buffer = new byte[100]; int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0); // Read back the search attributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/uk/docs/tutorial/request-files.md
`UploadFile` має такі асинхронні `async` методи. Вони викликають відповідні методи файлу під капотом (використовуючи внутрішній `SpooledTemporaryFile`). * `write(data)`: Записує `data` (`str` або `bytes`) у файл. * `read(size)`: Читає `size` (`int`) байтів/символів з файлу. * `seek(offset)`: Переміщується до позиції `offset` (`int`) у файлі.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 22 22:01:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test getPadding method") void testGetPadding() { int padding = transaction.getPadding(); assertTrue(padding >= 0); } @Test @DisplayName("Test write operations") void testWriteOperations() { byte[] dst = new byte[1024]; // Initialize transaction buffer to avoid NPE transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.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: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
timeout: Int, timeUnit: TimeUnit, ): Boolean = try { this.skipAll(timeout, timeUnit) } catch (_: IOException) { false } /** * Returns true if new reads and writes should be attempted on this. * * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by * attempting to read with a short timeout. If the fails immediately we know the socket is
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/main/java/jcifs/smb/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.smb; /** * Interface defining NT status codes used in SMB protocol operations.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.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.witness; import java.io.IOException; import java.net.InetAddress;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0)