Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,644 for Imported (0.23 sec)

  1. src/cmd/go/testdata/script/vendor_resolve.txt

    env GO111MODULE=off
    ! go build p
    stderr 'must be imported as x'
    
    -- p/p.go --
    package p
    
    import (
    	_ "q/y"
    	_ "q/z"
    )
    -- q/vendor/x/x.go --
    package x
    -- q/y/y.go --
    package y
    
    import _ "x"
    -- q/z/z.go --
    package z
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 237 bytes
    - Viewed (0)
  2. test/fixedbugs/bug504.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Gccgo mishandled a reference to a type alias in a package that was
    // not directly imported.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 19:02:09 UTC 2017
    - 288 bytes
    - Viewed (0)
  3. test/fixedbugs/issue6428.go

    // errorcheck
    
    // Copyright 2020 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.
    
    package p
    
    import . "testing" // ERROR "imported and not used"
    
    type S struct {
    	T int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 07:53:10 UTC 2020
    - 281 bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

        void handlesAntImportsOk() {
            testFile('imported.xml') << """
    <project>
        <target name='target1'>
            <mkdir dir='build'/>
            <touch file='build/target1.txt'/>
        </target>
    </project>
    """
            testFile('build.xml') << """
    <project>
        <import file="imported.xml"/>
        <target name='target2'>
            <mkdir dir='build'/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. test/fixedbugs/bug358.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 1979
    // used to get internal compiler error too
    
    package main
    
    import (
    	// avoid imported and not used errors
    	// "io/ioutil"
    	"net/http"
    	// "os"
    )
    
    func makeHandler(fn func(http.ResponseWriter, *http.Request, string)) http.HandlerFunc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 04 06:36:33 UTC 2021
    - 601 bytes
    - Viewed (0)
  6. test/fixedbugs/bug478.go

    // Copyright 2013 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.
    
    // Using the same unexported name for a method as a method on an
    // imported embedded type caused a gccgo compilation failure.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 319 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_missing_ziphash.txt

    # 'go build' reports an error. 'go get' adds the sum.
    cp go.sum.bug go.sum
    ! go build -n use
    stderr '^use.go:3:8: missing go.sum entry for module providing package rsc.io/quote \(imported by use\); to add:\n\tgo get use$'
    go get use
    cmp go.sum go.sum.tidy
    go build -n use
    
    # If we delete the hash *and* the ziphash file, we should see the same behavior.
    cp go.sum.bug go.sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue4510.dir/f1.go

    // Copyright 2012 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.
    
    package p
    
    import "fmt" // GCCGO_ERROR "fmt redeclared|imported"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 245 bytes
    - Viewed (0)
  9. test/fixedbugs/issue13539.go

    // Verify that a label named like a package is recognized
    // as a label rather than a package and that the package
    // remains unused.
    
    package main
    
    import "math" // ERROR "imported and not used"
    
    func main() {
    math:
    	for {
    		break math
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:10:19 UTC 2022
    - 417 bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/ProjectRootOfTest.kt

                    importedProjectRoot = folder("root")
                ),
                equalTo(folder("separate/nested-project-root"))
            )
        }
    
        @Test
        fun `given a script file under the imported project it should return the imported project root`() {
    
            withFolders {
                "root" {
                    "sub-project" {
                        withFile("build.gradle.kts")
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top