- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for testMod (0.04 sec)
-
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long a : TEST_LONGS) { assertThrows( ArithmeticException.class, () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO)); } } public void testMod() { for (long a : TEST_LONGS) { for (long b : TEST_LONGS) { if (b != 0) { UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long a : TEST_LONGS) { assertThrows( ArithmeticException.class, () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO)); } } public void testMod() { for (long a : TEST_LONGS) { for (long b : TEST_LONGS) { if (b != 0) { UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(ArithmeticException.class, () -> IntMath.divide(p, 0, mode)); } } } public void testMod() { for (int x : ALL_INTEGER_CANDIDATES) { for (int m : POSITIVE_INTEGER_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m)); } } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
// Provide a common OID for tests (Kerberos V5 mechanism OID encoded in DER) private static ASN1ObjectIdentifier testOid() { return new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); } private static byte[] oidDer() { // Full DER encoding of the OID try { return testOid().toASN1Primitive().getEncoded(); } catch (java.io.IOException e) { throw new RuntimeException(e);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertFalse(invokable.isAnnotationPresent(Tested.class)); } @Retention(RetentionPolicy.RUNTIME) @Keep private @interface Tested {} private abstract static class A { @Tested private boolean privateField; @Tested int packagePrivateField; @Tested protected int protectedField; @Tested public String publicField; @Tested private static Iterable<String> staticField;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 30.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
assertFalse(robotsTxt.allows("/valid1/", "TestBot")); assertFalse(robotsTxt.allows("/valid2/", "TestBot")); assertTrue(robotsTxt.allows("/valid3/", "TestBot")); assertFalse(robotsTxt.allows("/valid4/", "TestBot")); } public void testParse_emptyValues() { String robotsTxtContent = "User-agent: TestBot\n" + "Disallow:\n" + "Allow:\n" + "Crawl-delay:\n";
Registered: 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/internal/smb1/trans/nt/SmbComNtCancelTest.java
// Given int testMid = 42; // When Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class); constructor.setAccessible(true); SmbComNtCancel cancel = constructor.newInstance(mockConfig, testMid); // Then assertNotNull(cancel);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Domains: single domain named TESTDOM lsarpc.LsarRefDomainList domains = new lsarpc.LsarRefDomainList(); domains.count = 1; domains.max_count = 1; domains.domains = new lsarpc.LsarTrustInformation[1]; domains.domains[0] = new lsarpc.LsarTrustInformation(); domains.domains[0].name = new UnicodeString("TESTDOM", false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Testers for {@link SetMultimap#asMap}. * * @author Louis Wasserman * @param <K> The key type of the tested multimap. * @param <V> The value type of the tested multimap. */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
? Predicates.<T>isNull() : new IsEqualToPredicate(target).withNarrowedType(); } /** * Returns a predicate that evaluates to {@code true} if the object being tested is an instance of * the given class. If the object being tested is {@code null} this predicate evaluates to {@code * false}. * * <p>If you want to filter an {@code Iterable} to narrow its type, consider using {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0)