- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 2,030 for writes (0.3 seconds)
-
internal/s3select/sql/record.go
type Record interface { Get(name string) (*Value, error) // Set a value. // Can return a different record type. Set(name string, value *Value) (Record, error) WriteCSV(writer io.Writer, opts WriteCSVOpts) error WriteJSON(writer io.Writer) error // Clone the record and if possible use the destination provided. Clone(dst Record) Record Reset() // Returns underlying representationCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.4K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt
import okio.Sink /** * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all * subsequent bytes. */ internal class TriggerSink( private val delegate: Sink, private val triggerByteCount: Long, private val trigger: () -> Unit, ) : Sink by delegate { private var bytesWritten = 0L override fun write( source: Buffer, byteCount: Long, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
public void testAsOutputStream() throws Exception { PrimitiveSink sink = mock(PrimitiveSink.class); OutputStream out = Funnels.asOutputStream(sink); byte[] bytes = {1, 2, 3, 4}; out.write(255); out.write(bytes); out.write(bytes, 1, 2); verify(sink).putByte((byte) 255); verify(sink).putBytes(bytes); verify(sink).putBytes(bytes, 1, 2); } public void testSerialization() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
loadChanges().mapValues { gson.toJson(AcceptedApiChanges(sortChanges(it.value))) }.forEach { it.key.bufferedWriter().use { out -> out.write(it.value) out.write("\n") } } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Apr 09 14:09:16 GMT 2025 - 1.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
val onException: (IOException) -> Unit, ) : ForwardingSink(delegate) { private var hasErrors = false override fun write( source: Buffer, byteCount: Long, ) { if (hasErrors) { source.skip(byteCount) return } try { super.write(source, byteCount) } catch (e: IOException) { hasErrors = true onException(e) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
try { // In real implementation, this would perform RDMA write: // Similar to rdmaRead but with IBV_WR_RDMA_WRITE opcode log.debug("DiSNI RDMA write completed, {} bytes", length); } catch (Exception e) { state = RdmaConnectionState.ERROR; throw new IOException("DiSNI RDMA write failed", e); } } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
SMBUtil.writeInt2(0, readBuffer, 12); // Reserved bytes // When int written = response.writeBytesWireFormat(writeBuffer, 5); int read = response.readBytesWireFormat(readBuffer, 10); // Then assertEquals(0, written); assertEquals(4, read); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
} } @Override public void write(int b) throws IOException { try { state.write(b); } finally { reachabilityFence(byteSource); } } @Override public void write(byte[] b) throws IOException { write(b, 0, b.length); } @Override public void write(byte[] b, int off, int len) throws IOException { try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java
* 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.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Write Response message. * * This response contains information about the write operation,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Create a temporary test file testFile = File.createTempFile("test_stopwords", ".txt"); testFile.deleteOnExit(); // Write test data to file try (FileOutputStream fos = new FileOutputStream(testFile)) { fos.write(getTestContent().getBytes(StandardCharsets.UTF_8)); } // Create a temporary project.properties file for SystemHelperCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0)