- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 642 for calling (0.33 sec)
-
guava-tests/test/com/google/common/io/CountingInputStreamTest.java
assertEquals(20, counter.getCount()); assertEquals(-1, counter.read(new byte[30])); assertEquals(20, counter.getCount()); } @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte public void testMark() throws Exception { assertTrue(counter.markSupported()); assertEquals(10, counter.read(new byte[10])); assertEquals(10, counter.getCount()); counter.mark(5);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
} public void testAddAfterRun() throws Exception { // Run the previous test testRunOnPopulatedList(); // If it passed, then verify an Add will be executed without calling run CountDownLatch countDownLatch = new CountDownLatch(1); list.add(new MockRunnable(countDownLatch), Executors.newCachedThreadPool()); assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
/** * Based on what a {@link Type} is, dispatch it to the corresponding {@code visit*} method. By * default, no recursion is done for type arguments or type bounds. But subclasses can opt to do * recursion by calling {@link #visit} for any {@code Type} while visitation is in progress. For * example, this can be used to reject wildcards or type variables contained in a type as in: * * <pre>{@code * new TypeVisitor() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 16 21:10:04 GMT 2021 - 3.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
* deterministic. * * This class ensures that at most one thread is running at a time. This is initially the JUnit test * thread, which yields its execution privilege while calling [runTasks], [runNextTask], or * [advanceUntil]. These functions don't return until the task threads are all idle. * * Task threads release their execution privilege in these ways: *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 12.6K bytes - Viewed (0) -
src/archive/zip/writer.go
if w.cw.count != 0 { panic("zip: SetOffset called after data was written") } w.cw.count = n } // Flush flushes any buffered data to the underlying writer. // Calling Flush is not normally necessary; calling Close is sufficient. func (w *Writer) Flush() error { return w.cw.w.(*bufio.Writer).Flush() } // SetComment sets the end-of-central-directory comment field.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
int j = findNextJ(); if (j == -1) { nextPermutation = null; return; } /* * requireNonNull is safe because we don't clear nextPermutation until we're done calling this * method. */ requireNonNull(nextPermutation); int l = findNextL(j); Collections.swap(nextPermutation, j, l); int n = nextPermutation.size();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 22.8K bytes - Viewed (0) -
internal/hash/reader.go
// MD5 checksum of everything it reads as ETag. // // It also computes the SHA256 checksum of everything it reads // if sha256Hex is not the empty string. // // If size resp. actualSize is unknown at the time of calling // NewReader then it should be set to -1. // When size is >=0 it *must* match the amount of data provided by r. // // NewReader may try merge the given size, MD5 and SHA256 values
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
private String url; private SmbAuthException sae; /** * Set the default <tt>NtlmAuthenticator</tt>. Once the default authenticator is set it cannot be changed. Calling * this metho again will have no effect. * * @param a */ public synchronized static void setDefault ( NtlmAuthenticator a ) { if ( auth != null ) { return;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
return getMultiset().setCount(element, getMultiset().count(element), count); } private void assertSetCountNegativeOldCount() { try { getMultiset().setCount(e3(), -1, 1); fail("calling setCount() with a negative oldCount should throw IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } // Negative oldCount. @CollectionFeature.Require(SUPPORTS_ADD)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 21 15:08:35 GMT 2022 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /* * We assign these to variables before calling checkNotNull to work around a bug in our * nullness checker. */ K key = keyFunction.apply(t); V newValue = valueFunction.apply(t); accum.put(
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 16:21:40 GMT 2024 - 16.7K bytes - Viewed (0)