Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for Imported (0.21 sec)

  1. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    	// reflect defines a type "flag" which shows up in the gc export data
    	"reflect"
    	. /* ERROR "imported and not used" */ "reflect"
    )
    
    import "math" /* ERROR "imported and not used" */
    import m /* ERROR "imported as m and not used" */ "math"
    import _ "math"
    
    import (
    	"math/big" /* ERROR "imported and not used" */
    	b /* ERROR "imported as b and not used" */ "math/big"
    	_ "math/big"
    )
    
    import "fmt"
    import f1 "fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/go/types/resolver_test.go

    	if mode != 0 {
    		panic("mode must be 0")
    	}
    	if imp.importer == nil {
    		imp.importer = importer.Default().(ImporterFrom)
    		imp.imported = make(map[string]bool)
    	}
    	pkg, err := imp.importer.ImportFrom(path, srcDir, mode)
    	if err != nil {
    		return nil, err
    	}
    	imp.imported[path] = true
    	return pkg, nil
    }
    
    func TestResolveIdents(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/firUtils.kt

    }
    
    /**
     * @receiver A symbol that needs to be imported
     * @param useSiteSession A use-site fir session.
     * @return An [FqName] by which this symbol can be imported (if it is possible)
     */
    internal fun FirCallableSymbol<*>.computeImportableName(useSiteSession: FirSession): FqName? {
        if (callableId.isLocal) return null
    
        // SAM constructors are synthetic, but can be imported
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/gcimporter.go

    }
    
    // Import imports a gc-generated package given its import path and srcDir, adds
    // the corresponding package object to the packages map, and returns the object.
    // The packages map must contain all packages already imported.
    func Import(fset *token.FileSet, packages map[string]*types.Package, path, srcDir string, lookup func(path string) (io.ReadCloser, error)) (pkg *types.Package, err error) {
    	var rc io.ReadCloser
    	var id string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. test/fixedbugs/issue11361.go

    // errorcheck
    
    // 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.
    
    package a
    
    import "fmt"  // GC_ERROR "imported and not used"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 351 bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/pkgspecial.go

    package objabi
    
    import "sync"
    
    // PkgSpecial indicates special build properties of a given runtime-related
    // package.
    type PkgSpecial struct {
    	// Runtime indicates that this package is "runtime" or imported by
    	// "runtime". This has several effects (which maybe should be split out):
    	//
    	// - Implicit allocation is disallowed.
    	//
    	// - Various runtime pragmas are enabled.
    	//
    	// - Optimizations are always enabled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    
    # For this module, Go 1.16 selects the same versions of all explicit dependencies
    # as Go 1.17 does. However, Go 1.16 selects a higher version of an *implicit*
    # dependency, imported by a test of one of the (external) imported packages.
    # As a result, Go 1.16 also needs checksums for the module sources for that higher
    # version.
    #
    # The Go 1.16 module graph looks like:
    #
    # m ---- lazy v0.1.0 ---- incompatible v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtImportOptimizer.kt

            return analysisSession.importOptimizer.analyseImports(file)
        }
    
        /**
         * @return a [FqName] which can be used to import [this] symbol or `null` if the symbol cannot be imported.
         */
        public fun KaSymbol.getImportableName(): FqName? = withValidityAssertion {
            return analysisSession.importOptimizer.getImportableName(this)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/BUILD

            [
                "**/importer_test_min_max.cc.mlir",
                "**/reshape.mlir",
            ],
        ),
    )
    
    # A binary to inject min/max to a tflite model.
    # A file check command is used to verify the imported result from this
    # binary format.
    tf_native_cc_binary(
        name = "importer_test_min_max",
        srcs = [
            "importer_test_min_max.cc",
        ],
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/tidy.go

    The -compat flag preserves any additional checksums needed for the
    'go' command from the indicated major Go release to successfully load
    the module graph, and causes tidy to error out if that version of the
    'go' command would load any imported package from a different module
    version. By default, tidy acts as if the -compat flag were set to the
    version prior to the one indicated by the 'go' directive in the go.mod
    file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top