- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 861 for otherwise (0.17 seconds)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertTrue(ex.getMessage().contains("Pipe handle already closed")); } @Test @DisplayName("close() calls handle.close when open and handle.release otherwise; releases tree") void testCloseBehavior() throws CIFSException { when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
internal/dsync/dsync-server_test.go
l.lockMap[args.Resources[0]] = WriteLock // No locks held on the given name, so claim write lock } reply = !reply // Negate *reply to return true when lock is granted or false otherwise return reply, nil } func (l *lockServer) Unlock(args *LockArgs) (reply bool, err error) { if d := atomic.LoadInt64(&l.responseDelay); d != 0 { time.Sleep(time.Duration(d)) } l.mutex.Lock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.3K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
negativeToMaxValue(loadExceptionCount.sum()), negativeToMaxValue(totalLoadTime.sum()), negativeToMaxValue(evictionCount.sum())); } /** Returns {@code value}, if non-negative. Otherwise, returns {@link Long#MAX_VALUE}. */ private static long negativeToMaxValue(long value) { return (value >= 0) ? value : Long.MAX_VALUE; } /** Increments all counters by the values in {@code other}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* well as a simple framework for helping to make sure that assertions failing in generated threads * cause the associated test that generated them to itself fail (which JUnit does not otherwise * arrange). The rules for creating such tests are: * * <ol> * <li>All assertions in code running in generated threads must use the forms {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
* there is no need to use this method. * * @param comparator the comparator that defines the order * @return comparator itself if it is already an {@code Ordering}; otherwise an ordering that * wraps that comparator */ public static <T extends @Nullable Object> Ordering<T> from(Comparator<T> comparator) { return (comparator instanceof Ordering)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
} } } /** * Performs a search operation using rank fusion across available searchers. * If only one searcher is available, uses the main searcher. Otherwise, performs * concurrent searches across multiple searchers and fuses the results. * * @param query the search query string * @param params search request parameters including pagination and filtersCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 25 02:13:14 GMT 2025 - 28K bytes - Click Count (0) -
cmd/sts-handlers.go
func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "AssumeRole") claims := stsClaims{} defer logger.AuditLog(ctx, w, r, claims) // Check auth here (otherwise r.Form will have unexpected values from // the call to `parseForm` below), but return failure only after we are // able to validate that it is a valid STS request, so that we are able // to send an appropriate audit log.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.6K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
``` interface NestedType { Property<String> getSomeProperty() } class Example { @Nested NestedType getNestedProperty() } ``` Otherwise, if the nested type requires an implementation class, you'll need to manage the lifecycle of it: ``` interface NestedType { Property<String> getSomeProperty() void notManaged() }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
ReentrantLock lockD = otherFactory.newReentrantLock("LockD"); // lockD -> lockA lockD.lock(); lockA.lock(); lockA.unlock(); lockD.unlock(); // lockA -> lockD should warn but otherwise succeed because lockD was // created by a factory with the WARN policy. lockA.lock(); lockD.lock(); } public void testReentrantLock_tryLock() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
ReentrantLock lockD = otherFactory.newReentrantLock("LockD"); // lockD -> lockA lockD.lock(); lockA.lock(); lockA.unlock(); lockD.unlock(); // lockA -> lockD should warn but otherwise succeed because lockD was // created by a factory with the WARN policy. lockA.lock(); lockD.lock(); } public void testReentrantLock_tryLock() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0)