- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 796 for Arrange (0.08 sec)
-
cmd/erasure-decode.go
stashBuffer []byte } // newParallelReader returns parallelReader. func newParallelReader(readers []io.ReaderAt, e Erasure, offset, totalLength int64) *parallelReader { r2b := make([]int, len(readers)) for i := range r2b { r2b[i] = i } bufs := make([][]byte, len(readers)) shardSize := int(e.ShardSize()) var b []byte // We should always have enough capacity, but older objects may be bigger
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/update_test.go
testCases := []struct { version string isOfficial bool }{ {"2017-09-29T19:16:56Z", true}, {"RELEASE.2017-09-29T19-16-56Z", false}, {"DEVELOPMENT.GOGET", false}, } for i, testCase := range testCases { _, err := minioVersionToReleaseTime(testCase.version) if (err == nil) != testCase.isOfficial { t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.isOfficial, err == nil) } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/namespace-lock.go
lockSource := getSource(2) start := UTCNow() const readLock = false success := make([]int, len(li.paths)) for i, path := range li.paths { if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) { timeout.LogFailure() for si, sint := range success { if sint == 1 { li.ns.unlock(li.volume, li.paths[si], readLock) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
clause/benchmarks_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Oct 07 12:14:14 UTC 2022 - 1.9K bytes - Viewed (0) -
src/archive/zip/example_test.go
}{ {"readme.txt", "This archive contains some text files."}, {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"}, {"todo.txt", "Get animal handling licence.\nWrite more examples."}, } for _, file := range files { f, err := w.Create(file.Name) if err != nil { log.Fatal(err) } _, err = f.Write([]byte(file.Body)) if err != nil { log.Fatal(err) } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
z.rebalMu.RLock() participants := make([]bool, len(z.rebalMeta.PoolStats)) for i, ps := range z.rebalMeta.PoolStats { // skip pools which have completed rebalancing if ps.Info.Status != rebalStarted { continue } participants[i] = ps.Participating } z.rebalMu.RUnlock() for poolIdx, doRebalance := range participants { if !doRebalance { continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 28.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
// Note these errors should be independent of the architecture. // Just run the test with amd64. parser := newParser("amd64") var buf strings.Builder parser.errorWriter = &buf for _, cat := range testcats { for _, test := range cat.tests { parser.allowABI = cat.allowABI parser.errorCount = 0 parser.lineNum++ if !parser.pseudo(test.pseudo, tokenize(test.operands)) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
src/builtin/builtin.go
) // uint8 is the set of all unsigned 8-bit integers. // Range: 0 through 255. type uint8 uint8 // uint16 is the set of all unsigned 16-bit integers. // Range: 0 through 65535. type uint16 uint16 // uint32 is the set of all unsigned 32-bit integers. // Range: 0 through 4294967295. type uint32 uint32 // uint64 is the set of all unsigned 64-bit integers. // Range: 0 through 18446744073709551615. type uint64 uint64
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0) -
src/bytes/example_test.go
} func ExampleLines() { text := []byte("Hello\nWorld\nGo Programming\n") for line := range bytes.Lines(text) { fmt.Printf("%q\n", line) } // Output: // "Hello\n" // "World\n" // "Go Programming\n" } func ExampleSplitSeq() { s := []byte("a,b,c,d") for part := range bytes.SplitSeq(s, []byte(",")) { fmt.Printf("%q\n", part) } // Output: // "a" // "b"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
if err, ok = e.(error); e != nil && !ok { t.Fatal(e) } }() parse() return nil } func testBadOperandParser(t *testing.T, parser *Parser, tests []badOperandTest) { for _, test := range tests { err := tryParse(t, func() { parser.start(lex.Tokenize(test.input)) addr := obj.Addr{} parser.operand(&addr) }) switch { case err == nil:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 23.9K bytes - Viewed (0)