- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,917 for MethodC (0.1 sec)
-
src/go/doc/testdata/generics.1.golden
func Constructor[lowerCase any]() Type[lowerCase] // MethodA uses a different name for its receiver type parameter. func (t Type[A]) MethodA(p A) // MethodB has a blank receiver type parameter. func (t Type[_]) MethodB() // MethodC has a lower-case receiver type parameter. func (t Type[c]) MethodC() // int16 shadows the predeclared type int16.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 1.6K bytes - Viewed (0) -
src/go/doc/testdata/generics.0.golden
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 1.8K bytes - Viewed (0) -
src/go/doc/testdata/generics.2.golden
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 1.8K bytes - Viewed (0) -
src/go/doc/testdata/generics.go
func Constructor[lowerCase any]() Type[lowerCase] { return Type[lowerCase]{} } // MethodA uses a different name for its receiver type parameter. func (t Type[A]) MethodA(p A) {} // MethodB has a blank receiver type parameter. func (t Type[_]) MethodB() {} // MethodC has a lower-case receiver type parameter. func (t Type[c]) MethodC() {} // Constraint is a constraint interface with two type parameters.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java
protected int doHash(Method method) { return new HashCodeBuilder() .append(method.getName()) .append(method.getParameterTypes()) .toHashCode(); } }; /** * Equivalence of methods based on method name, the number, type and order of parameters, and return types. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
src/internal/types/testdata/examples/methods.go
// This file shows some examples of methods on type-parameterized types. package p // Parameterized types may have methods. type T1[A any] struct{ a A } // When declaring a method for a parameterized type, the "instantiated" // receiver type acts as an implicit declaration of the type parameters // for the receiver type. In the example below, method m1 on type T1 has
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5K bytes - Viewed (0) -
test/method2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 10 22:48:40 UTC 2022 - 1.2K bytes - Viewed (0) -
test/method1.go
// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Verify that method redeclarations are caught by the compiler. // Does not compile. package main type T struct{} func (t *T) M(int, string) // GCCGO_ERROR "previous" func (t *T) M(int, float64) {} // ERROR "already declared|redefinition"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:59:19 UTC 2022 - 739 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-method.yaml
apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: invalid-method spec: rules: - matches:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 17:15:18 UTC 2023 - 145 bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/configuration-factory-methods.txt
Method <org.gradle.api.plugins.BasePlugin.configureConfigurations(org.gradle.api.Project)> calls method <org.gradle.api.internal.artifacts.configurations.RoleBasedConfigurationContainerInternal.maybeCreateConsumableUnlocked(java.lang.String)> in (BasePlugin.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:43:33 UTC 2024 - 8.7K bytes - Viewed (0)