Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,613 for METHOD (0.09 sec)

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

    			if check != nil {
    				err := check.newError(DuplicateDecl)
    				err.addf(atPos(pos), "duplicate method %s", m.name)
    				err.addf(atPos(mpos[other.(*Func)]), "other declaration of method %s", m.name)
    				err.report()
    			}
    		default:
    			// We have a duplicate method name in an embedded (not explicitly declared) method.
    			// Check method signatures after all types are computed (go.dev/issue/33656).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy

            def ruleDescription = getStringDescription(ruleMethod.method)
    
            when:
            extract(ruleMethod)
    
            then:
            def ex = thrown(InvalidModelRuleDeclarationException)
            ex.message == """Type ${fullyQualifiedNameOf(ruleClass)} is not a valid rule source:
    - Method ${ruleDescription} is not a valid rule method: ${expectedMessage}"""
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
       * href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a> before calling this method.
       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/escape/UnicodeEscaper.java

       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
       * href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a> before calling this method.
       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        def "logs replaced method message"() {
            when:
            DeprecationLogger.deprecateMethod(DeprecationLogger, "method()").replaceWith("replacementMethod()").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "The DeprecationLogger.method() method has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Please use the replacementMethod() method instead."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Provides a fully populated http request instance, fails otherwise.
    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanDynamicObjectTest.groovy

            def args = arguments as Object[]
            when:
            dynamicObject.invokeMethod(method, args)
    
            then:
            def e = thrown(MissingMethodException)
            assertMethodMissing(e, method, args)
    
            where:
            method            | arguments
            "unknown"         | [12]
            "methodWithClass" | [0]
            "methodWithValue" | [Integer]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java

     * <p>
     * Typically, the test code using the runner will programmatically create a build (e.g. by writing Gradle build files to a temporary space) to execute.
     * The build to execute is effectively specified by the {@link #withProjectDir(File)}} method.
     * It is a requirement that a project directory be set.
     * <p>
     * The {@link #withArguments(String...)} method allows the build arguments to be specified,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    				if index >= t.NumMethods() {
    					return nil, fmt.Errorf("method index %d out of range [0-%d)", index, t.NumMethods())
    				}
    				obj = t.Method(index) // Id-ordered
    
    			case *types.Named:
    				if index >= t.NumMethods() {
    					return nil, fmt.Errorf("method index %d out of range [0-%d)", index, t.NumMethods())
    				}
    				obj = t.Method(index)
    
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            private String generateTestMethod(AbstractJUnitCategoriesOrTagsCoverageIntegrationSpec.TestMethod method) {
                return """
                    @Test
                    ${method.isIgnoredOrDisabled ? "@Ignore" : ""}
                    ${categoryAnnotation(method.categoriesOrTags)}
                    public void ${method.name}() {
                        ${method.shouldPass ? "assert true;" : "assert false;"}
                    }
                """
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
Back to top