Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 479 for mounts (0.06 seconds)

  1. cmd/site-replication-metrics.go

    	return madmin.TimedErrStats{
    		LastMinute: madmin.RStat{
    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    			Bytes: hourTotals.Size,
    		},
    		Totals: madmin.RStat{
    			Count: float64(rt.SinceUptime.Count),
    			Bytes: rt.SinceUptime.Bytes,
    		},
    		ErrCounts: errCounts,
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. docs_src/templates/tutorial001_py310.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):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 521 bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/static-files.md

    This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
    
    You can read more about this in the [Advanced User Guide](../advanced/index.md).
    
    ## Details { #details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/static-files.md

    Vous pouvez servir des fichiers statiques automatiquement à partir d'un répertoire en utilisant `StaticFiles`.
    
    ## Utiliser `StaticFiles` { #use-staticfiles }
    
    - Importer `StaticFiles`.
    - « Mount » une instance `StaticFiles()` sur un chemin spécifique.
    
    {* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *}
    
    /// note | Détails techniques
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

          if (type == null) {
            Type[] bounds = var.getBounds();
            if (bounds.length == 0) {
              return var;
            }
            Type[] resolvedBounds = new TypeResolver(forDependants).resolveTypes(bounds);
            /*
             * We'd like to simply create our own TypeVariable with the newly resolved bounds. There's
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                }
            }
    
            final int threadCount = 5;
            final Thread[] threads = new Thread[threadCount];
            final Exception[] exceptions = new Exception[threadCount];
            final int[][] counts = new int[threadCount][1];
    
            // Multiple threads iterate over the list
            for (int i = 0; i < threadCount; i++) {
                final int threadIndex = i;
                threads[i] = new Thread(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/static-files.md

    # 静态文件 { #static-files }
    
    你可以使用 `StaticFiles` 从目录中自动提供静态文件。
    
    ## 使用 `StaticFiles` { #use-staticfiles }
    
    * 导入 `StaticFiles`。
    * 将一个 `StaticFiles()` 实例“挂载”(Mount)到指定路径。
    
    {* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *}
    
    /// note | 技术细节
    
    你也可以用 `from starlette.staticfiles import StaticFiles`。
    
    **FastAPI** 提供了和 `starlette.staticfiles` 相同的 `fastapi.staticfiles`,只是为了方便你这个开发者。但它确实直接来自 Starlette。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        }
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. docs_src/custom_docs_ui/tutorial002_py310.py

    from fastapi.openapi.docs import (
        get_redoc_html,
        get_swagger_ui_html,
        get_swagger_ui_oauth2_redirect_html,
    )
    from fastapi.staticfiles import StaticFiles
    
    app = FastAPI(docs_url=None, redoc_url=None)
    
    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    @app.get("/docs", include_in_schema=False)
    async def custom_swagger_ui_html():
        return get_swagger_ui_html(
            openapi_url=app.openapi_url,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  10. .ci/jobs.t/elastic+elasticsearch+periodic+ear.yml

          - shell: |
              #!/bin/bash
              # Configure a dm-crypt volume backed by a file
              set -e
              dd if=/dev/zero of=dm-crypt.img bs=1 count=0 seek=60GB
              dd if=/dev/urandom of=key.secret bs=2k count=1
              LOOP=$(losetup -f)
              sudo losetup $LOOP dm-crypt.img
              sudo cryptsetup luksFormat -q --key-file key.secret "$LOOP"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue May 25 23:43:40 GMT 2021
    - 1.5K bytes
    - Click Count (0)
Back to Top