Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,644 for Imported (0.4 sec)

  1. test/fixedbugs/issue42401.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 42401: linkname doesn't work correctly when a variable symbol
    // is both imported (possibly through inlining) and linkname'd.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 09 16:09:16 UTC 2020
    - 323 bytes
    - Viewed (0)
  2. ci/official/wheel_test/test_import_api_packages.py

    # limitations under the License.
    # ==============================================================================
    
    """Import API packages test.
    
    This is a Python test that verifies whether API v2 packages can be imported
    from the current build or not.
    
    It uses the `_api/v2/api_packages.txt` file from the local wheel file.
    The `_api/v2/api_packages.txt` file is created during the process of generating
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 13 15:52:07 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/importdecl0/importdecl0b.go

    // license that can be found in the LICENSE file.
    
    package importdecl0
    
    import "math"
    import m "math"
    
    import . "testing" // declares T in file scope
    import . /* ERRORx `.unsafe. imported and not used` */ "unsafe"
    import . "fmt"     // declares Println in file scope
    
    import (
    	"" /* ERROR "invalid import path" */
    	"a!b" /* ERROR "invalid import path" */
    	"abc\xffdef" /* ERROR "invalid import path" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 742 bytes
    - Viewed (0)
  4. test/fixedbugs/bug488.go

    // license that can be found in the LICENSE file.
    
    // The gccgo compiler had a bug: if one file in a package did a dot
    // import, then an earlier file in the package would incorrectly
    // resolve to the imported names rather than reporting undefined
    // errors.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 404 bytes
    - Viewed (0)
  5. src/cmd/internal/objabi/path_test.go

    		_, err := PrefixToPath(tc)
    		if err == nil {
    			t.Errorf("expected PrefixToPath(%s) err != nil, got nil", tc)
    		}
    	}
    }
    
    func TestRuntimePackageList(t *testing.T) {
    	// Test that all packages imported by the runtime are marked as runtime
    	// packages.
    	testenv.MustHaveGoBuild(t)
    	goCmd, err := testenv.GoTool()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gopath_vendor_dup_err.txt

    env GO111MODULE=off
    
    # Issue 17119: Test more duplicate load errors.
    ! go build dupload
    ! stderr 'duplicate load|internal error'
    stderr 'dupload/vendor/p must be imported as p'
    
    -- dupload/dupload.go --
    package main
    
    import (
    	_ "dupload/p2"
    	_ "p"
    )
    
    func main() {}
    -- dupload/p/p.go --
    package p
    -- dupload/p2/p2.go --
    package p2
    
    import _ "dupload/vendor/p"
    -- dupload/vendor/p/p.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 399 bytes
    - Viewed (0)
  7. test/fixedbugs/bug462.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 main
    
    import "os"
    
    var _ = os.Open // avoid imported and not used error
    
    type T struct {
    	File int
    }
    
    func main() {
    	_ = T{
    		os.File: 1, // ERROR "invalid field name os.File|unknown field"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 378 bytes
    - Viewed (0)
  8. src/cmd/link/testdata/dynimportvar/main.go

    // Copyright 2023 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.
    
    // Test that we can access dynamically imported variables.
    // We ues mach_task_self_ from darwin's system library.
    // Check that loading the variable from C and Go gets the
    // same result.
    
    //go:build darwin
    
    package main
    
    /*
    #include <mach/mach_init.h>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 19:39:32 UTC 2023
    - 678 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    // TODO(adonovan): make this a library function or method of Info.
    func imported(info *types.Info, spec *ast.ImportSpec) *types.Package {
    	obj, ok := info.Implicits[spec]
    	if !ok {
    		obj = info.Defs[spec.Name] // renaming import
    	}
    	return obj.(*types.PkgName).Imported()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_symlink.txt

    env GO111MODULE=on
    [!symlink] skip
    
    # 'go get' should resolve modules of imported packages.
    go get
    go list -deps -f '{{.Module}}' .
    stdout golang.org/x/text
    
    go get ./subpkg
    go list -deps -f '{{.Module}}' ./subpkg
    stdout golang.org/x/text
    
    # Create a copy of the module using symlinks in src/links.
    mkdir links
    symlink links/go.mod -> $GOPATH/src/go.mod
    symlink links/go.sum -> $GOPATH/src/go.sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top