- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 874 for Valid (0.02 seconds)
-
tests/test_request_body_parameters_media_type.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() media_type = "application/vnd.api+json" # NOTE: These are not valid JSON:API resources # but they are fine for testing requestBody with custom media_type class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
public void setUp() { testAnalyzer = new TestSuggestAnalyzer(); analyzer = testAnalyzer; } @Test public void testAnalyzeWithValidInput() { // Test normal analyze with valid input String text = "test text"; String field = "content"; String lang = "en"; List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang); assertNotNull(tokens);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
// Assert assertEquals(445, port); assertEquals(SmbConstants.DEFAULT_PORT, port); } @Test @DisplayName("openConnection creates SmbFile for valid URL") void testOpenConnectionWithValidUrl() throws IOException { // Arrange - Create URL with handler URL url = new URL(null, "smb://host/share", handler); // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
internal/config/subnet/config.go
c.BaseURL = baseURL if isDevEnv { c.BaseURL = os.Getenv("_MINIO_SUBNET_URL") if c.BaseURL == "" { c.BaseURL = baseURLDev } } } // LookupConfig - lookup config and override with valid environment settings if any. func LookupConfig(kvs config.KVS, transport http.RoundTripper) (cfg Config, err error) { if err = config.CheckValidKeys(config.SubnetSubSys, kvs, DefaultKVS); err != nil { return cfg, err }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/batch-rotate.go
) // keyrotate: // apiVersion: v1 // bucket: BUCKET // prefix: PREFIX // encryption: // type: sse-s3 # valid values are sse-s3 and sse-kms // key: <new-kms-key> # valid only for sse-kms // context: <new-kms-key-context> # valid only for sse-kms // # optional flags based filtering criteria // # for all objects // flags: // filter:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.7K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-python-types.md
``` The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value: ```Python say_hi(name=None) # This works, None is valid 🎉 ``` The good news is, in most cases, you will be able to simply use `|` to define unions of types: ```python def say_hi(name: str | None): print(f"Hey {name}!") ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 2K bytes - Click Count (0) -
.github/workflows/mint.yml
- name: standalone erasure run: | ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "erasure" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}" # FIXME: renable this back when we have a valid way to add deadlines for PUT()s (internode CreateFile) # - name: resiliency # run: | # ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "resiliency" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2.9K bytes - Click Count (0) -
src/archive/tar/common.go
AccessTime time.Time // Access time (requires either PAX or GNU support) ChangeTime time.Time // Change time (requires either PAX or GNU support) Devmajor int64 // Major device number (valid for TypeChar or TypeBlock) Devminor int64 // Minor device number (valid for TypeChar or TypeBlock) // Xattrs stores extended attributes as PAX records under the // "SCHILY.xattr." namespace. // // The following are semantically equivalent:
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
*/ public String[] getFileProtocols() { return fileProtocols; } /** * Checks if the given URL uses a valid web protocol. * * @param url the URL to validate * @return true if the URL starts with a supported web protocol, false otherwise */ public boolean isValidWebProtocol(final String url) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
void testReadString() throws Exception { ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); // Write a valid string structure String testString = "TEST"; int totalChars = testString.length(); writeLittleEndianInt(dos, totalChars); // totalChars writeLittleEndianInt(dos, 0); // unusedChars
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0)