- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,121 for rewrite (0.07 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertNotNull(lockResponse); } @Nested @DisplayName("writeBytesWireFormat tests") class WriteBytesWireFormatTests { @Test @DisplayName("Should always return 0 for write bytes") void testWriteBytesWireFormat() { // Given byte[] dst = new byte[100]; int dstIndex = 0; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.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 jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Test @DisplayName("Should handle write at buffer boundary") void testWriteAtBufferBoundary() { byte[] buffer = new byte[100]; // Try to write at position that would exceed buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not * use this feature. * * ### Duplex APIs * * With regular request bodies it is not legal to write bytes to the sink passed to * [RequestBody.writeTo] after that method returns. For duplex requests bodies that condition is * lifted. Such writes occur on an application-provided thread and may occur concurrently with
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SneakyThrows.java
* However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SneakyThrows.java
* However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java
*/ public enum RequestType { /** Send operation */ SEND, /** Receive operation */ RECEIVE, /** RDMA read operation */ READ, /** RDMA write operation */ WRITE } private final long requestId; private final RequestType type; private final RdmaMemoryRegion memoryRegion; private volatile boolean completed;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/FileNotifyInformation.java
*/ int FILE_NOTIFY_CHANGE_SIZE = 0x00000008; /** * Any change to the last write-time of files in the watched directory or subtree causes a change notification wait * operation to return. The operating system detects a change to the last write-time only when the file is written * to the disk. For operating systems that use extensive caching, detection occurs only when the cache is
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
response.readDataWireFormat(buffer, buffer.length + 1, 10); }); } @Test @DisplayName("Should handle null buffer in write operations") void testWriteOperationsWithNullBuffer() { // Write operations return 0 when given null buffer - no exceptions thrown assertEquals(0, response.writeSetupWireFormat(null, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt()); doNothing().when(raf).writeShort(anyInt()); raf.writeUTF("é"); // 2-byte UTF-8 char // size prefix should be 2, and then write called with len=2 verify(raf).writeShort(eq(2)); verify(raf).write(any(byte[].class), eq(0), eq(2)); } @Test @DisplayName("write(byte[],off,0): returns without I/O")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)