- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,627 for Pwrite (0.04 sec)
-
cmd/mrf_gen.go
// EncodeMsg implements msgp.Encodable func (z *PartialOperation) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 8 // write "Bucket" err = en.Append(0x88, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74) if err != nil { return } err = en.WriteString(z.Bucket) if err != nil { err = msgp.WrapError(err, "Bucket") return } // write "Object" err = en.Append(0xa6, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
// Use a new Writer because we don't support change the dynamic table // size after Writer constructed. val writer = Hpack.Writer(110, false, bytesOut) writer.writeHeaders(headerBlock) assertThat(bytesOut).isEqualTo(bytesIn) assertThat(writer.headerCount).isEqualTo(2) val tableLength = writer.dynamicTable.size var entry = writer.dynamicTable[tableLength - 1]!!
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
cmd/bitrot-whole.go
} func (b *wholeBitrotWriter) Write(p []byte) (int, error) { err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p) if err != nil { return 0, err } _, err = b.Hash.Write(p) if err != nil { return 0, err } return len(p), nil } func (b *wholeBitrotWriter) Close() error { return nil } // Returns whole-file bitrot writer.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/xl-storage_noatime_notsupported.go
package cmd import ( "os" ) var ( // No special option for reads on windows readMode = os.O_RDONLY // Write with sync no buffering only used only for `xl.meta` writes writeMode = os.O_SYNC
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 16:36:24 UTC 2024 - 1001 bytes - Viewed (0) -
internal/grid/connection.go
c.blockMessages.Store(&block) c.connMu.Unlock() } } // wsWriter writes websocket messages. type wsWriter struct { tmp [ws.MaxHeaderSize]byte } // writeMessage writes a message to w without allocations. func (ww *wsWriter) writeMessage(w io.Writer, s ws.State, op ws.OpCode, p []byte) error { const fin = true var frame ws.Frame if s.ClientSide() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
internal/config/subnet/subnet.go
} var body bytes.Buffer writer := multipart.NewWriter(&body) part, e := writer.CreateFormFile("file", filename) if e != nil { return "", e } if _, e = part.Write(payload); e != nil { return "", e } writer.Close() r, e := http.NewRequest(http.MethodPost, reqURL, &body) if e != nil { return "", e } r.Header.Add("Content-Type", writer.FormDataContentType()) return c.submitPost(r)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 27 16:35:36 UTC 2023 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
} } public void exportCsv(final Writer writer) { final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); final CsvConfig cfg = new CsvConfig(',', '"', '"'); cfg.setEscapeDisabled(false); cfg.setQuoteDisabled(false); @SuppressWarnings("resource") final CsvWriter csvWriter = new CsvWriter(writer, cfg); try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
logger.fine(() -> ">>> " + body); connection.setDoOutput(true); try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(connection.getOutputStream(), encoding))) { writer.write(body); writer.flush(); } } else if (bodyStream != null) { logger.fine(() -> ">>> <binary>");
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0) -
cmd/bitrot.go
} } } } // Close all the writers. func closeBitrotWriters(ws []io.Writer) { for _, w := range ws { if w != nil { if bw, ok := w.(io.Closer); ok { bw.Close() } } } } // Returns hash sum for whole-bitrot, nil for streaming-bitrot. func bitrotWriterSum(w io.Writer) []byte { if bw, ok := w.(*wholeBitrotWriter); ok { return bw.Sum(nil) } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0)