- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,851 for vmethods (0.15 sec)
-
test/method6.go
// license that can be found in the LICENSE file. // Verify that pointer method calls are caught during typechecking. // Reproducer extracted and adapted from method.go package foo type A struct { B } type B int func (*B) g() {} var _ = func() { var a A A(a).g() // ERROR "cannot call pointer method .*on|cannot take the address of"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 04 21:22:23 UTC 2020 - 467 bytes - Viewed (0) -
test/method7.go
type Outer struct{ *Inner } type Inner struct{ s string } func (i Inner) M() string { return i.s } func main() { // method expressions with named receiver types I.m(S{}) want += " m()" S.m1(S{}, "a") want += " m1(a)" // method expressions with literal receiver types f := interface{ m1(string) }.m1 f(S{}, "b") want += " m1(b)" interface{ m1(string) }.m1(S{}, "c")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 26 17:05:06 UTC 2021 - 1.1K 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) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy
then: result[0].method == method1 result[0].arguments == [1, 2] as Object[] result[1].method == method1 result[1].arguments == [3, 4] as Object[] serialized.length < invocation1Serialized.length + invocation2Serialized.length } def "serializes method invocations for multiple methods"() { def method1 = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/TypeInspectorTestHelper.java
interface Item4 { } interface Item5 { } interface SuperThing { Runnable method1(); List<Item1> method2(); Map<Set<Item2>, String> method3(); } interface GenericThing { Item3[] method1(String p); List<Item5>[] method2(String p); } interface Thing extends SuperThing, GenericThing { <T extends Item4> List<T> get();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.6K 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) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/multicluster/httproute-method.yaml
#$ Used in: #$ - geps/gep-1748.md kind: HTTPRoute apiVersion: gateway.networking.k8s.io/v1beta1 metadata: name: api spec: parentRefs: - name: api-gw rules: - matches: - method: POST - method: PUT - method: DELETE backendRefs: - group: multicluster.x-k8s.io kind: ServiceImport name: api-primary port: 8080 - backendRefs: - group: multicluster.x-k8s.io
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 17:15:18 UTC 2023 - 474 bytes - Viewed (0) -
tests/integration/security/testdata/authz/not-method.yaml.tmpl
Akshay J Nambiar <******@****.***> 1683529381 +0530
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 08 07:03:01 UTC 2023 - 268 bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestResultSerializerTest.groovy
def class1 = new TestClassResult(1, 'Class1', 1234) def method1 = new TestMethodResult(1, "method1", TestResult.ResultType.SUCCESS, 100, 2300) def method2 = new TestMethodResult(2, "method2", TestResult.ResultType.FAILURE, 200, 2700).addFailure("message", "stack-trace", "ExceptionType") class1.add(method1) class1.add(method2) def class2 = new TestClassResult(2, 'Class2', 5678)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/method2/main.go
// A type can be passed to a plugin and converted to interface // there. So its methods need to be live. package main import ( "plugin" "testplugin/method2/p" ) var t p.T type I interface{ M() } func main() { pl, err := plugin.Open("method2.so") if err != nil { panic(err) } f, err := pl.Lookup("F") if err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 549 bytes - Viewed (0)