- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 852 for valid4 (0.07 seconds)
-
docs/pt/docs/tutorial/body.md
{ "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...como `description` e `tax` são opcionais (com um valor padrão de `None`), esse JSON "`object`" também é válido: ```JSON { "name": "Foo", "price": 45.2 } ``` ## Declare como um parâmetro { #declare-it-as-a-parameter }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
/** * Validation method used by {@code from} to ensure that the domain name is syntactically valid * according to RFC 1035. * * @return Is the domain name syntactically valid? */ private static boolean validateSyntax(List<String> parts) { int lastIndex = parts.size() - 1; // Validate the last part specially, as it has different syntax rules. if (!validatePart(parts.get(lastIndex), true)) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 27.9K bytes - Click Count (0) -
utils/utils_test.go
{"error not equal", errors.New("1"), errors.New("2"), false}, {"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true}, {"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false}, {"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false}, } for _, test := range assertEqualTests {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 4.9K bytes - Click Count (0) -
tests/test_serialize_response_dataclass.py
app = FastAPI() @dataclass class Item: name: str date: datetime price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0} @app.get("/items/object", response_model=Item) def get_object(): return Item(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.9K bytes - Click Count (0) -
migrator/index.go
func (idx Index) PrimaryKey() (isPrimaryKey bool, ok bool) { return idx.PrimaryKeyValue.Bool, idx.PrimaryKeyValue.Valid } // Unique returns whether the index is unique or not. func (idx Index) Unique() (unique bool, ok bool) { return idx.UniqueValue.Bool, idx.UniqueValue.Valid } // Option return the optional attribute of the index func (idx Index) Option() string { return idx.OptionValue
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Apr 11 02:32:46 GMT 2023 - 1023 bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// Act: first valid next should be the second element assertTrue(itr.hasNext()); SmbResource r = itr.next(); // Assert: the invalid name was skipped, valid one returned assertNotNull(r); assertTrue(r.getName().startsWith("OKSERVER"), "Expected valid entry to be adapted"); assertFalse(itr.hasNext()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/test_query.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Test excessive maxTransactSize (> 16MB) SMBUtil.writeInt4(20 * 1024 * 1024, buffer, 28); // 20MB SMBUtil.writeInt4(1024 * 1024, buffer, 32); // 1MB read size - valid SMBUtil.writeInt4(1024 * 1024, buffer, 36); // 1MB write size - valid SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0); });Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
internal/arn/arn_test.go
wantErr bool }{ { name: "valid resource ID must succeed", args: args{ resourceID: "my-role", serverRegion: "us-east-1", }, want: ARN{ Partition: "minio", Service: "iam", Region: "us-east-1", ResourceType: "role", ResourceID: "my-role", }, wantErr: false, }, { name: "valid resource ID must succeed", args: args{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 04 08:31:34 GMT 2024 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Test minimum valid TID smb2Response.setTreeId(0); assertTrue(smb2Response.isValidTid(), "TID 0 should be valid"); // Test maximum valid TID smb2Response.setTreeId(Integer.MAX_VALUE); assertTrue(smb2Response.isValidTid(), "Maximum TID should be valid"); // Test invalid TIDCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0)