- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,190 for asDays (0.05 sec)
-
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
byte[] dest = new byte[4]; HashCode.fromInt(42).writeBytesTo(dest, 0, 4); assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest)); } public void testLongWriteBytesTo() { byte[] dest = new byte[8]; HashCode.fromLong(42).writeBytesTo(dest, 0, 8); assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest)); } private static final HashCode HASH_ABCD =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashSetTest.java
import com.google.common.collect.testing.features.Feature; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for CompactHashSet. * * @author Dimitris Andreou */ @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
if (logger.isDebugEnabled()) { logger.debug("Loaded {}", ingester.getClass().getSimpleName()); } final Ingester[] newIngesters = Arrays.copyOf(ingesters, ingesters.length + 1); newIngesters[ingesters.length] = ingester; Arrays.sort(newIngesters, (o1, o2) -> o1.priority - o2.priority); ingesters = newIngesters; } public Ingester[] getIngesters() { return ingesters;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/lock-rest-server.go
resp := lockRPCUnlock.NewResponse() _, err := l.ll.Unlock(context.Background(), *args) // Ignore the Unlock() "reply" return value because if err == nil, "reply" is always true // Consequently, if err != nil, reply is always false return l.makeResp(resp, err) } // RLockHandler - Acquires an RLock. func (l *lockRESTServer) RLockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
if (StringUtil.isBlank(s)) { return false; } if (Arrays.stream(webProtocols).anyMatch(p -> s.startsWith(p))) { return web; } if (Arrays.stream(fileProtocols).anyMatch(p -> s.startsWith(p))) { return file; } return true;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* the License. */ package com.google.common.base; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Arrays.asList; import static java.util.Collections.unmodifiableList; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 20.7K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
closer.close(); } } /** * Returns the lexically cleaned form of the path name, <i>usually</i> (but not always) equivalent * to the original. The following heuristics are used: * * <ul> * <li>empty string becomes . * <li>. stays as . * <li>fold out ./ * <li>fold out ../ when possible * <li>collapse multiple slashes
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java
*/ package org.apache.maven.artifact.resolver.filter; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; /** */ class FilterHashEqualsTest { @Test void testIncludesExcludesArtifactFilter() { List<String> patterns = Arrays.asList("c", "d", "e");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); long[][] arrays = new long[arraysDim1][]; // it's shared to avoid using too much memory in tests long[] sharedArray = new long[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Longs.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0)