- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 1,166 for isInvalid (0.05 seconds)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
} public void testFromStringBadPort() { // Out-of-range ports. checkFromStringCase("google.com:65536", 1, null, 99, false); checkFromStringCase("google.com:9999999999", 1, null, 99, false); // Invalid port parts. checkFromStringCase("google.com:port", 1, null, 99, false); checkFromStringCase("google.com:-25", 1, null, 99, false); checkFromStringCase("google.com:+25", 1, null, 99, false);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/netbios/UniAddress.java
* } * } catch (NamingException ne) { * if (log.level > 1) * ne.printStackTrace(log); * } * * throw uhe != null ? uhe : new UnknownHostException("invalid name"); * } */ Object addr; String calledName; /** * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or * <code>NbtAddress</code>. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.3K bytes - Click Count (0) -
internal/bucket/versioning/versioning_test.go
func TestExcludedPrefixesMatch(t *testing.T) { v := Versioning{ Status: Enabled, ExcludedPrefixes: []ExcludedPrefix{{"*/_temporary/"}}, } if err := v.Validate(); err != nil { t.Fatalf("Invalid test versioning config %v: %v", v, err) } tests := []struct { prefix string excluded bool }{ { prefix: "app1-jobs/output/_temporary/attempt1/data.csv", excluded: true, }, {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun May 08 05:06:44 GMT 2022 - 8.8K bytes - Click Count (0) -
internal/config/identity/openid/jwt_test.go
arnProviderCfgsMap: map[arn.ARN]*providerCfg{ DummyRoleARN: &provider, }, ProviderCfgs: map[string]*providerCfg{ "1": &provider, }, } u, err := url.Parse("http://127.0.0.1:8443/?Token=invalid") if err != nil { t.Fatal(err) } var claims jwtgo.MapClaims if err = cfg.Validate(t.Context(), DummyRoleARN, u.Query().Get("Token"), "", "", claims); err == nil { t.Fatal(err) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
return false } internal fun String.containsInvalidHostnameAsciiCodes(): Boolean { for (i in 0 until length) { val c = this[i] // The WHATWG Host parsing rules accepts some character codes which are invalid by // definition for OkHttp's host header checks (and the WHATWG Host syntax definition). Here // we rule out characters that would cause problems in host headers. if (c <= '\u001f' || c >= '\u007f') {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* * @throws IOException * if a network error occurs */ @Override public void close() throws IOException { try { if (this.handle.isValid()) { this.handle.close(); } } finally { this.file.clearAttributeCache(); this.tmp = null; } } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
} @Test @DisplayName("Should handle referral decode failure gracefully") void testReferralDecodeFailure() { // Create buffer with invalid referral data byte[] testBuffer = new byte[20]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
delegate.addRelatedGroup(group); items.addAll(ImmutableList.copyOf(group)); return this; } /** Run tests on equivalence methods, throwing a failure on an invalid test */ @CanIgnoreReturnValue public EquivalenceTester<T> test() { for (int run = 0; run < REPETITIONS; run++) { testItems(); delegate.test(); } return this; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
delegate.addRelatedGroup(group); items.addAll(ImmutableList.copyOf(group)); return this; } /** Run tests on equivalence methods, throwing a failure on an invalid test */ @CanIgnoreReturnValue public EquivalenceTester<T> test() { for (int run = 0; run < REPETITIONS; run++) { testItems(); delegate.test(); } return this; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0)