Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 897 for Imported (0.14 sec)

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

    go get example.com/deprecated/a@v1.0.0
    stderr '^go: module example.com/deprecated/a is deprecated: in example.com/deprecated/a@v1.9.0$'
    
    # 'go get pkg' should show a deprecation message for a module providing
    # packages directly imported by pkg.
    go get ./use/a
    stderr '^go: module example.com/deprecated/a is deprecated: in example.com/deprecated/a@v1.9.0$'
    
    # 'go get pkg' may show a deprecation message for an indirectly required module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. test/fixedbugs/issue15470.go

    // Copyright 2016 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.
    
    // Issue 15470: Make sure special-case signatures can
    // be exported and imported w/o problems.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 00:42:13 UTC 2016
    - 288 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_lazy_test_of_test_dep.txt

    go mod edit -go=1.17 c2/go.mod
    go mod edit -go=1.17
    
    
    # After changing to 'go 1.17` uniformly, 'go list -m all' should prune out
    # example.com/c, because it is not imported by any package (or test of a package)
    # transitively imported by the main module.
    #
    # example.com/a is imported,
    # and example.com/b is needed in order to run 'go test example.com/a',
    # but example.com/c is not needed because we don't expect the user to need to run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 08 19:32:28 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_sum_ambiguous.txt

    ! go list -deps .
    stderr '^use.go:3:8: missing go.sum entry needed to verify package example.com/ambiguous/a/b \(imported by m\) is provided by exactly one module; to add:\n\tgo get m$'
    
    cp go.sum.b-only go.sum
    ! go list example.com/ambiguous/a/b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:37:31 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/vendor_test_issue14613.txt

    # test with specified _test.go should work too
    cd $GOPATH/src
    go test github.com/clsung/go-vendor-issue-14613/vendor_test.go
    
    # test with imported and not used
    ! go test github.com/clsung/go-vendor-issue-14613/vendor/mylibtesttest/myapp/myapp_test.go
    stderr 'imported and not used'
    
    -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor_test.go --
    package main
    
    import (
    	"testing"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/importdecl1/importdecl1b.go

    // Copyright 2014 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 importdecl1
    
    import . /* ERRORx ".unsafe. imported and not used" */ "unsafe"
    
    type B interface {
    	A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 270 bytes
    - Viewed (0)
  7. test/ddd2.dir/ddd2.go

    // Copyright 2010 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.
    
    // This file is compiled and then imported by ddd3.go.
    
    package ddd
    
    func Sum(args ...int) int {
    	s := 0
    	for _, v := range args {
    		s += v
    	}
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 316 bytes
    - Viewed (0)
  8. src/go/internal/srcimporter/srcimporter.go

    // os functions. The file set is used to track position information of package
    // files; and imported packages are added to the packages map.
    func New(ctxt *build.Context, fset *token.FileSet, packages map[string]*types.Package) *Importer {
    	return &Importer{
    		ctxt:     ctxt,
    		fset:     fset,
    		sizes:    types.SizesFor(ctxt.Compiler, ctxt.GOARCH), // uses go/types default if GOARCH not found
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 18:54:32 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue22076.go

    // Copyright 2017 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.
    
    // Issue 22076: Couldn't use ":=" to declare names that refer to
    // dot-imported symbols.
    
    package p
    
    import . "bytes"
    
    var _ Reader // use "bytes" import
    
    func f1() {
    	Buffer := 0
    	_ = Buffer
    }
    
    func f2() {
    	for Buffer := range []int{} {
    		_ = Buffer
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:41:07 UTC 2021
    - 429 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/tac_importer_exporter.h

    // See TacModule in how to register it with the module and use it.
    class TacImporter {
     public:
      virtual ~TacImporter() = default;
    
      // Imports and returns the Module for the imported program.
      virtual absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> Import() = 0;
    };
    
    // Interface for exporting a module.
    // Users should implement the interface for exporting the result from TAC
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top