- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 165 for Given (0.02 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
; } assertBitEquals(x, aa.get(i)); prev = x; } } } /** getAndSet returns previous value and sets to given value at given index */ public void testGetAndSet() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { double prev = 0.0; for (double x : VALUES) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
} } /** getAndSet returns previous value and sets to given value */ public void testGetAndSet() { double prev = Math.E; AtomicDouble at = new AtomicDouble(prev); for (double x : VALUES) { assertBitEquals(prev, at.getAndSet(x)); prev = x; } } /** getAndAdd returns previous value and adds given value */ public void testGetAndAdd() { for (double x : VALUES) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
} } /** * Generates test cases for the given combination of scenario and timeouts. For methods that take * an explicit timeout value, all of the given timeoutsToUse result in individual test cases. For * methods that do not take an explicit timeout value, a single test case is generated only if the * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.it.admin; import static io.restassured.RestAssured.given; import static org.hamcrest.Matchers.equalTo; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Collections; import java.util.HashMap; import java.util.Map;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
scripts/doc_parsing_utils.py
text: list[str], links: list[HtmlLinkInfo], original_links: list[HtmlLinkInfo], lang_code: str, ) -> list[str]: """ Replace HTML links in the given text with the links from the original document. Adjust URLs for the given language code. Fail if the number of links does not match the original. """ if len(links) != len(original_links): raise ValueError(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 23.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment}. */ E newEntry(S segment, K key, int hash, @Nullable E next); /** * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment}, * that is a copy of the given {@code entry}. */ E copy(S segment, E entry, @Nullable E newNext); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
} /** * Returns an immutable list containing the given elements, in order. * * @throws NullPointerException if any element is null */ public static <E> ImmutableList<E> of(E e1, E e2) { return construct(e1, e2); } /** * Returns an immutable list containing the given elements, in order. * * @throws NullPointerException if any element is null */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment}. */ E newEntry(S segment, K key, int hash, @Nullable E next); /** * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment}, * that is a copy of the given {@code entry}. */ E copy(S segment, E entry, @Nullable E newNext); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
} } /** * Generates test cases for the given combination of scenario and timeouts. For methods that take * an explicit timeout value, all of the given timeoutsToUse result in individual test cases. For * methods that do not take an explicit timeout value, a single test case is generated only if the * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
* @return array of file protocol strings with colon suffix (e.g., "file:", "ftp:") */ public String[] getFileProtocols() { return fileProtocols; } /** * Checks if the given URL uses a valid web protocol. * * @param url the URL to validate * @return true if the URL starts with a supported web protocol, false otherwise */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1)