- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,508 for Invalid (0.04 sec)
-
tests/generics_test.go
} else if u.Name != user.Name || u.ID != user.ID { t.Errorf("found invalid user, got %v, expect %v", u, user) } if u, err := gorm.G[User](DB).Where("name = ?", user.Name).Take(ctx); err != nil { t.Fatalf("failed to find user, got error: %v", err) } else if u.Name != user.Name || u.ID != user.ID { t.Errorf("found invalid user, got %v, expect %v", u, user) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
} } @Test @DisplayName("Test decode with minimum valid length") void testDecodeMinimumValidLength() throws SMBProtocolDecodingException { // Prepare minimum valid buffer - exactly 24 bytes byte[] buffer = new byte[28]; Arrays.fill(buffer, 0, 24, (byte) 0xAA); // Decode with len = 24 (minimum valid) int bytesConsumed = response.decode(buffer, 0, 24);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
docs_src/dependencies/tutorial012_an_py39.py
if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: Annotated[str, Header()]): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)]) @app.get("/items/")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 746 bytes - Viewed (0) -
internal/config/etcd/etcd_test.go
package etcd import ( "reflect" "testing" ) // TestParseEndpoints - tests parseEndpoints function with valid and invalid inputs. func TestParseEndpoints(t *testing.T) { testCases := []struct { s string endpoints []string secure bool success bool }{ // Invalid inputs {"https://localhost:2379,http://localhost:2380", nil, false, false}, {",,,", nil, false, false},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertEquals(0, result); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidSize() { byte[] buffer = new byte[1024]; int bufferIndex = 100; // Write invalid structure size = 8 SMBUtil.writeInt2(8, buffer, bufferIndex); SMBProtocolDecodingException exception =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
} @Test @DisplayName("Constructor with UUID string containing invalid character should throw IllegalArgumentException") void testConstructorWithStringInvalidCharacter() { // Arrange String invalidUuid = "00112233-4455-6677-8899-AABBCCDDEXX"; // 'X' is invalid // Act & Assert assertThrows(IllegalArgumentException.class, () -> new UUID(invalidUuid),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
cmd/peer-rest-server.go
func (s *peerRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) { s.IsValid(w, r) } // VerifyBinary - verifies the downloaded binary is in-tact func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Request) { if !s.IsValid(w, r) { s.writeErrorResponse(w, errors.New("Invalid request")) return } if r.ContentLength < 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 53.6K bytes - Viewed (0) -
internal/auth/credentials.go
func (cred Credentials) IsImpliedPolicy() bool { if cred.IsServiceAccount() { return cred.Claims[iamPolicyClaimNameSA] == "inherited-policy" } return false } // IsValid - returns whether credential is valid or not. func (cred Credentials) IsValid() bool { // Verify credentials if its enabled or not set. if cred.Status == AccountOff { return false }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
void testValueOfMethod() { // Test valueOf with valid names assertEquals(DialectVersion.SMB1, DialectVersion.valueOf("SMB1")); assertEquals(DialectVersion.SMB202, DialectVersion.valueOf("SMB202")); assertEquals(DialectVersion.SMB311, DialectVersion.valueOf("SMB311")); // Test valueOf with invalid name assertThrows(IllegalArgumentException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/sts-errors.go
Code: "InvalidParameterValue", Description: "An invalid or out-of-range value was supplied for the input parameter.", HTTPStatusCode: http.StatusBadRequest, }, ErrSTSWebIdentityExpiredToken: { Code: "ExpiredToken", Description: "The web identity token that was passed is expired or is not valid. Get a new identity token from the identity provider and then retry the request.",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 05 00:29:41 UTC 2025 - 6K bytes - Viewed (1)