- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Digges (6.17 sec)
-
cmd/erasure-server-pool.go
total := uint64(0) for _, z := range p { total += z.Available } return total } // FilterMaxUsed will filter out any pools that has used percent bigger than max, // unless all have that, in which case all are preserved. func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) { // We aren't modifying p, only entries in it, so we don't need to receive a pointer.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 26 06:32:14 GMT 2024 - 80.1K bytes - Viewed (0) -
src/bytes/bytes_test.go
if pos != -1 { t.Errorf("IndexByte(%q, 'x') = %v", b1, pos) } } } } // test a small index across all page offsets func TestIndexByteSmall(t *testing.T) { b := make([]byte, 5015) // bigger than a page // Make sure we find the correct byte even when straddling a page. for i := 0; i <= len(b)-15; i++ { for j := 0; j < 15; j++ { b[i+j] = byte(100 + j) } for j := 0; j < 15; j++ {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} // biggestZipBytes returns the bytes of a zip file biggest.zip // that contains a zip file bigger.zip that contains a zip file // big.zip that contains big.file, which contains 2³²-1 zeros. // The big.zip file is interesting because it has no zip64 header, // much like the innermost zip files in the well-known 42.zip. // // biggest.zip was generated by changing isZip64 to use > uint32max
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0)