Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,212 for METHOD (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaMethod.java

        }
    
        public JavaMethod(Class<R> returnType, Method method) {
            this.returnType = returnType;
            this.method = method;
            method.setAccessible(true);
        }
    
        private static Method findMethod(Class<?> target, String name, boolean allowStatic, Class<?>[] paramTypes) {
            // First try to find a method from all public methods
            Method method = findMethodFrom(target.getMethods(), name, allowStatic, paramTypes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 11:07:38 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/HttpMethod.kt

            method == "PATCH" || method == "PROPPATCH" || // WebDAV
            method == "REPORT"
        )
    
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun permitsRequestBody(method: String): Boolean = !(method == "GET" || method == "HEAD")
    
      fun redirectsWithBody(method: String): Boolean = method == "PROPFIND"
    
      fun redirectsToGet(method: String): Boolean = method != "PROPFIND"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodSet.java

        public void add(Method method) {
            MethodKey key = new MethodKey(method);
            Method current = methods.get(key);
            if (current == null || shouldReplace(current, method)) {
                // Prefer implementation methods over abstract or bridge methods
                methods.put(key, method);
            }
        }
    
        private boolean shouldReplace(Method current, Method method) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top