- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,133 for rewrite (0.35 sec)
-
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) -
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) -
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) -
android/guava/src/com/google/common/io/Files.java
* java.nio.file.Files#write(java.nio.file.Path, byte[], java.nio.file.OpenOption...)}. * * @param from the bytes to write * @param to the destination file * @throws IOException if an I/O error occurs */ public static void write(byte[] from, File to) throws IOException { asByteSink(to).write(from); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K 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/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) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); writer.write(STRING); writer.close(); assertTrue(sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testWrite_string() throws IOException { assertEquals("", sink.getString()); sink.write(STRING); assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.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; /** * Constants for SMB2/SMB3 protocol. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
/** * Test for the writeSetupWireFormat method. * It should always return 0. */ @Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; // The method should not write anything and return 0 assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0."); } /** * Test for the writeParametersWireFormat method.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0)