- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 6,733 for Method3 (0.22 sec)
-
src/go/types/interface.go
if len(methods) == 0 && len(embeddeds) == 0 { return &emptyInterface } // set method receivers if necessary typ := (*Checker)(nil).newInterface() for _, m := range methods { if sig := m.typ.(*Signature); sig.recv == nil { sig.recv = NewVar(m.pos, m.pkg, "", typ) } } // sort for API stability sortMethods(methods) typ.methods = methods typ.embeddeds = embeddeds
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestResultSerializerTest.groovy
def class1 = new TestClassResult(1, 'Class1', 1234) def method1 = new TestMethodResult(1, "method1", TestResult.ResultType.SUCCESS, 100, 2300) def method2 = new TestMethodResult(2, "method2", TestResult.ResultType.FAILURE, 200, 2700).addFailure("message", "stack-trace", "ExceptionType") class1.add(method1) class1.add(method2) def class2 = new TestClassResult(2, 'Class2', 5678)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerSpec.groovy
] } def "allow query and mutating methods from create using #methods.key"() { setupContainerDefaults() Closure method = bind(methods.value) when: container.create("a", method) then: noExceptionThrown() where: methods << getQueryMethods() + getMutatingMethods() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode.go
// 3. reflect.Value.Method (or MethodByName), or reflect.Type.Method // (or MethodByName) // // The first case is handled by the flood fill, a directly called method // is marked as reachable. // // The second case is handled by decomposing all reachable interface // types into method signatures. Each encountered method is compared // against the interface method signatures, if it matches it is marked
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/go/types/methodset.go
// license that can be found in the LICENSE file. // This file implements method sets. package types import ( "fmt" "sort" "strings" ) // A MethodSet is an ordered set of concrete or abstract (interface) methods; // a method is a [MethodVal] selection, and they are ordered by ascending m.Obj().Id(). // The zero value for a MethodSet is a ready-to-use empty method set. type MethodSet struct { list []*Selection }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* provided {@code standardPutAll} method. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code * default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingMap}. * * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equal} to test
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9.9K bytes - Viewed (0) -
android/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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName); if (methods.isEmpty()) { throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames())); } for (MethodMetaData method : methods) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.2K bytes - Viewed (0) -
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) -
src/go/types/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: Fri Apr 05 16:29:58 UTC 2024 - 3.9K bytes - Viewed (0)