Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,644 for Imported (0.21 sec)

  1. 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)
  2. src/cmd/compile/internal/types2/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: Thu Jul 06 13:09:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/testdata/script/list_cgo_compiled_importmap.txt

    	# Control case: the explicitly-imported package "sync" is a test variant,
    	# because "sync" depends on "runtime".
    stdout '"sync \[runtime\.test\]"'
    ! stdout '"sync"'
    
    	# Experiment: the implicitly-imported package "runtime/cgo" is also a test variant,
    	# because "runtime/cgo" also depends on "runtime".
    stdout '"runtime/cgo \[runtime\.test\]"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 22:26:09 UTC 2023
    - 1.7K 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. src/cmd/go/testdata/script/list_import_err.txt

    # Test that errors importing packages are reported on the importing package,
    # not the imported package.
    
    env GO111MODULE=off # simplify vendor layout for test
    
    go list -e -deps -f '{{.ImportPath}}: {{.Error}}' ./importvendor
    stdout 'importvendor: importvendor[\\/]p.go:2:8: vendor/p must be imported as p'
    stdout 'vendor/p: <nil>'
    
    go list -e -deps -f '{{.ImportPath}}: {{.Error}}' ./importinternal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 10 20:27:52 UTC 2023
    - 771 bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter_test.go

    	// will expose the error if it is present.
    	//
    	// (Issue: Both the textual and the binary importer used the file path
    	// of the package to be imported as key into the shared packages map.
    	// However, the binary importer then used the package path to identify
    	// the imported package to mark it as complete; effectively marking the
    	// wrong package as complete. By using an "unclean" package path, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/resolver.go

    	} else {
    		// ordinary import
    		var err error
    		if importer := check.conf.Importer; importer == nil {
    			err = fmt.Errorf("Config.Importer not installed")
    		} else if importerFrom, ok := importer.(ImporterFrom); ok {
    			imp, err = importerFrom.ImportFrom(path, dir, 0)
    			if imp == nil && err == nil {
    				err = fmt.Errorf("Config.Importer.ImportFrom(%s, %s, 0) returned nil but no error", path, dir)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/go/types/resolver.go

    	} else {
    		// ordinary import
    		var err error
    		if importer := check.conf.Importer; importer == nil {
    			err = fmt.Errorf("Config.Importer not installed")
    		} else if importerFrom, ok := importer.(ImporterFrom); ok {
    			imp, err = importerFrom.ImportFrom(path, dir, 0)
    			if imp == nil && err == nil {
    				err = fmt.Errorf("Config.Importer.ImportFrom(%s, %s, 0) returned nil but no error", path, dir)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. 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)
Back to top