- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 573 for mod$ (0.03 sec)
-
guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java
int j = i & ARRAY_MASK; tmp += IntMath.pow(positive[j], exponent[j]); } return tmp; } @Benchmark int mod(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += IntMath.mod(ints[j], positive[j]); } return tmp; } @Benchmark int gCD(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
pytest.param("tutorial002_pv1_an_py310", marks=[needs_py310, needs_pydanticv1]), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.cookie_param_models.{request.param}") client = TestClient(mod.app) return client def test_cookie_param_model(client: TestClient): with client as c: c.cookies.set("session_id", "123")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(IllegalArgumentException.class, () -> IntMath.log2(0, mode)); } } public void testLog2NegativeAlwaysThrows() { for (int x : NEGATIVE_INTEGER_CANDIDATES) { for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(IllegalArgumentException.class, () -> IntMath.log2(x, mode)); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial002.py
pytest.param("tutorial002_pv1_an_py310", marks=[needs_py310, needs_pydanticv1]), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.header_param_models.{request.param}") client = TestClient(mod.app) client.headers.clear() return client def test_header_param_model(client: TestClient): response = client.get( "/items/",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.query_param_models.{request.param}") client = TestClient(mod.app) return client def test_query_param_model(client: TestClient): response = client.get( "/items/", params={
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
UnsignedLong unsignedRem = aUnsigned.mod(bUnsigned); assertThat(unsignedRem.longValue()).isEqualTo(expected); } } } } public void testModByZero() { for (long a : TEST_LONGS) { assertThrows( ArithmeticException.class, () -> UnsignedLong.fromLongBits(a).mod(UnsignedLong.ZERO)); } } public void testCompare() {
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/src/com/google/common/hash/SipHashFunction.java
// The number of bytes in the input. private long b = 0; // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes // and ending with a byte encoding the positive integer b mod 256. private long finalM = 0; SipHasher(int c, int d, long k0, long k1) { super(CHUNK_SIZE); this.c = c; this.d = d; this.v0 ^= k0; this.v1 ^= k1;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.3K bytes - Viewed (0) -
.typos.toml
[files] extend-exclude = [ ".git/", "docs/", "CREDITS", "go.mod", "go.sum", ] ignore-hidden = false [default] extend-ignore-re = [ "Patrick Collison", "Copyright 2014 Unknwon", "[0-9A-Za-z/+=]{64}", "ZXJuZXQxDjAMBgNVBA-some-junk-Q4wDAYDVQQLEwVNaW5pbzEOMAwGA1UEAxMF", "eyJmb28iOiJiYXIifQ", "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.*", "MIIDBTCCAe2gAwIBAgIQWHw7h.*",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 910 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
} @GwtIncompatible // NavigableSet public void testUnmodifiableNavigableSet() { TreeSet<Integer> mod = Sets.newTreeSet(); mod.add(1); mod.add(2); mod.add(3); NavigableSet<Integer> unmod = unmodifiableNavigableSet(mod); /* Unmodifiable is a view. */ mod.add(4); assertTrue(unmod.contains(4)); assertTrue(unmod.descendingSet().contains(4));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(IllegalArgumentException.class, () -> IntMath.log2(0, mode)); } } public void testLog2NegativeAlwaysThrows() { for (int x : NEGATIVE_INTEGER_CANDIDATES) { for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(IllegalArgumentException.class, () -> IntMath.log2(x, mode)); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0)