- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 683 for valid1 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() { assertDoesNotThrow(() -> new SmbComSetInformationResponse(mockConfig)); } @Nested @DisplayName("writeParameterWordsWireFormat tests")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
tests/test_serialize_response_model.py
class Item(BaseModel): name: str = Field(alias="aliased_name") price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return Item(aliased_name="valid", price=1.0) @app.get("/items/coerce", response_model=Item) def get_coerce(): return Item(aliased_name="coerce", price="1.0")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/AddressTest.java
Address unwrapped = mockAddress.unwrap(Address.class); assertSame(mockAddress, unwrapped, "Should return same instance for supported type"); } @Test @DisplayName("getHostName should return valid hostname or address") void testGetHostNameContract() { // Given String expectedHostName = "server.example.com"; when(mockAddress.getHostName()).thenReturn(expectedHostName); // When
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/object-api-input-checks.go
} // Checks bucket and object name validity, returns nil if both are valid. func checkBucketAndObjectNames(ctx context.Context, bucket, object string) error { // Verify if bucket is valid. if !isMinioMetaBucketName(bucket) && s3utils.CheckValidBucketNameStrict(bucket) != nil { return BucketNameInvalid{Bucket: bucket} } // Verify if object is valid. if len(object) == 0 { return ObjectNameInvalid{Bucket: bucket, Object: object}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
public boolean hasAccess(RdmaAccess access) { return accessFlags.contains(access); } /** * Check if memory region is still valid * * @return true if valid, false if invalidated */ public boolean isValid() { return valid; } /** * Invalidate this memory region * * After invalidation, the region cannot be used for RDMA operations.
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When boolean valid = response.isValid(mockContext, mockRequest); // Then assertTrue(valid); assertEquals(DialectVersion.SMB311, response.getSelectedDialect()); } @Test @DisplayName("Should fail validation when not received") void testIsValidNotReceived() { // When boolean valid = response.isValid(mockContext, mockRequest);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
* parsing fails. Always use this method in preference to {@link #fromValid(String)} for a * specifier that is not already known to be valid. * * @throws ParseException if the specifier is not valid. */ @CanIgnoreReturnValue // TODO(b/219820829): consider removing public static HostSpecifier from(String specifier) throws ParseException { try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0) -
internal/jwt/parser.go
func (c *StandardClaims) SetAccessKey(accessKey string) { c.Subject = accessKey c.AccessKey = accessKey } // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible // claims interface, additionally validates "accessKey" fields. func (c *StandardClaims) Valid() error { if err := c.StandardClaims.Valid(); err != nil { return err } if c.AccessKey == "" && c.Subject == "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java
*/ public void setValue(final String value) { this.value = value; } /** * Checks if the request header is valid. * A header is considered valid if its name is not blank and its value is not null. * @return true if the header is valid, false otherwise. */ public boolean isValid() { if (StringUtil.isBlank(name) || value == null) { return false; }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3K bytes - Click Count (0) -
tests/test_serialize_response.py
app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return {"name": "valid", "price": 1.0} @app.get("/items/coerce", response_model=Item) def get_coerce(): return {"name": "coerce", "price": "1.0"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.4K bytes - Click Count (0)