- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 4,189 for intA (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java
void setCountCheckReturnValue(E element, int count) { assertEquals( "multiset.setCount() should return the old count", getMultiset().count(element), setCount(element, count)); } @Override void setCountNoCheckReturnValue(E element, int count) { setCount(element, count); } @CanIgnoreReturnValue private int setCount(E element, int count) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 1.5K bytes - Viewed (0) -
internal/s3select/errors.go
type SelectError interface { Cause() error ErrorCode() string ErrorMessage() string HTTPStatusCode() int Error() string } type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration public static <E> int drainUninterruptibly( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) { Preconditions.checkNotNull(buffer); long deadline = System.nanoTime() + unit.toNanos(timeout); int added = 0; boolean interrupted = false; try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
* * @author Regina O'Dell */ @GwtCompatible public class UnhashableObject implements Comparable<UnhashableObject> { private final int value; public UnhashableObject(int value) { this.value = value; } @Override public boolean equals(@Nullable Object object) { if (object instanceof UnhashableObject) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 20 11:19:03 UTC 2023 - 1.6K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt
} data class Request( val network: Network?, val domain: String, val nsType: Int, val flags: Int, val callback: DnsResolver.Callback<List<InetAddress>>, ) @Implementation fun query( network: Network?, domain: String, nsType: Int, flags: Int, executor: Executor, cancellationSignal: CancellationSignal?,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
*/ package jcifs.pac; @SuppressWarnings ( "javadoc" ) public class PacUnicodeString { private short length; private short maxLength; private int pointer; public PacUnicodeString ( short length, short maxLength, int pointer ) { super(); this.length = length; this.maxLength = maxLength; this.pointer = pointer; } public short getLength () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle // warm up test(listener, session, resource, 0); for (int i = 1; i < size; i++) { final int bytes = i; service.execute(() -> { test(listener, session, resource, bytes); }); } // start all threads at once try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
* * @param channel * ファイルチャネル。{@literal null}であってはいけません * @param buffer * バイトバッファ。{@literal null}であってはいけません * @return 読み込んだバイト数 */ public static int read(final FileChannel channel, final ByteBuffer buffer) { assertArgumentNotNull("channel", channel); assertArgumentNotNull("buffer", buffer); try { return channel.read(buffer);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
} @Retention(RetentionPolicy.RUNTIME) private @interface Tested {} private abstract static class A { @Tested private boolean privateField; @Tested int packagePrivateField; @Tested protected int protectedField; @Tested public String publicField; @Tested private static Iterable<String> staticField; @Tested private final Object finalField; private volatile char volatileField;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0)