Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 786 for methods_ (0.2 sec)

  1. src/runtime/iface.go

    	typ := m.Type
    	x := typ.Uncommon()
    
    	// both inter and typ have method sorted by name,
    	// and interface names are unique,
    	// so can iterate over both in lock step;
    	// the loop is O(ni+nt) not O(ni*nt).
    	ni := len(inter.Methods)
    	nt := int(x.Mcount)
    	xmhdr := (*[1 << 16]abi.Method)(add(unsafe.Pointer(x), uintptr(x.Moff)))[:nt:nt]
    	j := 0
    	methods := (*[1 << 16]unsafe.Pointer)(unsafe.Pointer(&m.Fun[0]))[:ni:ni]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) {
            LinkedList<Method> list = new LinkedList<>();
    
            for (Method method : methods) {
                if (isApplicable(method, classes)) {
                    list.add(method);
                }
            }
            return list;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. 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)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

            final Collection<String> methods
            final String path
    
            HttpForbidOne(Action action, Collection<String> methods, String path) {
                this.action = action
                this.methods = methods
                this.path = path
            }
    
            String getNotMetMessage() {
                "Unexpected HTTP request received: ${methods.size() == 1 ? methods[0] : methods} $path and $action.displayName"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. .idea/inspectionProfiles/Gradle.xml

          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" description="Many no-argument Guava Collection factory methods are marked in their javadoc &quot;Should be treated as deprecated&quot;.  These should not be used." suppressId="guava-collection-factory" problemDescriptor="Treat some Guava Collection factory methods as Deprecated" text="com.google.common.collect.Lists.newArrayList()" recursive="false"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:43 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

            return new ArchCondition<JavaClass>(" override method " + getMethodDescription(name, parameterTypes)) {
    
                @Override
                public void check(JavaClass javaClass, ConditionEvents events) {
                    Optional<JavaMethod> method = getMethodRecursively(javaClass);
                    if (method.isPresent()) {
                        JavaClass sourceClass = method.get().getSourceCodeLocation().getSourceClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

    println 'Hello, World!'
    ----
    
    A method represents some behavior of an object, although Gradle often uses methods to configure the state of objects as well. Methods are identifiable by their arguments or empty parentheses. Note that parentheses are sometimes required, such as when a method has zero arguments, so you may find it simplest to always use parentheses.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. src/cmd/doc/pkg.go

    		if found {
    			pkg.Printf("type %s ", spec.Name)
    			inter.Methods.List, methods = methods, inter.Methods.List
    			err := format.Node(&pkg.buf, pkg.fs, inter)
    			if err != nil {
    				log.Fatal(err)
    			}
    			pkg.newlines(1)
    			// Restore the original methods.
    			inter.Methods.List = methods
    		}
    	}
    	return found
    }
    
    // printFieldDoc prints the docs for matches of symbol.fieldName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/size.go

    		}
    		methods = append(methods, m)
    	}
    
    	{
    		methods := t.Methods()
    		sort.SliceStable(methods, func(i, j int) bool {
    			mi, mj := methods[i], methods[j]
    
    			// Sort embedded types by type name (if any).
    			if mi.Sym == nil && mj.Sym == nil {
    				return mi.Type.Sym().Less(mj.Type.Sym())
    			}
    
    			// Sort methods before embedded types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy

            and:
            failure.assertHasCause """Type Person is not a valid managed type:
    - Property 'name' is not valid: it must have either only abstract accessor methods or only implemented accessor methods"""
        }
    
        def "non-mutative non-abstract methods implemented as default interface methods are not allowed"() {
            when:
            file('buildSrc/src/main/java/Rules.java') << '''
                import org.gradle.api.*;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top