Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,179 for Imported (0.19 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. src/go/ast/resolve.go

    		}
    	}
    	return false
    }
    
    // An Importer resolves import paths to package Objects.
    // The imports map records the packages already imported,
    // indexed by package id (canonical import path).
    // An Importer must determine the canonical import path and
    // check the map to see if it is already present in the imports map.
    // If so, the Importer can return the map entry. Otherwise, the
    // Importer should load the package data for the given path into
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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