Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Ordering (0.34 sec)

  1. 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)
  2. 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)
  3. 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 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
Back to top