Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 724 for typed (0.04 sec)

  1. src/internal/types/testdata/fixedbugs/issue50426.go

    package p
    
    type A1 [2]uint64
    type A2 [2]uint64
    
    func (a A1) m() A1 { return a }
    func (a A2) m() A2 { return a }
    
    func f[B any, T interface {
    	A1 | A2
    	m() T
    }](v T) {
    }
    
    func _() {
    	var v A2
    	// Use function type inference to infer type A2 for T.
    	// Don't use constraint type inference before function
    	// type inference for typed arguments, otherwise it would
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. pkg/registry/flowcontrol/ensurer/flowschema.go

    limitations under the License.
    */
    
    package ensurer
    
    import (
    	flowcontrolv1 "k8s.io/api/flowcontrol/v1"
    	"k8s.io/apimachinery/pkg/api/equality"
    	flowcontrolclient "k8s.io/client-go/kubernetes/typed/flowcontrol/v1"
    	flowcontrollisters "k8s.io/client-go/listers/flowcontrol/v1"
    	flowcontrolapisv1 "k8s.io/kubernetes/pkg/apis/flowcontrol/v1"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go

    			panic(err)
    		}
    	}
    }
    
    // KnownTypes returns the types known for the given version.
    func (s *Scheme) KnownTypes(gv schema.GroupVersion) map[string]reflect.Type {
    	types := make(map[string]reflect.Type)
    	for gvk, t := range s.gvkToType {
    		if gv != gvk.GroupVersion() {
    			continue
    		}
    
    		types[gvk.Kind] = t
    	}
    	return types
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 25.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy

    @ToolingApiVersion(">=7.3")
    @TargetGradleVersion(">=7.3")
    @Timeout(value = 10, unit = TimeUnit.MINUTES)
    class DependencyArtifactDownloadProgressEventCrossVersionTest extends AbstractHttpCrossVersionSpec {
    
        def "generates typed events for downloads during dependency resolution"() {
            def modules = setupBuildWithArtifactDownloadDuringConfiguration()
            modules.useLargeJars()
    
            when:
            def events = ProgressEvents.create()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

    import org.apache.maven.api.services.*;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.sisu.Typed;
    
    import static java.util.stream.Collectors.toList;
    import static org.apache.maven.internal.impl.Utils.map;
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Typed
    @SessionScoped
    public class DefaultProjectManager implements ProjectManager {
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensionsTest.kt

                foo = "typed access"
            }
            container.named("bar", DomainObject::class) {
                bar = "typed configuration"
            }
    
            assertThat(container["foo"].foo, equalTo("reified access"))
            assertThat(container["foo"].bar, equalTo("reified configuration"))
    
            assertThat(container["bar"].foo, equalTo("typed access"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java

                foundType += " with a different ClassLoader";
            }
            throw new IllegalArgumentException(String.format("Unexpected type for attribute '%s' provided. Expected a value of type %s but found a value of type %s.", attribute.getName(), otherAttributeType.getName(), foundType));
        }
    
        @Override
        public boolean isPresent() {
            return attribute != null;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    	toGVK, ok := target.KindForGroupVersionKinds([]schema.GroupVersionKind{fromGVK})
    	if !ok {
    		// TODO: should this be a typed error?
    		return nil, fmt.Errorf("%v is unstructured and is not suitable for converting to %q", fromGVK.String(), target)
    	}
    	// Special-case typed scale conversion if this custom resource supports a scale endpoint
    	if c.convertScale {
    		if _, isInScale := in.(*autoscalingv1.Scale); isInScale {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration.go

    limitations under the License.
    */
    
    package ensurer
    
    import (
    	flowcontrolv1 "k8s.io/api/flowcontrol/v1"
    	"k8s.io/apimachinery/pkg/api/equality"
    	flowcontrolclient "k8s.io/client-go/kubernetes/typed/flowcontrol/v1"
    	flowcontrollisters "k8s.io/client-go/listers/flowcontrol/v1"
    	flowcontrolapisv1 "k8s.io/kubernetes/pkg/apis/flowcontrol/v1"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager.go

    	}
    
    	liveObjTyped, err := f.typeConverter.ObjectToTyped(liveObjVersioned)
    	if err != nil {
    		return nil, fmt.Errorf("failed to convert live obj to typed: %v", err)
    	}
    
    	var lastAppliedObj = &unstructured.Unstructured{Object: map[string]interface{}{}}
    	err = json.Unmarshal([]byte(lastApplied), lastAppliedObj)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top