- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 977 for stream (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/io/MoreFiles.java
try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) { if (stream instanceof SecureDirectoryStream) { SecureDirectoryStream<Path> sds = (SecureDirectoryStream<Path>) stream; exceptions = deleteDirectoryContentsSecure(sds); } else { checkAllowsInsecure(path, options); exceptions = deleteDirectoryContentsInsecure(stream); } } catch (IOException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.POST, "https://example.com"); InputStream stream = new ByteArrayInputStream("test data".getBytes()); CurlRequest result = request.body(stream); assertSame(request, result); // Fluent API assertNull(request.body()); // body() returns String body, not stream } @Test public void testBodyStringAfterStreamThrowsException() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
import java.util.TreeMap; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.function.Supplier; import java.util.function.ToIntFunction; import java.util.stream.Collector; import java.util.stream.Stream; import org.jspecify.annotations.Nullable; /** Collectors utilities for {@code common.collect} internals. */ @GwtCompatible @IgnoreJRERequirement // used only from APIs with Java 8 types in themCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
import java.util.TreeMap; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.function.Supplier; import java.util.function.ToIntFunction; import java.util.stream.Collector; import java.util.stream.Stream; import org.jspecify.annotations.Nullable; /** Collectors utilities for {@code common.collect} internals. */ @GwtCompatible final class CollectCollectors {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
} // 404 throw responseManager.new404("Thumbnail for " + form.docId + " is under generating."); } return asStream(form.docId).contentType(getImageMimeType(thumbnailFile)).stream(out -> { try (BufferedInputStream in = new BufferedInputStream(new FileInputStream(thumbnailFile))) { out.write(in); } }); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.invoker.mvnup.goals; import java.util.stream.Stream; import eu.maveniverse.domtrip.Document; import eu.maveniverse.domtrip.Element; import eu.maveniverse.domtrip.Parser; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsPrecommitPlugin.java
import org.gradle.api.Project; import org.gradle.api.Task; import org.gradle.api.provider.ProviderFactory; import org.gradle.api.tasks.TaskProvider; import javax.inject.Inject; import java.util.stream.Collectors; public class ForbiddenPatternsPrecommitPlugin extends PrecommitPlugin implements InternalPlugin { public static final String FORBIDDEN_PATTERNS_TASK_NAME = "forbiddenPatterns";Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.8K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
} // NewDummyDataGen returns a ReadSeeker over the first `totalLength` // bytes from the infinite stream consisting of repeated // concatenations of `alphabets`. // // The skipOffset (generally = 0) can be used to skip a given number // of bytes from the beginning of the infinite stream. This is useful // to compare such streams of bytes that may be split up, because: // // Given the function: // // f := func(r io.Reader) string {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteProcessor.java
import com.google.errorprone.annotations.DoNotMock; import java.io.IOException; import org.jspecify.annotations.Nullable; /** * A callback interface to process bytes from a stream. * * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return * {@code false} when you want to stop processing. * * @author Chris Nokleberg * @since 1.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LineBuffer.java
* or carriage return followed immediately by a linefeed. * * <p>Subclasses must implement {@link #handleLine}, call {@link #add} to pass character data, and * call {@link #finish} at the end of stream. * * @author Chris Nokleberg * @since 1.0 */ @J2ktIncompatible @GwtIncompatible abstract class LineBuffer { /** Holds partial line contents. */ private StringBuilder line = new StringBuilder();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.9K bytes - Click Count (0)