Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,184 for METHOD (0.23 sec)

  1. guava-tests/test/com/google/common/reflect/ParameterTest.java

          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
        for (Method method : ParameterTest.class.getDeclaredMethods()) {
          for (Parameter param : Invokable.from(method).getParameters()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/methodsets.go

    func (T0) v0() {}
    func (*T0) p0() {}
    
    type T1 struct {} // like T0 with different method names
    
    func (T1) v1() {}
    func (*T1) p1() {}
    
    type T2 interface {
    	v2()
    	p2()
    }
    
    type T3 struct {
    	T0
    	*T1
    	T2
    }
    
    // Method expressions
    func _() {
    	var (
    		_ func(T0) = T0.v0
    		_ = T0.p0 /* ERROR "invalid method expression T0.p0 (needs pointer receiver (*T0).p0)" */
    
    		_ func (*T0) = (*T0).v0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                    throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
                }
                for (MethodMetaData method : methods) {
                    DocComment docComment = javadocConverter.parse(method, listener);
                    MethodDoc methodDoc = new MethodDoc(method, docComment.getDocbook());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue12108.go

    // license that can be found in the LICENSE file.
    
    // A generated method with a return value large enough to be
    // initialized by duffzero is not a leaf method, which violated
    // assumptions made by cmd/internal/obj/ppc64.
    
    package main
    
    const N = 9 // values > 8 cause (Super).Method to use duffzero
    
    type Base struct {
    }
    
    func (b *Base) Method() (x [N]uintptr) {
    	return
    }
    
    type Super struct {
    	Base
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 06 03:34:13 UTC 2015
    - 630 bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/FormattingValidationProblemCollector.java

            }
        }
    
        @Override
        public void add(Method method, String role, String problem) {
            MethodDescription description = MethodDescription.name(method.getName())
                    .takes(method.getGenericParameterTypes());
            StringBuilder message = new StringBuilder("Method ");
            if (method.getDeclaringClass().equals(source.getConcreteClass())) {
                message.append(description);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/decls2/decls2a.go

    // Methods with zero or multiple receivers.
    func ( /* ERROR "method has no receiver" */ ) _() {}
    func (T3, * /* ERROR "method has multiple receivers" */ T3) _() {}
    func (T3, T3, T3 /* ERROR "method has multiple receivers" */ ) _() {}
    func (a, b /* ERROR "method has multiple receivers" */ T3) _() {}
    func (a, b, c /* ERROR "method has multiple receivers" */ T3) _() {}
    
    // Methods associated with non-local or unnamed types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ModifierUtil.java

            assertArgumentNotNull("method", method);
    
            return isPublic(method.getModifiers());
        }
    
        /**
         * <code>public</code>かどうか返します。
         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
         * @return パブリックかどうか
         */
        public static boolean isPublic(final Field field) {
            assertArgumentNotNull("field", field);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/provider-text-resource.txt

    Method <org.gradle.api.plugins.quality.Checkstyle.getConfig()> has raw return type org.gradle.api.resources.TextResource in (Checkstyle.java:0)
    Method <org.gradle.api.plugins.quality.CodeNarc.getConfig()> has raw return type org.gradle.api.resources.TextResource in (CodeNarc.java:0)
    Method <org.gradle.api.plugins.quality.Pmd.getRuleSetConfig()> has raw return type org.gradle.api.resources.TextResource in (Pmd.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 567 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/errsupport.go

    	// misspelled     x.Foo   ==    FoO    type X has no field or method Foo, but does have field FoO
    	// misspelled     x.Foo   ==    foo    type X has no field or method Foo, but does have field foo
    	// misspelled     x.Foo   ==    foO    type X has no field or method Foo, but does have field foO
    	//
    	// misspelled     x.foo   ==    Foo    type X has no field or method foo, but does have field Foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top