Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,006 for mount (0.17 sec)

  1. docs_src/static_files/tutorial001.py

    from fastapi import FastAPI
    from fastapi.staticfiles import StaticFiles
    
    app = FastAPI()
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 159 bytes
    - Viewed (0)
  2. docs_src/wsgi/tutorial001.py

        name = request.args.get("name", "World")
        return f"Hello, {escape(name)} from Flask!"
    
    
    app = FastAPI()
    
    
    @app.get("/v2")
    def read_main():
        return {"message": "Hello World"}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue May 09 14:32:00 GMT 2023
    - 443 bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/path/filepath/63703.md

    On Windows, [EvalSymlinks] no longer evaluates mount points,
    which was a source of many inconsistencies and bugs.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Previous versions default to `winsymlink=0`.
    
    On Windows, [EvalSymlinks] no longer tries to normalize
    volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 545 bytes
    - Viewed (0)
  4. docs_src/sub_applications/tutorial001.py

    @app.get("/app")
    def read_main():
        return {"message": "Hello World from main app"}
    
    
    subapi = FastAPI()
    
    
    @subapi.get("/sub")
    def read_sub():
        return {"message": "Hello World from sub API"}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jun 11 21:53:19 GMT 2020
    - 274 bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/core/v1/generated.proto

      // azureFile represents an Azure File Service mount on the host and bind mount to the pod.
      // +optional
      optional AzureFilePersistentVolumeSource azureFile = 13;
    
      // vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
      // +optional
      optional VsphereVirtualDiskVolumeSource vsphereVolume = 14;
    
      // quobyte represents a Quobyte mount on the host that shares a pod's lifetime
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 386 bytes
    - Viewed (0)
  7. docs_src/templates/tutorial001.py

    from fastapi import FastAPI, Request
    from fastapi.responses import HTMLResponse
    from fastapi.staticfiles import StaticFiles
    from fastapi.templating import Jinja2Templates
    
    app = FastAPI()
    
    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    templates = Jinja2Templates(directory="templates")
    
    
    @app.get("/items/{id}", response_class=HTMLResponse)
    async def read_item(request: Request, id: str):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Dec 26 20:12:34 GMT 2023
    - 521 bytes
    - Viewed (0)
  8. misc/wasm/go_wasip1_wasm_exec

    		;;
    	"wasmer")
    		exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}"
    		;;
    	"wazero")
    		exec wazero run -mount /:/ -env-inherit -cachedir "${TMPDIR:-/tmp}"/wazero ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmtime" | "")
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 797 bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_windows.go

    	case windows.DRIVE_FIXED, windows.DRIVE_REMOVABLE, windows.DRIVE_REMOTE, windows.DRIVE_RAMDISK:
    		// Recognize "fixed", "removable", "remote" and "ramdisk" drives as proper drives
    		// which can be treated as an actual mount-point, rest can be ignored.
    		// https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-getdrivetypew
    		mountPointCache.Store(path, true)
    		return true
    	}
    	mountPointCache.Store(path, false)
    	return false
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. cni/pkg/repair/netns.go

    // /var/run/netns/<name>. However, this pattern is not ubiquitous. Some platforms bind mount to other places. As we run
    // in a pod, we cannot just access any arbitrary file they happen to bind mount in, as we don't know ahead of time where
    // it might be.
    //
    // Instead, we rely directly on the procfs.
    // This rules out two possible methods:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top