Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 893 for mapFor (0.1 sec)

  1. staging/src/k8s.io/api/coordination/v1beta1/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, 12
    }
    
    // APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/authorization/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *LocalSubjectAccessReview) 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
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *CronJob) 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
    - 2K bytes
    - Viewed (0)
  4. pkg/kube/version_test.go

    	tests := []struct {
    		name       string
    		major      string
    		minor      string
    		want       int
    		gitVersion string
    	}{
    		{
    			name:  "1.22",
    			major: "1",
    			minor: "22",
    			want:  122,
    		},
    		{
    			name:  "1.28",
    			major: "1",
    			minor: "28",
    			want:  128,
    		},
    		{
    			// {"major": "1","minor": "28+","gitVersion": "v1.28.9-eks-036c24b",...}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. test/typeparam/mapimp.dir/main.go

    package main
    
    import (
    	"./a"
    	"fmt"
    	"reflect"
    	"strconv"
    )
    
    func main() {
    	got := a.Mapper([]int{1, 2, 3}, strconv.Itoa)
    	want := []string{"1", "2", "3"}
    	if !reflect.DeepEqual(got, want) {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    
    	fgot := a.Mapper([]float64{2.5, 2.3, 3.5}, func(f float64) string {
    		return strconv.FormatFloat(f, 'f', -1, 64)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 661 bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/TestFailureMapper.java

                return supports(superclass);
            }
        }
    
        /**
         * Returns a list of fully qualified class names that this mapper supports.
         * <p>
         * See {@link #supports(Class)} for more information.
         *
         * @return a list of fully qualified class names that this mapper supports
         */
        protected abstract List<String> getSupportedClassNames();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:48:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/net/lookup_windows.go

    	type result struct {
    		proto int
    		err   error
    	}
    	ch := make(chan result) // unbuffered
    	go func() {
    		if err := acquireThread(ctx); err != nil {
    			ch <- result{err: mapErr(err)}
    			return
    		}
    		defer releaseThread()
    		runtime.LockOSThread()
    		defer runtime.UnlockOSThread()
    		proto, err := getprotobyname(name)
    		select {
    		case ch <- result{proto: proto, err: err}:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	visitor Visitor
    	typer   runtime.ObjectTyper
    	mapper  *mapper
    }
    
    // NewFlattenListVisitor creates a visitor that will expand list style runtime.Objects
    // into individual items and then visit them individually.
    func NewFlattenListVisitor(v Visitor, typer runtime.ObjectTyper, mapper *mapper) Visitor {
    	return FlattenListVisitor{v, typer, mapper}
    }
    
    func (v FlattenListVisitor) Visit(fn VisitorFunc) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ContentFilterableExtensionsTest.kt

                verify(filterable).filter(mapOf("lines" to 25, "skip" to 1), HeadFilter::class.java)
                verify(filterable).filter(mapOf("lines" to 52, "skip" to 2), HeadFilter::class.java)
                verify(filterable).filter(StripJavaComments::class.java)
                verify(filterable).filter(mapOf("lines" to 25, "skip" to 3), HeadFilter::class.java)
                verify(filterable).filter(mapOf("lines" to 52, "skip" to 4), HeadFilter::class.java)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. pkg/kube/client_factory.go

    		discoveryClient, err := out.discoveryClient.Get()
    		if err != nil {
    			return nil, err
    		}
    		mapper, err := out.mapper.Get()
    		if err != nil {
    			return nil, err
    		}
    		return restmapper.NewShortcutExpander(mapper, discoveryClient, func(string) {}), nil
    	})
    	return out
    }
    
    func (c *clientFactory) ToRESTConfig() (*rest.Config, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top