- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 339 for slices (0.09 sec)
-
api/go1.22.txt
pkg net/netip, method (AddrPort) Compare(AddrPort) int #61642 pkg os, method (*File) WriteTo(io.Writer) (int64, error) #58808 pkg reflect, func PtrTo //deprecated #59599 pkg reflect, func TypeFor[$0 interface{}]() Type #60088 pkg slices, func Concat[$0 interface{ ~[]$1 }, $1 interface{}](...$0) $0 #56353 pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-386-cgo), type SysProcAttr struct, PidFD *int #51246
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
}) if err != nil { err = fmt.Errorf("decommissionObject: PutObject() %w", err) } return err } // versionsSorter sorts FileInfo slices by version. // //msgp:ignore versionsSorter type versionsSorter []FileInfo func (v versionsSorter) reverse() { sort.Slice(v, func(i, j int) bool { return v[i].ModTime.Before(v[j].ModTime) }) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 42.1K bytes - Viewed (1) -
src/archive/tar/writer.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar import ( "errors" "fmt" "io" "io/fs" "maps" "path" "slices" "strings" "time" ) // Writer provides sequential writing of a tar archive. // [Writer.WriteHeader] begins a new file with the provided [Header],
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
src/archive/tar/reader_test.go
// license that can be found in the LICENSE file. package tar import ( "bytes" "compress/bzip2" "errors" "fmt" "hash/crc32" "io" "maps" "math" "os" "path" "reflect" "slices" "strconv" "strings" "testing" "time" ) func TestReader(t *testing.T) { vectors := []struct { file string // Test input file headers []*Header // Expected output headers
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
cmd/utils.go
} // mapKeysSorted returns the map keys as a sorted slice. func mapKeysSorted[Map ~map[K]V, K ordered, V any](m Map) []K { res := make([]K, 0, len(m)) for k := range m { res = append(res, k) } slices.Sort(res) return res
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
doc/go_spec.html
Except for <a href="#Constants">untyped strings</a>, if the sliced operand is a string or slice, the result of the slice operation is a non-constant value of the same type as the operand. For untyped string operands the result is a non-constant value of type <code>string</code>. If the sliced operand is an array, it must be <a href="#Address_operators">addressable</a> and the result of the slice operation is a slice with the same element type as the array. </p>
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0) -
cmd/object-api-utils.go
return bucketName == minioReservedBucket } // returns a slice of hosts by reading a slice of DNS records func getHostsSlice(records []dns.SrvRecord) []string { hosts := make([]string, len(records)) for i, r := range records { hosts[i] = net.JoinHostPort(r.Host, string(r.Port)) } return hosts } // returns an online host (and corresponding port) from a slice of DNS records
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
cmd/server-main.go
package cmd import ( "bytes" "context" "encoding/hex" "errors" "fmt" "io" "log" "math/rand" "net" "os" "os/signal" "path/filepath" "runtime" "slices" "strings" "syscall" "time" "github.com/coreos/go-systemd/v22/daemon" "github.com/dustin/go-humanize" "github.com/minio/cli" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4) -
cmd/admin-handlers-users.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "encoding/json" "errors" "fmt" "io" "maps" "net/http" "os" "slices" "sort" "strconv" "strings" "time" "unicode/utf8" "github.com/klauspost/compress/zip" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
cmd/sts-handlers_test.go
}) if err != nil { c.Fatalf("GetLDAPPolicyEntities should not fail: %v", err) } { // Check that the mapping we created exists. idx := slices.IndexFunc(policyResult.PolicyMappings, func(e madmin.PolicyEntities) bool { return e.Policy == policy && slices.Contains(e.Groups, actualGroupDN) }) if idx < 0 { c.Fatalf("expected groupDN (%s) to be present in mapping list: %#v", actualGroupDN, policyResult) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 100.2K bytes - Viewed (1)