- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 893 for mapFor (0.28 sec)
-
staging/src/k8s.io/api/storage/v1/zz_generated.prerelease-lifecycle.go
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *CSIDriver) APILifecycleIntroduced() (major, minor int) { return 1, 18 } // 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 - 4K bytes - Viewed (0) -
staging/src/k8s.io/api/rbac/v1beta1/zz_generated.prerelease-lifecycle.go
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *ClusterRole) APILifecycleIntroduced() (major, minor int) { return 1, 6 } // 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 - 13.1K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.prerelease-lifecycle.go
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *Binding) APILifecycleIntroduced() (major, minor int) { return 1, 0 } // 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: Thu May 23 17:42:49 UTC 2024 - 15K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1alpha1/zz_generated.prerelease-lifecycle.go
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *ClusterTrustBundle) APILifecycleIntroduced() (major, minor int) { return 1, 26 } // 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: Thu Mar 16 03:10:59 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/OpenTestMultipleFailuresMapperTestError.groovy
// SUT def mapper = new OpenTestMultipleFailuresErrorMapper() // Our error being mapped def error = new MultipleFailuresError( "Multiple Failures", [ new MockFailure(1), new MockFailure(2), new MockFailure(3) ] ) // Simple root mapper that just wraps the assertion failure
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation.go
// // version.Info{Major:"1", Minor:"2+"} -> 1,2 // version.Info{Major:"1", Minor:"2.3-build4"} -> 1,2 func MajorMinor(v version.Info) (int, int, error) { major, err := strconv.Atoi(v.Major) if err != nil { return 0, 0, err } minor, err := strconv.Atoi(leadingDigits.FindString(v.Minor)) if err != nil { return 0, 0, err } return major, minor, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.3K bytes - Viewed (0) -
operator/pkg/version/version.go
} // NewMajorVersion creates an initialized MajorVersion struct. func NewMajorVersion(major uint32) MajorVersion { return MajorVersion{ Major: major, } } // NewMinorVersion creates an initialized MinorVersion struct. func NewMinorVersion(major, minor uint32) MinorVersion { return MinorVersion{ MajorVersion: NewMajorVersion(major), Minor: minor, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:26 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/api/flowcontrol/v1/zz_generated.prerelease-lifecycle.go
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *FlowSchema) APILifecycleIntroduced() (major, minor int) { return 1, 29 } // 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) -
test/typeparam/map.go
// returning a new slice of the results. func mapper[F, T any](s []F, f func(F) T) []T { r := make([]T, len(s)) for i, v := range s { r[i] = f(v) } return r } func main() { got := 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 := mapper([]float64{2.5, 2.3, 3.5}, func(f float64) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 885 bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1beta1/zz_generated.prerelease-lifecycle.go
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. func (in *PriorityClass) APILifecycleIntroduced() (major, minor int) { return 1, 11 } // 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.9K bytes - Viewed (0)