- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 782 for WRITE (0.03 sec)
-
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
if (JAVA_IO_TMPDIR.value().equals("/sdcard")) { assertThrows(IOException.class, () -> out.write(data)); return; } out.write(data); assertTrue(Arrays.equals(data, source.read())); out.close(); assertThrows(IOException.class, () -> out.write(42)); // Verify that write had no effect assertTrue(Arrays.equals(data, source.read())); out.reset(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
baos.write(content.length); } else { baos.write(0x82); // length of length = 2 baos.write((content.length >> 8) & 0xFF); baos.write(content.length & 0xFF); } baos.write(content); return baos.toByteArray(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
baos.write(value & 0xFF); baos.write((value >> 8) & 0xFF); baos.write((value >> 16) & 0xFF); baos.write((value >> 24) & 0xFF); } private void writeLittleEndianLong(ByteArrayOutputStream baos, long value) { for (int i = 0; i < 8; i++) { baos.write((int) ((value >> (i * 8)) & 0xFF)); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
/* * Implemented by entries that use write order. Write entries are maintained in a doubly-linked * list. New entries are added at the tail of the list at write time and stale entries are * expired from the head of the list. */ /** Returns the time that this entry was last written, in ns. */ @SuppressWarnings("GoodTime") long getWriteTime(); /** Sets the entry write time in ns. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSink.java
return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) { @Override public void write(int c) throws IOException { super.write(c); flush(); } @Override public void write(char[] cbuf, int off, int len) throws IOException { super.write(cbuf, off, len); flush(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
* little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeInt(int v) throws IOException { out.write(0xFF & v); out.write(0xFF & (v >> 8)); out.write(0xFF & (v >> 16)); out.write(0xFF & (v >> 24)); } /** * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using * little-endian byte order. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
*/ public static final int SMB2_LEASE_HANDLE_CACHING = 0x02; /** * Write caching lease (W) */ public static final int SMB2_LEASE_WRITE_CACHING = 0x04; /** * Read and Handle caching (RH) */ public static final int SMB2_LEASE_READ_HANDLE = 0x03; /** * Read and Write caching (RW) */ public static final int SMB2_LEASE_READ_WRITE = 0x05; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
private val path = mutableListOf<String>() /** * False unless we made a recursive call to [write] at the current stack frame. The explicit box * adapter can clear this to synthesize non-constructed values that are embedded in octet strings. */ var constructed = false fun write( name: String, tagClass: Int, tag: Long, block: (BufferedSink) -> Unit, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
default void write(@Nonnull T content, @Nonnull Path path) throws XmlWriterException { write(XmlWriterRequest.<T>builder().content(content).path(path).build()); } default void write(@Nonnull T content, @Nonnull OutputStream outputStream) throws XmlWriterException { write(XmlWriterRequest.<T>builder() .content(content)
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt
) val bufferA = Buffer() val bufferB = Buffer() bufferA.writeUtf8("Dodgson!\n") operatorA.write(0, bufferA, 9) bufferB.writeUtf8("You shouldn't use my name.\n") operatorB.write(9, bufferB, 27) bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n") operatorA.write(36, bufferA, 33) operatorB.read(0, bufferB, 9) assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0)