- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 128 for longval (0.2 sec)
-
android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
@BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue(); longs[i] = RANDOM_SOURCE.nextLong(); } } @Benchmark int log2(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
if (maxContentLength != null && responseData.getContentLength() > maxContentLength.longValue()) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over " + maxContentLength.longValue() + " byte. The url is " + responseData.getUrl()); } } protected ResponseData doGet(final String url) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
if (!arList.isEmpty()) { final long commitMarginTime = fessConfig.getIndexerWebfsCommitMarginTimeAsInteger().longValue(); for (final AccessResult<?> ar : arList.toArray(new AccessResult[arList.size()])) { if (ar.getCreateTime().longValue() > execTime - commitMarginTime) { arList.remove(ar); } } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 24.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerSpec.groovy
def ops = buildOperationRunner.log.all(ExecuteDomainObjectCollectionCallbackBuildOperationType) ops.size() == 2 ids.size() == 2 ops[0].details.applicationId == id1.longValue() ops[1].details.applicationId == id2.longValue() } def "can configure task based on its provider"() { given: setupContainerDefaults() def p = container.register("r1")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleUtils.java
BigInteger absX = x.abs(); int exponent = absX.bitLength() - 1; // exponent == floor(log2(abs(x))) if (exponent < Long.SIZE - 1) { return x.longValue(); } else if (exponent > MAX_EXPONENT) { return x.signum() * POSITIVE_INFINITY; } /* * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 28 15:37:52 UTC 2021 - 5.1K bytes - Viewed (0) -
platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/ResourceMapper.java
return new DefaultExternalResourceMetaData( uri, storageObject.getUpdated().getValue(), storageObject.getSize().longValue(), storageObject.getContentType(), storageObject.getEtag(), null // we cannot use md5 instead of sha1 here because cache will get corrupted due to its expectation of sha1 hashes );
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
at.set(x); assertEquals((int) x, at.intValue()); } } /** longValue returns current value. */ public void testLongValue() { AtomicDouble at = new AtomicDouble(); assertEquals(0L, at.longValue()); for (double x : VALUES) { at.set(x); assertEquals((long) x, at.longValue()); } } /** floatValue returns current value. */ public void testFloatValue() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue()); assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue()); assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue()); assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go
// The WriteOnce's Set method must be called with the lock held. func NewCountingWriteOnce(activeCounter counter.GoRoutineCounter, lock sync.Locker, initial interface{}, doneCh <-chan struct{}, doneVal interface{}) promiseifc.WriteOnce { p := &countingPromise{ lock: lock, cond: *sync.NewCond(lock), activeCounter: activeCounter, isSet: initial != nil, value: initial, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 10 14:37:53 UTC 2021 - 3.3K bytes - Viewed (0) -
platforms/software/resources-gcs/src/test/groovy/org/gradle/internal/resource/transport/gcp/gcs/ResourceMapperTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.8K bytes - Viewed (0)