- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 2,263 for Same (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
* them, so the CN is unused. */ @Test fun verifyNonAsciiSubjectAlt() { // Expecting actual: // ["bar.com", "è±å.co.jp"] // to contain exactly (and in same order): // ["bar.com", "������.co.jp"] platform.assumeNotBouncyCastle() // CN=foo.com, subjectAlt=bar.com, subjectAlt=花子.co.jp // (hanako.co.jp in kanji) val session =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 40.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
// Disallow: /*?*id=* - should block URLs with ?...id=... assertFalse(robotsTxt.allows("/page?id=123", "MultiWildcardBot")); assertFalse(robotsTxt.allows("/article?name=test&id=456", "MultiWildcardBot")); assertTrue(robotsTxt.allows("/page?name=test", "MultiWildcardBot")); // no id= // Test DollarBot - literal $ in middle of pattern // Disallow: /price$info - $ in middle should be treated as literalRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
assertNull(bothNullException.getMessage()); assertNull(bothNullException.getCause()); } @Test @DisplayName("Test deprecated getRootCause method returns the same as getCause") @SuppressWarnings("deprecation") public void testGetRootCause() { // Test with no cause TransportException noCauseException = new TransportException("No cause");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
/* * Don't bother testing. All non-primitive parameters are used only to construct error messages. * We never want to pass null for them, so we haven't annotated them to say that null is * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls * that NullPointerTester wants. * * (This empty method disables the automatic null testing provided by PackageSanityTests.) */ }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* for insertions. */ static <E extends @Nullable Object> Set<E> preservesInsertionOrderOnAddsSet() { return CompactHashSet.create(); } /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
public Object[] toArray() { /* * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements * have the same nullness as E." Since we can't, we declare it to return nullable elements, and * we can override it in our non-null-guaranteeing subtypes to present a better signature to * their users. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
} // Wrapper of EnumMultiset factory methods, because we need to skip create(Class). // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise. // For the same reason, we need to skip create(Iterable, Class). private static class EnumMultisetFactory { @Keep // used reflectively by testEquals public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
long skipped = in.skip(n); left -= skipped; return skipped; } } /** * Attempts to read enough bytes from the stream to fill the given byte array, with the same * behavior as {@link DataInput#readFully(byte[])}. Does not close the stream. * * @param in the input stream to read from. * @param b the buffer into which the data is read.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
import java.util.logging.Logger; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.junit.Test; /** * Automatically runs sanity checks against top level classes in the same package of the test that * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example: * * <pre>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
} } @Test @DisplayName("Test toString contains proper class name") void testToStringFormat() { String str = response.toString(); // Should start with the class name assertTrue(str.startsWith("Trans2SetFileInformationResponse[")); // Should end with closing bracket assertTrue(str.endsWith("]"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0)