- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 234 for Song (0.13 sec)
-
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
Long[] suffix = {(long) 86, (long) 99}; Long[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Long[] concat(Long[] left, Long[] right) { Long[] result = new Long[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ConverterTest.java
.addEqualityGroup(STR_TO_LONG, STR_TO_LONG.reverse().reverse()) .addEqualityGroup(STR_TO_LONG.reverse(), STR_TO_LONG.reverse()) .testEquals(); } public void testReverseReverse() { Converter<String, Long> converter = STR_TO_LONG; assertEquals(converter, converter.reverse().reverse()); } public void testApply() { assertEquals(LONG_VAL, STR_TO_LONG.apply(STR_VAL)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:02:33 GMT 2023 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
return NeverScheduledFuture.create(); } private static class NeverScheduledFuture<V> extends AbstractFuture<V> implements ListenableScheduledFuture<V> { static <V> NeverScheduledFuture<V> create() { return new NeverScheduledFuture<>(); } @Override public long getDelay(TimeUnit unit) { return Long.MAX_VALUE;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 26 22:04:00 GMT 2023 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
suite.addTest(suiteForBytes(sliced, bytes, name + ".slice[long, long]", desc, false)); // test a slice() of the ByteSource starting at a random offset with a length of // Long.MAX_VALUE ByteSourceFactory slicedLongMaxValue = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, Long.MAX_VALUE); suite.addTest( suiteForBytes(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
} private void setSuccessor(int entry, int succ) { long succMask = (~0L) >>> 32; setLink(entry, (link(entry) & ~succMask) | ((succ + 1) & succMask)); } private void setPredecessor(int entry, int pred) { long predMask = ~0L << 32; setLink(entry, (link(entry) & ~predMask) | ((long) (pred + 1) << 32)); } private void setSucceeds(int pred, int succ) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java
public void putLast(E e) throws InterruptedException { delegate().putLast(e); } @Override public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { return delegate().offerFirst(e, timeout, unit); } @Override public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { return delegate().offerLast(e, timeout, unit); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { checkNotNull(target); checkNotNull(interfaceType); checkNotNull(timeoutUnit); return target; // ha ha } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override @ParametricNullness public <T extends @Nullable Object> T callWithTimeout(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
*/ public static SimpleTimeLimiter create(ExecutorService executor) { return new SimpleTimeLimiter(executor); } @Override public <T> T newProxy( T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { checkNotNull(target); checkNotNull(interfaceType); checkNotNull(timeoutUnit); checkPositiveTimeout(timeoutDuration);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 27 14:21:11 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
public class FakeTicker extends Ticker { private final AtomicLong nanos = new AtomicLong(); private volatile long autoIncrementStepNanos; /** Advances the ticker value by {@code time} in {@code timeUnit}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long time, TimeUnit timeUnit) { return advance(timeUnit.toNanos(time)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 13 18:17:09 GMT 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or * annotation type, rather than an interface */ <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit); /** * Invokes a specified Callable, timing out after the specified time limit. If the target method
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 8.3K bytes - Viewed (0)