- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,609 for writeLn (0.1 sec)
-
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
override fun contentType(): MediaType? { return null } @Throws( IOException::class, ) override fun writeTo(sink: BufferedSink) { for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
func (z *CheckPartsResp) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 1 // write "r" err = en.Append(0x81, 0xa1, 0x72) if err != nil { return } err = en.WriteArrayHeader(uint32(len(z.Results))) if err != nil { err = msgp.WrapError(err, "Results") return } for za0001 := range z.Results { err = en.WriteInt(z.Results[za0001]) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
src/archive/zip/register.go
var flateWriterPool sync.Pool func newFlateWriter(w io.Writer) io.WriteCloser { fw, ok := flateWriterPool.Get().(*flate.Writer) if ok { fw.Reset(w) } else { fw, _ = flate.NewWriter(w, 5) } return &pooledFlateWriter{fw: fw} } type pooledFlateWriter struct { mu sync.Mutex // guards Close and Write fw *flate.Writer } func (w *pooledFlateWriter) Write(p []byte) (n int, err error) { w.mu.Lock()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java
delegate.setFileComment(fileComment); } /** * Method write. * * @param writer a writer object. * @param settings a settings object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, Settings settings) throws IOException { try { delegate.write(writer, settings.getDelegate()); } catch (XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/contribute/concurrency.md
In OkHttp we expose a blocking API over a framed protocol. This document explains the code and policy that makes that work. ### Threads #### Application's calling thread
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
* * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not * called by readers. */ @ExperimentalOkHttpApi interface MockResponseBody { /** The length of this response in bytes, or -1 if unknown. */ val contentLength: Long @Throws(IOException::class) fun writeTo(sink: BufferedSink)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(settings, "settings cannot be null"); try (Writer out = output) { new SettingsStaxWriter().write(out, settings.getDelegate()); } catch (XMLStreamException e) { throw new IOException("Error writing settings", e); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/s3select/simdj/record.go
return sql.SelectFmtSIMDJSON, r.object } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { o := r.object elems, err := o.Parse(nil) if err != nil { return err } b, err := elems.MarshalJSON() if err != nil { return err } n, err := writer.Write(b) if err != nil { return err } if n != len(b) { return io.ErrShortWrite } return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
dout.writeByte(UnsignedBytes.checkedCast(numHashFunctions)); // note: checked at the c'tor dout.writeInt(bits.data.length()); for (int i = 0; i < bits.data.length(); i++) { dout.writeLong(bits.data.get(i)); } } /** * Reads a byte stream, which was written by {@linkplain #writeTo(OutputStream)}, into a {@code * BloomFilter}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 26.6K bytes - Viewed (0) -
statement.go
writer.WriteByte('(') for idx, d := range v { if idx > 0 { writer.WriteByte(',') } stmt.QuoteTo(writer, d) } writer.WriteByte(')') case clause.Expr: v.Build(stmt) case string: stmt.DB.Dialector.QuoteTo(writer, v) case []string: writer.WriteByte('(') for idx, d := range v { if idx > 0 { writer.WriteByte(',') } stmt.DB.Dialector.QuoteTo(writer, d)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0)