- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,160 for isInvalid (0.06 seconds)
-
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy
import org.elasticsearch.gradle.fixtures.AbstractGradleFuncTest import org.gradle.testkit.runner.TaskOutcome class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest { def "detects invalid files with invalid license header"() { given: buildFile << """ plugins { id 'java' id 'elasticsearch.internal-licenseheaders' } """ dualLicensedFile()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
} @Test public void test_nestedExceptions() { // Test nested exception handling Exception innerCause = new IllegalArgumentException("Invalid parameter"); RuntimeException middleCause = new RuntimeException("Processing failed", innerCause); ThemeException exception = new ThemeException("Theme operation failed", middleCause);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
assertActivationWithProblems(profile, newContext(null, newProperties("rubbish")), "invalid JDK version"); assertActivationWithProblems(profile, newContext(null, newProperties("1.a.0_09")), "invalid JDK version"); assertActivationWithProblems(profile, newContext(null, newProperties("1.a.2.b")), "invalid JDK version"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 9.1K bytes - Click Count (0) -
internal/crypto/sse-kms.go
logger.CriticalIf(context.Background(), Errorf("The seal algorithm '%s' is invalid for SSE-S3", sealedKey.Algorithm)) } // There are two possibilities: // - We use a KMS -> There must be non-empty key ID and a KMS data key. // - We use a K/V -> There must be no key ID and no KMS data key. // Otherwise, the caller has passed an invalid argument combination. if keyID == "" && len(kmsKey) != 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
configure.py
# Check if the path is valid if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK): break elif not os.path.exists(python_bin_path): print('Invalid python path: {} cannot be found.'.format(python_bin_path)) else: print('{} is not executable. Is it the python binary?'.format( python_bin_path)) environ_cp['PYTHON_BIN_PATH'] = ''Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 19 16:32:04 GMT 2025 - 48.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23), "Should throw exception when length < 24"); assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match"); } @Test @DisplayName("Test decode throws exception with zero length") void testDecodeThrowsExceptionWithZeroLength() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
fastapi/openapi/docs.py
) : {}; isValid = qp.state === sentState; if (( oauth2.auth.schema.get("flow") === "accessCode" || oauth2.auth.schema.get("flow") === "authorizationCode" || oauth2.auth.schema.get("flow") === "authorization_code" ) && !oauth2.auth.code) { if (!isValid) { oauth2.errCb({Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 12.1K bytes - Click Count (0) -
cmd/bucket-handlers_test.go
secretKey string expectedContent []byte expectedRespStatus int }{ // Test case - 0. // Delete objects with invalid access key. 0: { bucket: bucketName, objects: successRequest0, accessKey: "Invalid-AccessID", secretKey: credentials.SecretKey, expectedContent: nil, expectedRespStatus: http.StatusForbidden, },
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 39.8K bytes - Click Count (0) -
docs_src/bigger_applications/app_an_py310/dependencies.py
from fastapi import Header, HTTPException async def get_token_header(x_token: Annotated[str, Header()]): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def get_query_token(token: str): if token != "jessica":
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 409 bytes - Click Count (0) -
cmd/bucket-replication-utils.go
type ResyncTargetDecision struct { Replicate bool ResetID string ResetBeforeDate time.Time } var errInvalidReplicateDecisionFormat = fmt.Errorf("ReplicateDecision has invalid format") // parse k-v pairs of target ARN to stringified ReplicateTargetDecision delimited by ',' into a // ReplicateDecision structCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0)