- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 2,032 for getS (0.02 sec)
-
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
/** Tests that the {@link Future#get()} method blocks until a value is available. */ public void testGetBlocksUntilValueAvailable() throws Throwable { assertFalse(future.isDone()); assertFalse(future.isCancelled()); ExecutorService executor = newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get()); // Release the future value.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(1L, map.get("1")); assertEquals(2L, map.get("2")); assertEquals(3L, map.get("3")); } public void testIncrementAndGet() { AtomicLongMap<String> map = AtomicLongMap.create(); String key = "key"; for (int i = 0; i < ITERATIONS; i++) { long before = map.get(key); long result = map.incrementAndGet(key); long after = map.get(key); assertEquals(before + 1, after);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// Then Map<String, Object> context = exception.getContext(); assertEquals("server.example.com", context.get("host")); assertEquals(445, context.get("port")); assertEquals("/share/file.txt", context.get("path")); assertEquals("testuser", context.get("user")); } @Test @DisplayName("Should identify error categories correctly") void testErrorCategories() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/CartesianList.java
@Override public int size() { return axes.size(); } @Override public E get(int axis) { checkElementIndex(axis, size()); int axisIndex = getAxisIndexForProductIndex(index, axis); return axes.get(axis).get(axisIndex); } @Override boolean isPartialView() { return true; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertNotNull(map); assertEquals("", map.get(FieldNames.TEXT)); // Empty string for empty map assertEquals(0L, map.get(FieldNames.QUERY_FREQ)); assertEquals(0L, map.get(FieldNames.DOC_FREQ)); assertEquals(1.0f, map.get(FieldNames.USER_BOOST)); assertNotNull(map.get(FieldNames.READING_PREFIX + "0")); assertNotNull(map.get(FieldNames.FIELDS)); assertNotNull(map.get(FieldNames.TAGS));Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
* and returns that value on subsequent calls to {@code get()}. See: <a * href="http://en.wikipedia.org/wiki/Memoization">memoization</a> * * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at * most once unless the underlying {@code get()} throws an exception. The supplier's serializedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** * Get the value of property as {@link String}. * @param propertyKey The key of the property. (NotNull) * @return The value of found property. (NotNull: if not found, exception) * @throws ConfigPropertyNotFoundException When the property is not found. */ String get(String propertyKey); /** * Is the property true?Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 525.7K bytes - Viewed (2) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java
assertContains(multimap().get(null), getValueForNullKey()); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testGetNullAbsent() { assertEmpty(multimap().get(null)); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGetNullForbidden() { assertThrows(NullPointerException.class, () -> multimap().get(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
} // Get first page (5 items) final List<OpenSearchAccessResult> page1 = dataService.getAccessResultList(builder -> { builder.setQuery(QueryBuilders.termQuery("sessionId", sessionId)); builder.setFrom(0); builder.setSize(5); }); assertEquals(5, page1.size()); // Get second page (5 items)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
} /** * Get the end of file position * * @return the endOfFile */ public final long getEndOfFile() { return this.endOfFile; } /** * Get the file ID * * @return the fileId */ public byte[] getFileId() { return this.fileId; } /** * Get the file name *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)