- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Ordering (3.56 sec)
-
cmd/object_api_suite_test.go
} if len(result.Objects) != 2 { t.Errorf("%s: Expected length of objects to be %d, instead found to be %d", instanceType, 2, len(result.Objects)) } } // check ordering of pages. { result, err = obj.ListObjects(context.Background(), "bucket", "", "", "", 1000) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } if result.Objects[0].Name != "newPrefix" {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 32.3K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
value any } // String implements the Stringer interface. func (pv *PathValue) String() string { return fmt.Sprintf("%s:%v", pv.path, pv.value) } // ObjectSet is a set of objects maintained both as a slice (for ordering) and map (for speed). type ObjectSet struct { objSlice object.K8sObjects objMap map[string]*object.K8sObject keySlice []string } // NewObjectSet creates a new ObjectSet from objs and returns a pointer to it.
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
src/archive/tar/writer.go
} */ _ = realSize // Write PAX records to the output. isGlobal := hdr.Typeflag == TypeXGlobalHeader if len(paxHdrs) > 0 || isGlobal { // Sort keys for deterministic ordering. var keys []string for k := range paxHdrs { keys = append(keys, k) } sort.Strings(keys) // Write each record to a buffer. var buf strings.Builder for _, k := range keys {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// // Note that SortedList is used here because the istio sets class has no order guarantees, // and our unit tests will flake if rules have a nondeterministic ordering. // CLI: -t mangle -A ISTIO_PRERT -s 169.254.7.127 -p tcp -m tcp --dport <PROBEPORT> -j ACCEPT // // DESC: If this is one of our node-probe ports and is from our SNAT-ed/"special" hostside IP, short-circuit out here
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
cmd/xl-storage.go
if err != nil { return s, err } diskID := format.Erasure.This if m != ep.SetIdx || n != ep.DiskIdx { storageLogOnceIf(context.Background(), fmt.Errorf("unexpected drive ordering on pool: %s: found drive at (set=%s, drive=%s), expected at (set=%s, drive=%s): %s(%s): %w", humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
lib/time/mkzip.go
// go run ../../mkzip.go ../../zoneinfo.zip // // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get // a reproducible generator that does not depend on which version of the // external zip tool is used or the ordering of file names in a directory // or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath" "strings" )
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Viewed (0) -
cmd/erasure-sets.go
return } if currentDisk := s.erasureDisks[setIndex][diskIndex]; currentDisk != nil { if !reflect.DeepEqual(currentDisk.Endpoint(), disk.Endpoint()) { err = fmt.Errorf("Detected unexpected drive ordering refusing to use the drive: expecting %s, found %s, refusing to use the drive", currentDisk.Endpoint(), disk.Endpoint()) printEndpointError(endpoint, err, false) disk.Close() s.erasureDisksMu.Unlock()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 37.7K bytes - Viewed (5) -
internal/bucket/lifecycle/lifecycle_test.go
} if !tc.hasRules && len(rules) > 0 { t.Fatalf("%d: Expected no rules to match but got matches %v", i+1, rules) } }) } } // TestDeleteAllVersions tests ordering among events, especially ones which // expire all versions like ExpiredObjectDeleteAllVersions and // DelMarkerExpiration func TestDeleteAllVersions(t *testing.T) { // ExpiredObjectDeleteAllVersions
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 53.2K bytes - Viewed (0)