Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for needAll (0.13 sec)

  1. src/cmd/go/testdata/script/work_get_toolchain.txt

    env TESTGO_VERSION_SWITCH=switch
    env GOTOOLCHAIN=auto
    cp go.mod.new go.mod
    cp go.work.new go.work
    go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall
    stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$'
    stderr '^go: added rsc.io/needall v0.0.1'
    grep 'go 1.23$' go.mod
    grep 'go 1.23$' go.work
    grep 'toolchain go1.23.9' go.mod
    grep 'toolchain go1.23.9' go.work
    
    -- go.mod.new --
    module m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 583 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_download_exec_toolchain.txt

    stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$'
    ! stderr '\(running'
    
    # GOTOOLCHAIN=min+auto should run the newer toolchain
    env GOTOOLCHAIN=go1.21+auto
    go mod download rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest
    stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/mod/rsc.io_needall_v0.0.1.txt

    rsc.io/needall 0.0.1
    written by hand
    
    -- .mod --
    module rsc.io/needall
    go 1.23
    
    require rsc.io/needgo121 v0.0.1
    require rsc.io/needgo122 v0.0.1
    require rsc.io/needgo123 v0.0.1
    
    -- go.mod --
    module rsc.io/needall
    go 1.23
    
    require rsc.io/needgo121 v0.0.1
    require rsc.io/needgo122 v0.0.1
    require rsc.io/needgo123 v0.0.1
    
    -- .info --
    {"Version":"v0.0.1"}
    -- p.go --
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 19:11:44 UTC 2023
    - 385 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_exec_toolchain.txt

    # GOTOOLCHAIN=auto should run the newer toolchain
    env GOTOOLCHAIN=auto
    cp go.mod.new go.mod
    go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall
    stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$'
    ! stderr '\(running'
    stderr '^go: added rsc.io/needall v0.0.1'
    grep 'go 1.23' go.mod
    grep 'toolchain go1.23.9' go.mod
    
    # GOTOOLCHAIN=min+auto should run the newer toolchain
    env GOTOOLCHAIN=go1.21+auto
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/list/list.go

    	}
    	sort.Strings(fields)
    	return strings.Join(fields, ",")
    }
    
    func (v *jsonFlag) IsBoolFlag() bool {
    	return true
    }
    
    func (v *jsonFlag) needAll() bool {
    	return len(*v) == 0
    }
    
    func (v *jsonFlag) needAny(fields ...string) bool {
    	if v.needAll() {
    		return true
    	}
    	for _, f := range fields {
    		if (*v)[f] {
    			return true
    		}
    	}
    	return false
    }
    
    var nl = []byte{'\n'}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    			if !hasError(errs, needle) {
    				t.Errorf("missing %q in\n%v", needle, errorsAsString(errs))
    			}
    			needle = `status.conditions[0].observedGeneration: Invalid value: -1: must be greater than or equal to zero`
    			if !hasError(errs, needle) {
    				t.Errorf("missing %q in\n%v", needle, errorsAsString(errs))
    			}
    			needle = `status.conditions[0].lastTransitionTime: Required value: must be set`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  7. pilot/pkg/model/config.go

    // matching the needle and it's value, or false if no element in the maps matches the needle.
    func MostSpecificHostMatch[V any](needle host.Name, specific map[host.Name]V, wildcard map[host.Name]V) (host.Name, V, bool) {
    	if needle.IsWildCarded() {
    		// exact match first
    		if v, ok := wildcard[needle]; ok {
    			return needle, v, true
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/slices/sort_benchmark_test.go

    			floats := make([]float64, size)
    			for i := range floats {
    				floats[i] = float64(i)
    			}
    			midpoint := len(floats) / 2
    			needle := (floats[midpoint] + floats[midpoint+1]) / 2
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				slices.BinarySearch(floats, needle)
    			}
    		})
    	}
    }
    
    type myStruct struct {
    	a, b, c, d string
    	n          int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers.go

    func CRDHasFinalizer(crd *CustomResourceDefinition, needle string) bool {
    	for _, finalizer := range crd.Finalizers {
    		if finalizer == needle {
    			return true
    		}
    	}
    
    	return false
    }
    
    // CRDRemoveFinalizer removes the finalizer if present.
    func CRDRemoveFinalizer(crd *CustomResourceDefinition, needle string) {
    	newFinalizers := []string{}
    	for _, finalizer := range crd.Finalizers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 27 10:54:44 UTC 2019
    - 9K bytes
    - Viewed (0)
  10. pilot/pkg/model/config_test.go

    			} else {
    				specific.Insert(h)
    			}
    		}
    
    		t.Run(fmt.Sprintf("[%d] %s", idx, tt.needle), func(t *testing.T) {
    			actual, value, found := model.MostSpecificHostMatch(tt.needle, specific, wildcard)
    			if tt.want != "" && !found {
    				t.Fatalf("model.MostSpecificHostMatch(%q, %v) = %v, %v, %t; want: %v", tt.needle, tt.in, actual, value, found, tt.want)
    			} else if actual != tt.want {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top