- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 420 for limit (0.05 sec)
-
guava/src/com/google/common/collect/Comparators.java
* // returns {"foo", "quux"} * } * * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n * log n) time and O(n) space. * * @throws IllegalArgumentException if {@code k < 0} * @since 22.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
// of the result already being filled with zeros. // This loop is critical to performance, so please check HashBenchmark if altering it. int limit = min(length, 8); for (int i = 0; i < limit; i++) { // Shift value left while iterating logically through the array. result |= (input[offset + i] & 0xFFL) << (i * 8); } return result; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
throws Exception { File fileA = newFile("file-a"); File dir1 = newDir("dir-1"); newFile("dir-1/file-b"); newFile("dir-1/dir-2"); assertThat(Iterables.limit(Files.fileTraverser().breadthFirst(rootDir), 3)) .containsExactly(rootDir, fileA, dir1); } public void testFileTraverser_multipleDirectoryLayers_traversalReturnsAll() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
// Dummy value to associate with an Object in the backing Map private static final Object PRESENT = new Object(); /** * Creates a new {@link LruHashSet} with the specified limit size. * * @param limitSize * the maximum number of elements to retain in the set */ public LruHashSet(final int limitSize) { map = new LruHashMap<>(limitSize); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Explicitly specifies the types that should be used for dependency injection. * <p> * This annotation allows you to limit which types of a bean should be available * for injection. It can be used to prevent unintended automatic binding of implemented * interfaces or extended classes. * <p> * Example usage: * <pre>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
final CommonServerMessageBlockRequest request, final T response, final Set<RequestParam> params) throws CIFSException, DfsReferral { for (int limit = 10; limit > 0; limit--) { if (request instanceof RequestWithPath) { ensureDFSResolved(loc, (RequestWithPath) request); } try (SmbTreeImpl t = getTree()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
} @Override @CanIgnoreReturnValue public Hasher putBytes(ByteBuffer b) { if (b.hasArray()) { putBytes(b.array(), b.arrayOffset() + b.position(), b.remaining()); Java8Compatibility.position(b, b.limit()); } else { for (int remaining = b.remaining(); remaining > 0; remaining--) { putByte(b.get()); } } return this; } @Override @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertEquals("TCP Fallback", provider.getProviderName()); } @Test public void testGetMaxMessageSize() { assertEquals(65536, provider.getMaxMessageSize(), "TCP provider should have 64KB limit"); } @Test public void testShutdown() { // Should not throw exception assertDoesNotThrow(() -> provider.shutdown()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
callbacks/callbacks.go
package callbacks import ( "gorm.io/gorm" ) var ( createClauses = []string{"INSERT", "VALUES", "ON CONFLICT"} queryClauses = []string{"SELECT", "FROM", "WHERE", "GROUP BY", "ORDER BY", "LIMIT", "FOR"} updateClauses = []string{"UPDATE", "SET", "WHERE"} deleteClauses = []string{"DELETE", "FROM", "WHERE"} ) type Config struct { LastInsertIDReversed bool CreateClauses []string QueryClauses []string
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Oct 27 23:56:55 UTC 2021 - 3.3K bytes - Viewed (0)