- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,028 for METHOD (0.13 sec)
-
src/cmd/compile/internal/types2/issues_test.go
// (interfaces are "completed" lazily now, so the completion happens implicitly when // accessing Method(0)) want := et.Underlying().(*Interface).Method(0) got := it.Method(0) if got != want { t.Fatalf("%s.Method(0): got %q (%p); want %q (%p)", it, got, got, want, want) } // verify that lookup finds the same method in both interfaces (redundant check)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
size, getMultiset().size()); } /** Call the {@code setCount()} method under test, and check its return value. */ abstract void setCountCheckReturnValue(E element, int count); /** * Call the {@code setCount()} method under test, but do not check its return value. Callers * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
logger.log("--> END ${request.method}") } else if (bodyHasUnknownEncoding(request.headers)) { logger.log("--> END ${request.method} (encoded body omitted)") } else if (requestBody.isDuplex()) { logger.log("--> END ${request.method} (duplex request body omitted)") } else if (requestBody.isOneShot()) { logger.log("--> END ${request.method} (one-shot body omitted)") } else {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy
if (expression == "getFirstLevelModuleDependencies { true }") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 17:10:15 UTC 2024 - 26.1K bytes - Viewed (0) -
src/go/types/issues_test.go
it.Complete() // verify that after completing the interface, the embedded method remains unchanged want := et.Underlying().(*Interface).Method(0) got := it.Method(0) if got != want { t.Fatalf("%s.Method(0): got %q (%p); want %q (%p)", it, got, got, want, want) } // verify that lookup finds the same method in both interfaces (redundant check) obj, _, _ := LookupFieldOrMethod(et, false, nil, "Error")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
But I'll show you how to improve that next. 🤓 ## Custom Operation IDs and Better Method Names You can **modify** the way these operation IDs are **generated** to make them simpler and have **simpler method names** in the clients.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/ant.adoc
`AntBuilder` is used to access Ant tasks, types, and properties from your build script. You execute an Ant task by calling a method on the `AntBuilder` instance. You use the task name as the method name: .build.gradle [source,groovy] ---- ant.mkdir(dir: "$STAGE") ant.copy(todir: "$STAGE/bin") { ant.fileset(dir: 'bin', includes: "**") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 15:23:52 UTC 2024 - 13.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy
def addTask(project) { project.tasks.create("hello").doLast { println "hello from method" } } apply from: "script.gradle" """ file("script.gradle") << "addTask(project)" when: succeeds "hello" then: output.contains "hello from method" } def "methods defined in script plugin are not inherited by applied script plugin"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:34 UTC 2024 - 9.9K bytes - Viewed (0) -
src/net/http/request_test.go
_, err := NewRequest("bad method", "http://foo.com/", nil) if err == nil { t.Error("expected error from NewRequest with invalid method") } req, err := NewRequest("GET", "http://foo.example/", nil) if err != nil { t.Fatal(err) } req.Method = "bad method" _, err = DefaultClient.Do(req) if err == nil || !strings.Contains(err.Error(), "invalid method") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/io/io.go
// processing. A [Reader] that does not implement ByteReader // can be wrapped using bufio.NewReader to add this method. type ByteReader interface { ReadByte() (byte, error) } // ByteScanner is the interface that adds the UnreadByte method to the // basic ReadByte method. // // UnreadByte causes the next call to ReadByte to return the last byte read.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:34:10 UTC 2024 - 21.6K bytes - Viewed (0)