Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,096 for defaulted (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

      // See release notes https://groups.google.com/forum/#!forum/conscrypt
      // for version differences
      override fun newSSLContext(): SSLContext =
        // supports TLSv1.3 by default (version api is >= 1.4.0)
        SSLContext.getInstance("TLS", provider)
    
      override fun platformTrustManager(): X509TrustManager {
        val trustManagers =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Files.createDirectories(userDirectory);
            Path propsPath = userDirectory.resolve("maven.properties");
            Files.writeString(propsPath, "${includes} = default.properties,?env-${env.envName}.properties\n");
            Path defPath = userDirectory.resolve("default.properties");
            Files.writeString(defPath, "foo=bar");
            Path envPath = userDirectory.resolve("env-ci.properties");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. internal/config/api/help.go

    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help holds configuration keys and their default values for api subsystem.
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         apiRequestsMax,
    			Description: `set the maximum number of concurrent requests (default: auto)`,
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         apiClusterDeadline,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. docs_src/query_params_str_validations/tutorial002.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Union[str, None] = Query(default=None, max_length=50)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 308 bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial007.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(default=None, title="Query string", min_length=3),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 336 bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial004.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 367 bytes
    - Viewed (0)
  7. cmd/admin-handlers-config-kv.go

    	if err = saveServerConfig(ctx, objectAPI, cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// freshly retrieve the config so that default values are loaded for reset config
    	if cfg, err = getValidConfig(objectAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial012.py

    from typing import List
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: List[str] = Query(default=["foo", "bar"])):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 217 bytes
    - Viewed (0)
  9. docs_src/header_params/tutorial002.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        strange_header: Union[str, None] = Header(default=None, convert_underscores=False),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 260 bytes
    - Viewed (0)
  10. internal/dsync/lock-args_gen.go

    			} else {
    				if z.Quorum == nil {
    					z.Quorum = new(int)
    				}
    				*z.Quorum, err = dc.ReadInt()
    				if err != nil {
    					err = msgp.WrapError(err, "Quorum")
    					return
    				}
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top