Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 893 for mapFor (0.29 sec)

  1. operator/pkg/util/k8s_test.go

    	var err error
    
    	tests := []struct {
    		major        string
    		minor        string
    		expErr       bool
    		operatorYaml string
    	}{
    		{
    			major:        "1",
    			minor:        "16",
    			expErr:       false,
    			operatorYaml: o1,
    		},
    		{
    			major:        "1",
    			minor:        "22",
    			expErr:       true,
    			operatorYaml: o1,
    		},
    		{
    			major:        "1",
    			minor:        "23",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/policy/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *Eviction) APILifecycleIntroduced() (major, minor int) {
    	return 1, 22
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *HorizontalPodAutoscaler) APILifecycleIntroduced() (major, minor int) {
    	return 1, 2
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/authentication/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *SelfSubjectReview) APILifecycleIntroduced() (major, minor int) {
    	return 1, 28
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    		return c
    	}
    	return 0
    }
    
    // lang returns the Go language version. For example, lang("1.2.3") == "1.2".
    func lang(x string) string {
    	v := parse(x)
    	if v.minor == "" || v.major == "1" && v.minor == "0" {
    		return v.major
    	}
    	return v.major + "." + v.minor
    }
    
    // isValid reports whether the version x is valid.
    func isValid(x string) bool {
    	return parse(x) != gover{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/net/sock_linux_test.go

    	"testing"
    )
    
    func TestMaxAckBacklog(t *testing.T) {
    	n := 196602
    	major, minor := unix.KernelVersion()
    	backlog := maxAckBacklog(n)
    	expected := 1<<16 - 1
    	if major > 4 || (major == 4 && minor >= 1) {
    		expected = n
    	}
    	if backlog != expected {
    		t.Fatalf(`Kernel version: "%d.%d", sk_max_ack_backlog mismatch, got %d, want %d`, major, minor, backlog, expected)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:39:45 UTC 2022
    - 575 bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/discovery/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *EndpointSlice) APILifecycleIntroduced() (major, minor int) {
    	return 1, 21
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/certificates/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *CertificateSigningRequest) APILifecycleIntroduced() (major, minor int) {
    	return 1, 19
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/coordination/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *Lease) APILifecycleIntroduced() (major, minor int) {
    	return 1, 14
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/functional/src/main/java/org/gradle/internal/lazy/Lazy.java

         * function to the lazily computed value
         *
         * @param mapper the mapping function
         * @param <V> the type of the result of the function
         * @return a new lazy wrapper
         */
        default <V> Lazy<V> map(Function<? super T, V> mapper) {
            return unsafe().of(() -> mapper.apply(get()));
        }
    
        static Factory unsafe() {
            return UnsafeLazy::new;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top