- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 136 for testMod (0.07 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
for (long x : ALL_LONG_CANDIDATES) { assertThrows(ArithmeticException.class, () -> LongMath.mod(x, 0)); } } @AndroidIncompatible // slow @GwtIncompatible // TODO public void testMod() { for (long x : ALL_LONG_CANDIDATES) { for (long m : POSITIVE_LONG_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).longValue(), LongMath.mod(x, m)); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
dbflute_fess/dfprop/sourceCopyright.dfprop
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 344 bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
} } func TestUpsertPodCache(t *testing.T) { counter.Store(0) p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 1)) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}} nspath1 := "/path/to/netns/1" nspath2 := "/path/to/netns/2" netns1, err := p.UpsertPodCache(pod, nspath1) if err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 4.2K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns") assert.Error(t, err) assert.Equal(t, strings.Contains(err.Error(), fmt.Sprintf("unable to push CNI event (status code %d)", http.StatusInternalServerError)), true) } func TestPushCNIAddEventGoodPayload(t *testing.T) { testPod := "testpod" testNS := "testns"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/bitrot_test.go
package cmd import ( "context" "io" "testing" ) func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) { tmpDir := t.TempDir() volume := "testvol" filePath := "testfile" disk, err := newLocalXLStorage(tmpDir) if err != nil { t.Fatal(err) } disk.MakeVol(context.Background(), volume)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
* @throws Exception */ @Test public void testFatal() throws Exception { logger.fatal("fatal"); } /** * @throws Exception */ @Test public void testLog() throws Exception { logger.log("ILOGTEST0001"); } /** * @throws Exception */ @Test public void testLogWithArgs() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0)