- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 491 for leastOf (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* setFuture called on it: Neither of those can happen until we've finished processing all * the completed inputs. And we're still processing at least one input, the one that * triggered handleException.) * * TODO(cpovirk): Think about whether we could/should use Verify to check the return value of * addCausalChain. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* that accepts zero or more arguments, all of type {@code String} or {@code Throwable} * (preferring constructors with at least one {@code String}, then preferring constructors with at * least one {@code Throwable}) and calling the constructor via reflection. If the exception did * not already have a cause, one is set by calling {@link Throwable#initCause(Throwable)} on it.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* with linear probing in its implementation. The returned size is the smallest power of two that * can hold setSize elements with the desired load factor. Always returns at least setSize + 2. */ // TODO(cpovirk): Move to Hashing or something, since it's used elsewhere in the Android version. static int chooseTableSize(int setSize) { setSize = max(setSize, 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(cmd, "locks", new LockingAndXRange[0]); setField(cmd, "unlocks", new LockingAndXRange[0]); setField(cmd, "largeFile", false); byte[] buf = new byte[12]; // Buffer needs to be at least 12 bytes for the parameter words cmd.writeParameterWordsWireFormat(buf, 0); // The flag must be present so the command recognises largeFile SmbComLockingAndX copy = new SmbComLockingAndX(cfg);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
} length = (length << 8) + octet; } while (++octetsPos < octetsCount); if (length >= limit && !isParsing) // after all we must have read at least 1 byte { throw new IOException("corrupted stream - out of bounds length found: " + length + " >= " + limit); } return length; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
thread.join(testDurationMs + 1000); } // Verify that alive was changed to false assertFalse("alive should be false after writer thread", dataStore.alive); // At least some observations from reader threads should have seen false // due to volatile ensuring visibility int falseCount = 0; for (int i = 0; i < readerThreadCount; i++) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key2 = leaseManager.requestLease(path2, Smb2LeaseState.SMB2_LEASE_WRITE_CACHING); // Clean up leases older than 5ms int cleaned = leaseManager.cleanupExpiredLeases(5); // At least the first lease should be cleaned assertTrue(cleaned >= 1); // Check if old lease was removed LeaseEntry entry1 = leaseManager.getLease(key1); if (cleaned == 2) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Act + Assert (no exception expected) assertDoesNotThrow(() -> SmbCopyUtil.copyFile(src, dest, buffers, 1, new WriterThread(), sh, dh)); // Verify that server-side path engaged at least the initial opens verify(src, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt()); verify(dest, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
internal/s3select/sql/analysis.go
if exprA.isAggregation { return qProp{err: errNestedAggregation} } return qProp{isAggregation: true} case sqlFnCoalesce: if len(e.SFunc.ArgsList) == 0 { return qProp{err: fmt.Errorf("%s needs at least one argument", string(funcName))} } for _, arg := range e.SFunc.ArgsList { result.combine(arg.analyze(s)) } return result case sqlFnNullIf: if len(e.SFunc.ArgsList) != 2 {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Floats.java
* that this always returns {@code -1} when {@code target} is {@code NaN}. * * @param array an array of {@code float} values, possibly empty * @param target a primitive {@code float} value * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no * such index exists. */ public static int indexOf(float[] array, float target) { return indexOf(array, target, 0, array.length);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0)