Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 268 for Imported (0.22 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. docs/en/docs/reference/middleware.md

    ::: fastapi.middleware.cors.CORSMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.cors import CORSMiddleware
    ```
    
    ::: fastapi.middleware.gzip.GZipMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.gzip import GZipMiddleware
    ```
    
    ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 991 bytes
    - Viewed (0)
  4. src/README.vendor

    Use caution when passing '-u' to 'go get'. The '-u' flag updates
    modules providing all transitively imported packages, not only
    the module providing the target package.
    
    Note that 'go mod vendor' only copies packages that are transitively
    imported by packages in the current module. If a new package is needed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.h

    // expressed with tf_executor dialect. It does not require a session to be
    // created and it does not perform any graph transformation. If `exported_names`
    // is std::nullopt, all signatures will be imported. Otherwise, only names
    // in `exported_names` are imported.
    //
    // Note that the word `Lite` means it is a lighter version compared to
    // ConvertSavedModelV1ToMlir(), and is not related to TFLite.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/go/types/package.go

    // less than the set of packages directly imported by pkg's source code.
    //
    // If pkg uses cgo and the FakeImportC configuration option
    // was enabled, the imports list may contain a fake "C" package.
    func (pkg *Package) Imports() []*Package { return pkg.imports }
    
    // SetImports sets the list of explicitly imported packages to list.
    // It is the caller's responsibility to make sure list elements are unique.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/kotlin/Module.md

    All members of this package are implicitly imported and readily available in `.gradle.kts` scripts in addition to the Java API <a href="../userguide/writing_build_scripts.html#script-default-imports">default imports</a>.
    
    # Package org.gradle.kotlin.dsl
    
    The `org.gradle.kotlin.dsl` package contains the Gradle Kotlin DSL public API.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 22:09:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top