Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,670 for MethodB (0.21 sec)

  1. src/cmd/compile/internal/types2/lookup.go

    	methods := under(T).(*Interface).typeSet().methods // T must be an interface
    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    	var f *Func // method on V, if found (state is one of ok, wrongName, wrongSig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/go/types/lookup.go

    	methods := under(T).(*Interface).typeSet().methods // T must be an interface
    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    	var f *Func // method on V, if found (state is one of ok, wrongName, wrongSig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typeset.go

    	})
    }
    
    // NumMethods returns the number of methods available.
    func (s *_TypeSet) NumMethods() int { return len(s.methods) }
    
    // Method returns the i'th method of type set s for 0 <= i < s.NumMethods().
    // The methods are ordered by their unique ID.
    func (s *_TypeSet) Method(i int) *Func { return s.methods[i] }
    
    // LookupMethod returns the index of and method with matching package and name, or (-1, nil).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/named_test.go

    			for j := range methods {
    				methods[j] = T.Method(j).Name()
    			}
    		} else {
    			// successive rounds: methods must appear in the same order
    			if got := T.NumMethods(); got != len(methods) {
    				t.Errorf("got %d methods, want %d", got, len(methods))
    				continue
    			}
    			for j, m := range methods {
    				if got := T.Method(j).Name(); got != m {
    					t.Errorf("got method %s, want %s", got, m)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

            Method[] methods = type.getDeclaredMethods();
            // Make sure getters end up before the setters
            Arrays.sort(methods, comparing(Method::getName));
            for (Method method : methods) {
                processMethodAnnotations(method, methodBuilders, validationContext);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

    }
    
    
    private
    fun ReadContext.putIdentity(id: Int, instance: Any) {
        isolate.identities.putInstance(id, instance)
    }
    
    
    private
    fun invokeAll(methods: List<Method>, bean: Any, vararg args: Any?) {
        methods.forEach { method ->
            method.invoke(bean, *args)
        }
    }
    
    
    object ExternalizableCodec : Codec<Externalizable> {
        override suspend fun WriteContext.encode(value: Externalizable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
        return suppressing(Arrays.asList(methods));
      }
    
      @CanIgnoreReturnValue
      public B suppressing(Collection<Method> methods) {
        suppressedTests.addAll(methods);
        return self();
      }
    
      public Set<Method> getSuppressedTests() {
        return suppressedTests;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
        return suppressing(Arrays.asList(methods));
      }
    
      @CanIgnoreReturnValue
      public B suppressing(Collection<Method> methods) {
        suppressedTests.addAll(methods);
        return self();
      }
    
      public Set<Method> getSuppressedTests() {
        return suppressedTests;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    	// 	L5: func _[T any]() { var s S[int]; s.Foo() }
    	//
    	// The receivers of methods on generic types are instantiations. L2 and L3
    	// instantiate S with the type-parameters A and B, which are scoped to the
    	// respective methods. L4 and L5 each instantiate S with int. Each of these
    	// instantiations has its own method set, full of methods (and thus objects)
    	// with receivers whose types are the respective instantiations. In other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top