- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for Alice (0.18 sec)
-
cmd/bucket-replication-utils_test.go
expectedReplicationStatus replication.StatusType expectedOpType replication.Type expectedAction replicationAction }{ { // 1. empty tgtInfos slice name: "no replicated targets", tgtInfos: []replicatedTargetInfo{}, expectedCompletedSize: 0, expectedReplicationStatusInternal: "",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 08 20:27:40 GMT 2023 - 9.3K bytes - Viewed (0) -
cmd/speedtest.go
storageClass: opts.storageClass, bucketName: opts.bucketName, enableSha256: opts.enableSha256, } results := globalNotificationSys.SpeedTest(ctx, sopts) sort.Slice(results, func(i, j int) bool { return results[i].Endpoint < results[j].Endpoint }) totalPut := uint64(0) totalGet := uint64(0) for _, result := range results { totalPut += result.Uploads
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 28 18:04:17 GMT 2024 - 9K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 7.9K bytes - Viewed (2) -
istioctl/pkg/checkinject/checkinject.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cmd/net.go
var nonIPs []string for _, ip := range ipList { nip := net.ParseIP(ip) if nip != nil { ipV4s = append(ipV4s, nip) } else { nonIPs = append(nonIPs, ip) } } sort.Slice(ipV4s, func(i, j int) bool { // This case is needed when all ips in the list // have same last octets, Following just ensures that // 127.0.0.1 is moved to the end of the list. if ipV4s[i].IsLoopback() {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0) -
callbacks/helper_test.go
expect clause.Values }{ { name: "Test convert slice of string value", input: []map[string]interface{}{ {"name": "my name"}, }, expect: clause.Values{ Columns: []clause.Column{{Name: "name"}}, Values: [][]interface{}{{"my name"}}, }, }, { name: "Test convert slice of int value", input: []map[string]interface{}{ {"age": 18}, },
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 05 02:22:57 GMT 2024 - 3.4K bytes - Viewed (0) -
src/arena/arena_test.go
a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1 ts := arena.MakeSlice[T1](a, 99, 100) if len(ts) != 99 { t.Errorf("Slice() len = %d, want 99", len(ts)) } if cap(ts) != 100 { t.Errorf("Slice() cap = %d, want 100", cap(ts)) } ts[1].n = 42 } func TestSmokeLarge(t *testing.T) { a := arena.NewArena() defer a.Free() for i := 0; i < 10*64; i++ {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 742 bytes - Viewed (0) -
istioctl/pkg/util/configdump/route.go
return nil, err } drc := routeDump.GetDynamicRouteConfigs() // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. for i := range drc { drc[i].RouteConfig.TypeUrl = v3.RouteType } sort.Slice(drc, func(i, j int) bool { r := &route.RouteConfiguration{} err = drc[i].RouteConfig.UnmarshalTo(r) if err != nil { return false } name := r.Name err = drc[j].RouteConfig.UnmarshalTo(r)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 3.2K bytes - Viewed (0) -
internal/grid/msg.go
// if sequence numbers are unexpected. FlagStateless // FlagPayloadIsErr can be used by individual ops to signify that // The payload is a string error converted to byte slice. FlagPayloadIsErr // FlagPayloadIsZero means that payload is 0-length slice and not nil. FlagPayloadIsZero // FlagSubroute indicates that the message has subroute. // Subroute will be 32 bytes long and added before any CRC. FlagSubroute )
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 28 19:22:29 GMT 2023 - 7.3K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
} // hashOrder - hashes input key to return consistent // hashed integer slice. Returned integer order is salted // with an input key. This results in consistent order. // NOTE: collisions are fine, we are not looking for uniqueness // in the slices returned. func hashOrder(key string, cardinality int) []int { if cardinality <= 0 { // Returns an empty int slice for cardinality < 0. return nil } nums := make([]int, cardinality)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Viewed (0)