- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 153 for reading1 (0.03 sec)
-
cmd/bitrot.go
if algo != HighwayHash256S { h := algo.New() if n, err := io.Copy(h, r); err != nil || n != wantSize { // Premature failure in reading the object, file is corrupt. return errFileCorrupt } if !bytes.Equal(h.Sum(nil), want) { return errFileCorrupt } return nil } h := algo.New() hashBuf := make([]byte, h.Size())Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (0) -
cmd/erasure-object_test.go
if err != nil { t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err) } gr.Close() const expectedHash = "fffb6377948ebea75ad2b8058e849ef5" foundHash := fmt.Sprintf("%x", h.Sum(nil)) if foundHash != expectedHash { t.Fatalf("Expected data to have md5sum = `%s`, found `%s`", expectedHash, foundHash) } } // Test reading an object with some outdated data in some disksRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
doc/README.md
concatenated in sorted order by pathname. Files in the directory matching the glob "*stdlib/*minor" are treated specially. They should be in subdirectories corresponding to standard library package paths, and headings for those package paths will be generated automatically. Files in this repo's `api/next` directory must have corresponding files in `doc/next/*stdlib/*minor`.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 22 17:55:04 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/site-replication-utils_gen.go
} for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "v": z.Version, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Version") return } case "ss": err = z.Status.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Status") return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 14 15:16:40 UTC 2022 - 7.2K bytes - Viewed (0) -
docs/select/README.md
Type inference and automatic conversion of values is performed based on the context when the value is un-typed (such as when reading CSV data). If present, the CAST function overrides automatic conversion. The [mc sql](https://docs.min.io/community/minio-object-store/reference/minio-mc/mc-sql.html) command can be used for executing queries using the command line.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.6K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
if err != nil { err = msgp.WrapError(err, "Algorithm") return } case "DataBlocks": z.DataBlocks, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "DataBlocks") return } case "ParityBlocks": z.ParityBlocks, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "ParityBlocks") return } case "BlockSize":Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Dec 15 22:50:12 UTC 2024 - 41.4K bytes - Viewed (0) -
docs/auditlog/auditlog-echo.go
flag.IntVar(&port, "port", 8080, "Port to listen on") } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) defer r.Body.Close() if err != nil { log.Printf("Error reading request body: %v", err) w.WriteHeader(http.StatusBadRequest) return } log.Printf(">>> %s %s\n", r.Method, r.URL.Path) var out bytes.Buffer json.Indent(&out, body, "", " ")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/erasure-coding.go
lastShardSize := ceilFrac(lastBlockSize, int64(e.dataBlocks)) return numShards*e.ShardSize() + lastShardSize } // ShardFileOffset - returns the effective offset where erasure reading begins. func (e *Erasure) ShardFileOffset(startOffset, length, totalLength int64) int64 { shardSize := e.ShardSize() shardFileSize := e.ShardFileSize(totalLength) endShard := (startOffset + length) / e.blockSize
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
* * @param outputFile the converted output file * @param outExt the output file extension * @return the extracted text content * @throws ExtractException if an error occurs while reading the file */ protected String getOutputContent(final File outputFile, final String outExt) { final Extractor extractor = getExtractor(outExt); if (extractor != null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
private static final Logger logger = LogManager.getLogger(ESSourceReader.class); /** Queue of documents. */ protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>(); /** Flag indicating if reading is finished. */ protected final AtomicBoolean isFinished = new AtomicBoolean(false); /** Random number generator. */ protected final Random random = new Random(); /** OpenSearch client. */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0)