Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,216 for AMethod (0.18 sec)

  1. src/go/internal/gccgoimporter/testdata/issue29198.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package server
    
    import (
    	"context"
    	"errors"
    )
    
    type A struct {
    	x int
    }
    
    func (a *A) AMethod(y int) *Server {
    	return nil
    }
    
    // FooServer is a server that provides Foo services
    type FooServer Server
    
    func (f *FooServer) WriteEvents(ctx context.Context, x int) error {
    	return errors.New("hey!")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 693 bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java

                    "ext.b = OnDemandImportedClass",
                    "ext.c = someValue",
                    "ext.d = anotherValue",
                    "class TestClass extends ImportedClass { }",
                    "def aMethod() { return new OnDemandImportedClass() }"
            );
            inTestDirectory().withTasks("hello").run();
        }
    
        @Test
        public void canUseBuildSrcAndSystemClassesInClasspathDeclaration() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/issue29198.gox

    type <type 1 "A" <type 2 struct { .issue29198.x <type -11>; }>
     func (a <esc:0x1> <type 3 *<type 1>>) AMethod (y <type -11>) <type 4 *<type 5 "Server" <type 6 struct { FooServer <type 7 *<type 8 "FooServer" <type 5>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

            @Inject
            public TaskWithMultipleMethods(Runnable action) {
                super(action);
            }
    
            @TaskAction
            public void aMethod() {
                action.run();
            }
    
            @TaskAction
            public void anotherMethod() {
                action.run();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  5. src/cmd/vet/testdata/method/method.go

    // Copyright 2010 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.
    
    // This file contains the code to check canonical methods.
    
    package method
    
    import "fmt"
    
    type MethodTest int
    
    func (t *MethodTest) Scan(x fmt.ScanState, c byte) { // ERROR "should have signature Scan\(fmt\.ScanState, rune\) error"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 394 bytes
    - Viewed (0)
  6. test/method.go

    	func() {
    		defer expectPanic()
    		a.h() // dynamic error: nil dereference in a.B.D->f()
    	}()
    	a.i()
    
    	// Non-addressable value receiver.
    	A(a).f()
    	// A(a).g() // static error: cannot call pointer method on A literal.B.C
    	func() {
    		defer expectPanic()
    		A(a).h() // dynamic error: nil dereference in A().B.D->f()
    	}()
    	A(a).i()
    
    	// Pointer receiver.
    	(&a).f()
    	(&a).g()
    	func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 11 23:20:52 UTC 2013
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/net/http/method.go

    Shenghou Ma <******@****.***> 1462396010 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 22:11:56 UTC 2016
    - 517 bytes
    - Viewed (0)
  10. 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)
Back to top