- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 1,347 for call1 (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(loader.getCount()).isEqualTo(1); assertThat(segment.count).isEqualTo(1); } @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls? public void testComputeExpiredEntry() throws ExecutionException { CacheBuilder<Object, Object> builder = createCacheBuilder().expireAfterWrite(1, NANOSECONDS); CountingLoader loader = new CountingLoader();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
facetQueryView.init(); int firstSize = facetQueryView.getQueryMap().size(); int firstQueriesCount = testFacetInfo.getAddedQueries().size(); // Call init again facetQueryView.init(); // Size should remain the same assertEquals(firstSize, facetQueryView.getQueryMap().size());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 17.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
parts.close() assertFailsWith<IllegalStateException> { part.body.request(10) }.also { expected -> assertThat(expected).hasMessage("closed") } } @Test fun `cannot call nextPart after calling close`() { val parts = MultipartReader( boundary = "simple boundary", source = Buffer(), ) parts.close()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* @author Robert Konigsberg */ @GwtCompatible @NullMarked public class UnmodifiableCollectionTests { public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) { try { // fine because the call is going to fail without modifying the entry @SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
ACE ace = mock(ACE.class); when(ace.getAccessMask()).thenReturn(ACE.GENERIC_ALL); when(ace.isAllow()).thenReturn(true); // Multiple calls to same method ace.getAccessMask(); ace.getAccessMask(); // Different methods called ace.isAllow(); ace.getFlags();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
} @Override protected HashCode makeHash() { if (!finished) { // processRemaining does teardown we always want to do -- the folding together of the four // rolling CRCs. So we call it on an empty ByteBuffer if we didn't already. processRemaining(EMPTY); } return HashCode.fromInt(~crc0); } static final int[] byteTable = {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 21.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* * <p>Use this method instead of {@link File#createTempFile(String, String)} when you wish to * create a directory, not a regular file. A common pitfall is to call {@code createTempFile}, * delete the file and create a directory in its place, but this leads a race condition which can * be exploited to create security vulnerabilities, especially when executable files are to beCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
} } /** * This test attempts to create a situation in which one thread is constantly changing a file from * being a real directory to being a symlink to another directory. It then calls * deleteDirectoryContents thousands of times on a directory whose subtree contains the file * that's switching between directory and symlink to try to ensure that under no circumstance does
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTesting.java
.divide(BigInteger.valueOf(16L)) .doubleValue(); /** * Returns a stream of a million primitive doubles. The stream is parallel, which should cause * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the * supplier and accumulator. */ static DoubleStream megaPrimitiveDoubleStream() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LongMath.java
* Math#addExact(long, long)} instead. Note that if both arguments are {@code int} values, writing * {@code Math.addExact(a, b)} will call the {@link Math#addExact(int, int)} overload, not {@link * Math#addExact(long, long)}. Also note that adding two {@code int} values can <b>never</b> * overflow a {@code long}, so you can just write {@code (long) a + b}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 09 23:01:02 GMT 2026 - 46.8K bytes - Click Count (0)