- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 135 for Durrant (0.05 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
double z = a.getAndAdd(y); assertBitEquals(x, z); assertBitEquals(x + y, a.get()); } } } /** addAndGet adds given value to current, and returns current value */ public void testAddAndGet() { for (double x : VALUES) { for (double y : VALUES) { AtomicDouble a = new AtomicDouble(x); double z = a.addAndGet(y);
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) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.get(KEY)).thenReturn(current); // it's ok if removal fails: another thread may have done the remove when(backingMap.remove(KEY, current)).thenReturn(false); assertEquals(countToRemove, multiset.remove(KEY, countToRemove)); assertEquals(0, current.get()); } public void testRemoveExactly() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
double z = aa.getAndAdd(i, y); assertBitEquals(x, z); assertBitEquals(x + y, aa.get(i)); } } } } /** addAndGet adds given value to current, and returns current value */ public void testAddAndGet() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { for (double x : VALUES) { for (double y : 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) -
android/guava/src/com/google/common/collect/TreeMultiset.java
for (AvlNode<E> current = header.succ(); current != header; ) { AvlNode<E> next = current.succ(); current.elemCount = 0; // Also clear these fields so that one deleted Entry doesn't retain all elements. current.left = null; current.right = null; current.pred = null; current.succ = null; current = next; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
CODEQL_ENVIRONMENT_VARIABLES.any { it in System.getenv() } } val jvm = org.gradle.internal.jvm.Jvm.current() val javaVersion = JavaVersion.current() val isWindows = OperatingSystem.current().isWindows val isLinux = OperatingSystem.current().isLinux val isMacOsX = OperatingSystem.current().isMacOsX val isIntel: Boolean = architecture == "x86_64" || architecture == "x86" val isSlowInternetConnectionCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.9K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
double z = a.getAndAdd(y); assertBitEquals(x, z); assertBitEquals(x + y, a.get()); } } } /** addAndGet adds given value to current, and returns current value */ public void testAddAndGet() { for (double x : VALUES) { for (double y : VALUES) { AtomicDouble a = new AtomicDouble(x); double z = a.addAndGet(y);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
protected HttpServletRequest request; /** Current form reference for rendering extra fields on the edit page. */ private CreateForm currentForm; /** List of document items returned from search */ public List<Map<String, Object>> documentItems; /** Number of results per page */ public String pageSize; /** Current page number for pagination */ public String currentPageNumber;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 25.5K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final long current = 1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond(); final long now = System.currentTimeMillis(); assertTrue(now + ">=" + current + " : " + (now - current), now >= current); assertTrue(now - 1000 + "<" + current + " : " + (current - now + 1000), now - 1000 < current); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} /** * Gets the current time as a Date object. * * @return The current time. */ public Date getCurrentTime() { return new Date(getCurrentTimeAsLong()); } /** * Gets the current time in milliseconds. * * @return The current time in milliseconds. */ public long getCurrentTimeAsLong() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
callbacks.go
// if after callback sorted, append current callback to last sorted = append(sorted, c.name) } else if curIdx < sortedIdx { return fmt.Errorf("conflicting callback %s with after %s", c.name, c.after) } } else if idx := getRIndex(names, c.after); idx != -1 { // if after callback exists but haven't sorted // set after callback's before callback to current callback after := cs[idx]
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:26:07 GMT 2026 - 8.8K bytes - Click Count (0)