Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 1,338 for defaults (0.12 seconds)

  1. docs_src/path_params_numeric_validations/tutorial001_py39.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: Union[str, None] = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 364 bytes
    - Click Count (0)
  2. cmd/kms-handlers_test.go

    			method: http.MethodGet,
    			path:   kmsKeyListPath,
    			query:  map[string]string{"pattern": "*"},
    			asRoot: true,
    
    			wantStatusCode: http.StatusOK,
    			wantKeyNames:   []string{"default-test-key", "abc-test-key", "xyz-test-key"},
    		},
    		{
    			name:   "list keys as user with no policy want forbidden",
    			method: http.MethodGet,
    			path:   kmsKeyListPath,
    			query:  map[string]string{"pattern": "*"},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. cmd/user-provider-utils.go

    			err = errNoSuchUser
    		}
    		if err != nil {
    			if validate {
    				return "", err
    			}
    			if !globalIAMSys.LDAPConfig.ParsesAsDN(user) {
    				return "", errNoSuchUser
    			}
    		}
    		return res.NormDN, nil
    	default:
    		return "", errIAMActionNotAllowed
    	}
    }
    
    // guessUserProvider - guesses the user provider based on the access key and claims.
    func guessUserProvider(credentials auth.Credentials) string {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. internal/bpool/bpool.go

    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    		return nil
    	}
    	select {
    	case b = <-bp.c:
    		// reuse existing buffer
    	default:
    		// create new aligned buffer
    		b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w]
    	}
    	return b
    }
    
    // Put returns the given Buffer to the BytePool.
    func (bp *BytePoolCap) Put(b []byte) {
    	if bp == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. docs_src/header_params/tutorial003_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Union[list[str], None] = Header(default=None)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 218 bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/asm.go

    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    			p.errorf("bad float size for DATA argument: %d", sz)
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 21 15:13:08 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * @param session the session to use
         * @param artifactCoordinates t
         * @return the version range resolution result
         * @throws VersionResolverException if an errors occurs
         */
        @Nonnull
        default VersionRangeResolverResult resolve(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
                throws VersionResolverException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 12 06:19:14 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  8. docs/site-replication/run-replication-with-checksum-header.sh

    echo -n "Starting MinIO instances ..."
    CI=on MINIO_KMS_SECRET_KEY=minio-default-key:IyqsU3kMFloCNup4BsZtf/rmfHVcTgznO2F25CkEH1g= MINIO_ROOT_USER=minio MINIO_ROOT_PASSWORD=minio123 minio server --certs-dir /tmp/certs --address ":9001" --console-address ":10000" /tmp/minio1/{1...4}/disk{1...4} /tmp/minio1/{5...8}/disk{1...4} >/tmp/minio1_1.log 2>&1 &
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. .dockerignore

    .git
    .github
    default.etcd
    *.gz
    *.tar.gz
    *.bzip2
    *.zip
    browser/node_modules
    node_modules
    docs/debugging/s3-verify/s3-verify
    docs/debugging/xl-meta/xl-meta
    docs/debugging/s3-check-md5/s3-check-md5
    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 18 20:47:03 GMT 2023
    - 384 bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(parserRequest.logger()).thenReturn(logger);
    
            return new UpgradeContext(request, options);
        }
    
        /**
         * Creates default upgrade options with all optional values empty.
         *
         * @return default upgrade options
         */
        public static UpgradeOptions createDefaultOptions() {
            UpgradeOptions options = mock(UpgradeOptions.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top