Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 6,733 for Method1 (0.14 sec)

  1. src/runtime/defer_test.go

    type foo struct {
    }
    
    //go:noinline
    func (f *foo) method1() {
    }
    
    //go:noinline
    func (f *foo) method2() {
    }
    
    func g2() {
    	var a foo
    	ap := &a
    	// The loop forces this defer to be heap-allocated and the remaining two
    	// to be stack-allocated.
    	for i := 0; i < 1; i++ {
    		defer ap.method1()
    	}
    	defer ap.method2()
    	defer ap.method1()
    	ff1(ap, 1, 2, 3, 4, 5, 6, 7, 8, 9)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            MethodDoc method2 = methodDoc('methodName', id: 'method2Id', returnType: 'ReturnType2', description: 'overloaded description', comment: 'overloaded comment', paramTypes: ['ParamType'])
            _ * classDoc.classProperties >> []
            _ * classDoc.classMethods >> [method1, method2]
            _ * classDoc.classBlocks >> []
            _ * classDoc.classExtensions >> []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskIncrementalJavaCompilationIntegrationTest.groovy

            source api: ["class A { int method() { return 1; } }"],
                impl: ["class X { private int foo() { return new A().method(); }}", "class Y { private int foo() { return new A().method(); }}"]
            impl.snapshot { run language.compileTaskName }
    
            when:
            source api: ["class A { int method1() { return 1; } }"]
            fails "impl:${language.compileTaskName}"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. src/text/template/doc.go

    value (argument) or a function or method call, possibly with multiple arguments:
    
    	Argument
    		The result is the value of evaluating the argument.
    	.Method [Argument...]
    		The method can be alone or the last element of a chain but,
    		unlike methods in the middle of a chain, it can take arguments.
    		The result is the value of calling the method with the
    		arguments:
    			dot.Method(Argument1, etc.)
    	functionName [Argument...]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

    - Method notARule() is not a valid rule method: A method that is not annotated as a rule must be private
    - Method thing() is not a valid rule method: The declared model element path ':)' is not a valid path: Model element name ':)' has illegal first character ':' (names must start with an ASCII letter or underscore).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. 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)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            MethodMetaData methodA = method('a', classMetaData)
            MethodMetaData methodB = method('b', classMetaData)
            MethodMetaData methodBOverload = method('b', classMetaData)
            MethodDoc methodAOverridden = methodDoc('a')
            MethodDoc methodC = methodDoc('c')
            MethodDoc methodD = methodDoc('d')
            MethodDoc methodE = methodDoc('e')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  10. 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)
Back to top