- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,644 for Imported (0.12 sec)
-
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) -
src/cmd/compile/internal/types2/object.go
// The remaining arguments set the attributes found with all Objects. func NewPkgName(pos syntax.Pos, pkg *Package, name string, imported *Package) *PkgName { return &PkgName{object{nil, pos, pkg, name, Typ[Invalid], 0, black, nopos}, imported, false} } // Imported returns the package that was imported. // It is distinct from Pkg(), which is the package containing the import statement.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/internal/types/testdata/check/importdecl1/importdecl1b.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 270 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go
// [GetPackageFunc] (if any) is also concurrency-safe. func (d *Decoder) Decode(read func(pkgPath string) ([]byte, error)) (*Set, error) { // Read facts from imported packages. // Facts may describe indirectly imported packages, or their objects. m := make(map[key]analysis.Fact) // one big bucket for _, imp := range d.pkg.Imports() { logf := func(format string, args ...interface{}) { if debug {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 12.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GrammarDelegate.java
} /** * Retrieves the name of this vocabulary imported by this grammar. * * @return The grammar's imported vocabulary name. */ public String getImportVocab() { return importVocab; } /** * Retrieves the name of this vocabulary exported by this grammar. * * @return The grammar's exported vocabulary name. */ public String getExportVocab() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/depBaseInternal/dep.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. // depBaseInternal is only imported by depBase. package depBaseInternal var Initialized bool func init() { Initialized = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:46:11 UTC 2023 - 292 bytes - Viewed (0)