Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 893 for mapFor (0.11 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *ConversionReview) APILifecycleIntroduced() (major, minor int) {
    	return 1, 16
    }
    
    // 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)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *ConversionReview) APILifecycleIntroduced() (major, minor int) {
    	return 1, 13
    }
    
    // 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
    - 5.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildOperationMapper.java

        boolean isEnabled(BuildEventSubscriptions subscriptions);
    
        Class<DETAILS> getDetailsType();
    
        /**
         * Returns the trackers that are used by this mapper. If this mapper is enabled, then the trackers should be notified of
         * build operation execution. If this mapper is not enabled, the trackers can be ignored.
         */
        default List<? extends BuildOperationTracker> getTrackers() {
            return Collections.emptyList();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/dev_netbsd.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Functions to access/create device major and minor numbers matching the
    // encoding used in NetBSD's sys/types.h header.
    
    package unix
    
    // Major returns the major component of a NetBSD device number.
    func Major(dev uint64) uint32 {
    	return uint32((dev & 0x000fff00) >> 8)
    }
    
    // Minor returns the minor component of a NetBSD device number.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 913 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/dev_aix_ppc.go

    // license that can be found in the LICENSE file.
    
    //go:build aix && ppc
    
    // Functions to access/create device major and minor numbers matching the
    // encoding used by AIX.
    
    package unix
    
    // Major returns the major component of a Linux device number.
    func Major(dev uint64) uint32 {
    	return uint32((dev >> 16) & 0xffff)
    }
    
    // Minor returns the minor component of a Linux device number.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 739 bytes
    - Viewed (0)
  6. test/typeparam/issue47896.go

    func (s *Slice[T]) Add(t *T) {
    	*s = append(*s, t)
    }
    
    type Scanner interface {
    	Scan(...interface{}) error
    }
    
    type Mapper[T any] func(s Scanner, t T) error
    
    type Repository[T any] struct {
    	db *sql.DB
    }
    
    func (r *Repository[T]) scan(rows *sql.Rows, m Mapper[*T], c Collection[*T]) error {
    	for rows.Next() {
    		t := new(T)
    		if err := m(rows, t); err != nil {
    			return err
    		}
    		c.Add(t)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/functional/src/main/java/org/gradle/internal/ExtendedOptional.java

        }
    
        public <U> Optional<U> map(Function<? super T, ? extends U> mapper) {
            return delegate.map(mapper);
        }
    
        @SuppressWarnings({"RedundantCast", "unchecked"})
        public <U> Optional<U> flatMap(Function<? super T, ? extends Optional<? extends U>> mapper) {
            return delegate.flatMap((Function<T, Optional<U>>) mapper);
        }
    
        public Optional<T> or(Supplier<? extends Optional<? extends T>> supplier) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go

    // license that can be found in the LICENSE file.
    
    //go:build aix && ppc64
    
    // Functions to access/create device major and minor numbers matching the
    // encoding used AIX.
    
    package unix
    
    // Major returns the major component of a Linux device number.
    func Major(dev uint64) uint32 {
    	return uint32((dev & 0x3fffffff00000000) >> 32)
    }
    
    // Minor returns the minor component of a Linux device number.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 858 bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/authentication/v1beta1/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, 27
    }
    
    // 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: Wed Mar 08 23:42:33 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/mapper_test.go

    	for _, tc := range testcases {
    		t.Run(tc.Name, func(t *testing.T) {
    			mapper := NewEquivalentResourceRegistryWithIdentity(tc.IdentityFunc)
    
    			// register
    			for _, data := range kindsToRegister {
    				mapper.RegisterKindFor(data.gvr, data.subresource, data.gvk)
    			}
    			// verify
    			for _, data := range kindsToRegister {
    				if kind := mapper.KindFor(data.gvr, data.subresource); kind != data.gvk {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top