Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 627 for wsprefix (0.06 sec)

  1. docs_src/bigger_applications/app_an/main.py

    from .routers import items, users
    
    app = FastAPI(dependencies=[Depends(get_query_token)])
    
    
    app.include_router(users.router)
    app.include_router(items.router)
    app.include_router(
        admin.router,
        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 552 bytes
    - Viewed (0)
  2. cmd/warm-backend-minio.go

    	core := &minio.Core{Client: client}
    	return &warmBackendMinIO{
    		warmBackendS3{
    			client: client,
    			core:   core,
    			Bucket: conf.Bucket,
    			Prefix: strings.TrimSuffix(conf.Prefix, slashSeparator),
    		},
    	}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. docs_src/bigger_applications/app_an/routers/items.py

    from fastapi import APIRouter, Depends, HTTPException
    
    from ..dependencies import get_token_header
    
    router = APIRouter(
        prefix="/items",
        tags=["items"],
        dependencies=[Depends(get_token_header)],
        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1011 bytes
    - Viewed (0)
  4. src/cmd/api/api_test.go

    	*context = build.Default
    	context.Dir = filepath.Join(testenv.GOROOT(t), "src")
    
    	w := NewWalker(context, context.Dir)
    	for _, pkg := range w.stdPackages {
    		if strings.HasPrefix(pkg, "vendor/") || strings.HasPrefix(pkg, "golang.org/x/") {
    			t.Fatalf("stdPackages contains unexpected package %s", pkg)
    		}
    	}
    }
    
    func TestIssue64958(t *testing.T) {
    	defer func() {
    		if x := recover(); x != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. internal/config/etcd/help.go

    			Description: `comma separated list of etcd endpoints` + defaultHelpPostfix(Endpoints),
    			Type:        "csv",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         PathPrefix,
    			Description: `namespace prefix to isolate tenants` + defaultHelpPostfix(PathPrefix),
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         CoreDNSPath,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 27 03:11:37 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils_test.go

    			var first [17]int
    			rng := rand.New(rand.NewSource(0))
    			var tmp [16]byte
    			rng.Read(tmp[:])
    			prefix := hex.EncodeToString(tmp[:])
    			for i := 0; i < 10000; i++ {
    				rng.Read(tmp[:])
    
    				y := hashOrder(fmt.Sprintf("%s/%x", prefix, hex.EncodeToString(tmp[:3])), x)
    				first[y[0]]++
    			}
    			t.Log("first:", first[:x])
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    /rpm-patch.sh "glibc.spec"
    rm -f "glibc-2.17-317.el7.src.rpm" "glibc-2.17-c758a686.tar.gz" "glibc-2.17-c758a686-releng.tar.gz"
    patch -p1 < /gcc9-fixups.patch
    patch -p1 < /stringop_trunc.patch
    cd ../glibc-build
    ../glibc-src/configure --prefix=/usr --disable-werror --enable-obsolete-rpc --disable-profile
    make -j$(nproc)
    make install DESTDIR=${TARGET}
    cd ..
    
    # Symlinks in the binary distribution are set up for installation in /usr, we
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

            readByte()
            // Consume space or tab.
          }
    
          else -> break@loop
        }
      }
      return commaFound
    }
    
    private fun Buffer.startsWith(prefix: Byte): Boolean = !exhausted() && this[0] == prefix
    
    /**
     * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each
     * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. internal/http/headers.go

    	// An error will be printed to console instead.
    	MinIOSnowballIgnoreErrors = "X-Amz-Meta-Minio-Snowball-Ignore-Errors"
    	// MinIOSnowballPrefix will apply this prefix (plus / at end) to all extracted objects
    	MinIOSnowballPrefix = "X-Amz-Meta-Minio-Snowball-Prefix"
    
    	// Object lock enabled
    	AmzObjectLockEnabled = "x-amz-bucket-object-lock-enabled"
    
    	// Multipart parts count
    	AmzMpPartsCount = "x-amz-mp-parts-count"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app_an_py39/routers/items.py

    from fastapi import APIRouter, Depends, HTTPException
    
    from ..dependencies import get_token_header
    
    router = APIRouter(
        prefix="/items",
        tags=["items"],
        dependencies=[Depends(get_token_header)],
        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1011 bytes
    - Viewed (0)
Back to top