Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,579 for MethodB (0.46 sec)

  1. 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)
  2. 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)
  3. 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)
  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. 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)
  6. 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)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy

        def 'successive pickMethod invocations in the entry point scope return the intercepted method'() {
            when:
            def method1 = null
            def method2 = null
            withEntryPoint(INVOKE_METHOD, "test") {
                method1 = instance.metaClass.pickMethod("test", new Class[]{})
                method2 = instance.metaClass.pickMethod("test", new Class[]{InterceptorTestReceiver})
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. src/html/template/exec_test.go

    	// Method calls.
    	{".Method0", "-{{.Method0}}-", "-M0-", tVal, true},
    	{".Method1(1234)", "-{{.Method1 1234}}-", "-1234-", tVal, true},
    	{".Method1(.I)", "-{{.Method1 .I}}-", "-17-", tVal, true},
    	{".Method2(3, .X)", "-{{.Method2 3 .X}}-", "-Method2: 3 x-", tVal, true},
    	{".Method2(.U16, `str`)", "-{{.Method2 .U16 `str`}}-", "-Method2: 16 str-", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    	// Method calls.
    	{".Method0", "-{{.Method0}}-", "-M0-", tVal, true},
    	{".Method1(1234)", "-{{.Method1 1234}}-", "-1234-", tVal, true},
    	{".Method1(.I)", "-{{.Method1 .I}}-", "-17-", tVal, true},
    	{".Method2(3, .X)", "-{{.Method2 3 .X}}-", "-Method2: 3 x-", tVal, true},
    	{".Method2(.U16, `str`)", "-{{.Method2 .U16 `str`}}-", "-Method2: 16 str-", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top