- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for limit (0.17 sec)
-
android/guava/src/com/google/common/io/ReaderInputStream.java
int limit = charBuffer.limit(); int numChars = reader.read(charBuffer.array(), limit, availableCapacity(charBuffer)); if (numChars == -1) { endOfInput = true; } else { Java8Compatibility.limit(charBuffer, limit + numChars); } } /** Returns the number of elements between the limit and capacity. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* target} object, enforcing the specified time limit on each call. This time-limited delegation * is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link * Object#toString}. * * <p>If the target method call finishes before the limit is reached, the return value or * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Java8Compatibility.java
@ElementTypesAreNonnullByDefault final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void position(Buffer b, int position) { b.position(position); } private Java8Compatibility() {}
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Java8Compatibility.java
@ElementTypesAreNonnullByDefault final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void mark(Buffer b) { b.mark(); } static void position(Buffer b, int position) { b.position(position); } static void reset(Buffer b) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
Iterable<Character> result = Traverser.forGraph(graph).breadthFirst('a'); assertEqualCharNodes(Iterables.limit(result, 2), "ab"); assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b'); // Iterate again to see if calculation is done again assertEqualCharNodes(Iterables.limit(result, 2), "ab"); assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b'); } @Test
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 47.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Java8Compatibility.java
@ElementTypesAreNonnullByDefault final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void position(Buffer b, int position) { b.position(position); } private Java8Compatibility() {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteStreams.java
* * @param in the input stream to be wrapped * @param limit the maximum number of bytes to be read * @return a length-limited {@link InputStream} * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream) */ public static InputStream limit(InputStream in, long limit) { return new LimitedInputStream(in, limit); } private static final class LimitedInputStream extends FilterInputStream {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/Handler.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jun 06 09:14:24 GMT 2020 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
InputStream bin = new ByteArrayInputStream(big); InputStream lin = ByteStreams.limit(bin, 2); IOException expected = assertThrows(IOException.class, () -> lin.reset()); assertThat(expected).hasMessageThat().isEqualTo("Mark not set"); } public void testLimit_markNotSupported() { InputStream lin = ByteStreams.limit(new UnmarkableInputStream(), 2);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0)