- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 4,612 for MethodC (0.22 sec)
-
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) -
src/go/types/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.7K bytes - Viewed (0) -
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) -
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) -
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) -
src/net/rpc/server.go
methods := make(map[string]*methodType) for m := 0; m < typ.NumMethod(); m++ { method := typ.Method(m) mtype := method.Type mname := method.Name // Method must be exported. if !method.IsExported() { continue } // Method needs three ins: receiver, *args, *reply. if mtype.NumIn() != 3 { if logErr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0) -
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) -
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) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestLauncher.java
/** * <p>Adds tests to be executed declared by class and methods name.</p> * * <p>This method ignores tests defined in included builds.</p> * * @param testClass The name of the class containing the methods to execute. * @param methods The names of the test methods to be executed. * @return this * @since 2.7 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java
} return null; } // GetMethod is used in a private method, so doesn't belong to the API private int doGet(GetMethod method) throws Exception { int statusCode = client.executeMethod(method); if (statusCode != HttpStatus.SC_OK) { System.err.println("Method failed: " + method.getStatusLine()); } return statusCode; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0)