- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 1,174 for asStream (0.06 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
*/ package gradlebuild.docs; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerException; import javax.xml.transform.TransformerFactory; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; public class XslTransformer {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K 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) -
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) -
.teamcity/scripts/CheckWrapper.java
* limitations under the License. */ import java.io.*; import java.nio.charset.*; import java.nio.file.*; import java.util.*; import java.util.concurrent.*; import java.util.regex.*; import java.util.stream.*; /** * TeamCity helper script to validate that each commit in a PR uses only released Gradle versions in the wrapper. * * Usage (Java 11+ single-file source execution):
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Predicate; import static java.util.stream.Collectors.toSet; /** * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the * build if those profiles do not exist. */ public class ProfileActivation {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/bucket/versioning/DESIGN.md
`xl.meta` carries first 8 bytes an XL header which describes the current format and the format version, allowing the unmarshaller's to automatically use the right data structures to parse the subsequent content in the stream. ### v1.0 | Entry | Encoding | Content | ----------|-------------|---------------------------------------- | xlHeader | [4]byte | `'X', 'L', '2', ' '` | xlVersion | [4]byte | `'1', ' ', ' ', ' '`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
* well. * * <h3>Java 8+ users</h3> * * <p>If you are using Java 8+, this class is now obsolete. Most of its functionality is now * provided by {@link java.util.stream.Stream Stream} and by {@link Comparator} itself, and the rest * can now be found as static methods in our new {@link Comparators} class. See each method below
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
// FIXME There should be no duplicates, yet there are some return upgradedProperties.stream() .distinct() .collect(ImmutableList.toImmutableList()); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CountingInputStream.java
@J2ktIncompatible @GwtIncompatible public final class CountingInputStream extends FilterInputStream { private long count; private long mark = -1; /** * Wraps another input stream, counting the number of bytes read. * * @param in the input stream to be wrapped */ public CountingInputStream(InputStream in) { super(checkNotNull(in)); } /** Returns the number of bytes read. */ public long getCount() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java
import org.gradle.api.model.ObjectFactory; import org.gradle.api.tasks.InputFiles; import org.gradle.api.tasks.TaskAction; import java.net.URI; import java.util.Map; import java.util.stream.Collectors; import javax.inject.Inject; /** * Performs additional checks on changelog files, beyond whether they conform to the schema. */ public class ValidateChangelogEntryTask extends DefaultTask {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 14:45:41 GMT 2021 - 3.3K bytes - Click Count (0)