- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,282 for corretto (1.69 sec)
-
test/fixedbugs/issue13415.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Verify that error message regarding := appears on // correct line (and not on the line of the 2nd :=). package p func f() { select { case x, x := <-func() chan int { // ERROR "x repeated on left side of :=|redefinition|declared and not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:10:19 UTC 2022 - 500 bytes - Viewed (0) -
platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultGroovyJavaJointCompileSpecFactoryTest.groovy
class DefaultGroovyJavaJointCompileSpecFactoryTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def "produces correct spec type" () { CompileOptions options = TestUtil.newInstance(CompileOptions.class, TestUtil.objectFactory()) options.fork = fork
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.1K bytes - Viewed (0) -
src/net/http/httptest/recorder_test.go
hdr := w.Header() hdr.Set("Key", "correct") w.WriteHeader(200) hdr.Set("Key", "incorrect") }, check(hasHeader("Key", "correct")), }, { "Trailer headers are correctly recorded", func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Non-Trailer", "correct") w.Header().Set("Trailer", "Trailer-A, Trailer-B")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 23:17:38 UTC 2022 - 9.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ScopedServiceRegistryTest.groovy
'provider' | { ScopedServiceRegistry it -> it.addProvider(new MultiScopedServiceProvider()) } } def "succeeds when registering a service in the correct scope"() { given: def registry = scopedRegistry(Scope.BuildTree) def service = new BuildTreeScopedService() when: registry.add(service) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/defers/doc.go
// that this is nearly always a mistake. // // For example: // // start := time.Now() // ... // defer recordLatency(time.Since(start)) // error: call to time.Since is not deferred // // The correct code is: // // defer func() { recordLatency(time.Since(start)) }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 20:06:48 UTC 2023 - 763 bytes - Viewed (0) -
src/go/internal/gcimporter/testdata/g.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Input for TestTypeNamingOrder // ensures that the order in which "type A B" declarations are // processed is correct; this was a problem for unified IR imports. package g type Client struct { common service A *AService B *BService } type service struct { client *Client }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 30 00:27:25 UTC 2022 - 498 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath_goroot.txt
[trimpath] env GOROOT=$TESTGO_GOROOT [short] stop # With GOROOT still set, 'go build' and 'go test -c' # should cause runtime.GOROOT() to report either the correct GOROOT # (without -trimpath) or no GOROOT at all (with -trimpath). go build -o example.exe . go build -trimpath -o example-trimpath.exe . go test -c -o example.test.exe .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ComponentSelectorParsers.java
} catch (IllegalDependencyNotation e) { throw new InvalidUserDataException( "Invalid format: '" + notation + "'. The correct notation is a 3-part group:name:version notation, " + "e.g: 'org.gradle:gradle-core:1.0'"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 01:47:36 UTC 2024 - 5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/syntax.go
package syntax import ( "fmt" "io" "os" ) // Mode describes the parser mode. type Mode uint // Modes supported by the parser. const ( CheckBranches Mode = 1 << iota // check correct use of labels, break, continue, and goto statements ) // Error describes a syntax error. Error implements the error interface. type Error struct { Pos Pos Msg string } func (err Error) Error() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 3.1K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue48619.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p func f[P any](a, _ P) { var x int // TODO(gri) these error messages, while correct, could be better f(a, x /* ERROR "type int of x does not match inferred type P for P" */) f(x, a /* ERROR "type P of a does not match inferred type int for P" */) } func g[P any](a, b P) { g(a, b) g(&a, &b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 575 bytes - Viewed (0)