- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 914 for multiply (0.06 sec)
-
src/test/java/jcifs/pac/PacDataInputStreamTest.java
long time = System.currentTimeMillis(); BigInteger filetime = BigInteger.valueOf(time) .add(BigInteger.valueOf(SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601)) .multiply(BigInteger.valueOf(10000L)); byte[] data = new byte[8]; long low = filetime.longValue(); long high = filetime.shiftRight(32).longValue(); // write little-endian
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
@AndroidIncompatible // presumably slow public void testCheckedMultiply() { for (int a : ALL_INTEGER_CANDIDATES) { for (int b : ALL_INTEGER_CANDIDATES) { BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); boolean expectedSuccess = fitsInInt(expectedResult); try { assertEquals(a * b, IntMath.checkedMultiply(a, b)); assertTrue(expectedSuccess);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
*/ open fun header( name: String, value: String, ) = apply { headers[name] = value } /** * Adds a header with [name] and [value]. Prefer this method for multiply-valued * headers like "Cookie". * * Note that for some headers including `Content-Length` and `Content-Encoding`, * OkHttp may replace [value] with a header derived from the request body. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
.functionScoreQuery(QueryBuilders.matchAllQuery(), flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()])) .boostMode(CombineFunction.MULTIPLY)); reader.addSort(SortBuilders.fieldSort(fessConfig.getIndexFieldClickCount())); reader.addSort(SortBuilders.scoreSort()); return reader; }, docPerReq, () -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
* _actual prod code_. But it probably affects only unusual cases. */ continue; } BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); boolean expectedSuccess = fitsInLong(expectedResult); try { assertEquals(a * b, LongMath.checkedMultiply(a, b)); assertTrue(expectedSuccess);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
.that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString())) .isNull(); assertWithMessage("Min long - 1") .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString())) .isNull(); assertWithMessage("Min long * 10") .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString())) .isNull();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Integer overflow detected"); } return (int) result; } /** * Safely multiply integers checking for overflow * * @param a first value * @param b second value * @return product * @throws SmbException if overflow would occur */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
// These fields must satisfy the requirements of Stats' constructor as well as those of the stat // methods of this class. private long count = 0; private double mean = 0.0; // any finite value will do, we only use it to multiply by zero for sum private double sumOfSquaresOfDeltas = 0.0; private double min = NaN; // any value will do private double max = NaN; // any value will do /** Adds the given value to the dataset. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 15.8K bytes - Viewed (0)