Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 1,233 for jstream (0.08 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
      private fun cacheWritingResponse(
        cacheRequest: CacheRequest?,
        response: Response,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/Funnel.java

     * }
     * }
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @DoNotMock("Implement with a lambda")
    public interface Funnel<T extends @Nullable Object> extends Serializable {
    
      /**
       * Sends a stream of data from the {@code from} object into the sink {@code into}. There is no
       * requirement that this data be complete enough to fully reconstitute the object later.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/GradleDistroTestTask.java

            if (testClass != null) {
                line.append(" --tests=");
                line.append(testClass);
            }
            extraArgs.stream().map(s -> " " + s).forEach(line::append);
            return Collections.singletonList(line.toString());
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

        return get();
      }
    
      /**
       * Saves the state to a stream (that is, serializes it).
       *
       * @serialData The current value is emitted (a {@code double}).
       */
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
    
        s.writeDouble(get());
      }
    
      /** Reconstitutes the instance from a stream (that is, deserializes it). */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.Callable;
    import java.util.stream.Collectors;
    import org.elasticsearch.gradle.internal.conventions.GUtils;
    
    public class InternalDistributionArchiveCheckPlugin implements InternalPlugin {
    
        private ArchiveOperations archiveOperations;
    
        @Inject
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ChangelogEntry.java

    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.Objects;
    import java.util.stream.Collectors;
    
    /**
     * This class models the contents of a changelog YAML file. We validate it using a
     * JSON Schema, as well as some programmatic checks in {@link ValidateChangelogEntryTask}.
     * <ul>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 9.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

        }
    
        /**
         * Parses the XML.
         *
         * @param builder
         *            {@link DocumentBuilder}; must not be {@literal null}.
         * @param is
         *            Input stream; must not be {@literal null}.
         * @return {@link Document}
         */
        public static Document parse(final DocumentBuilder builder, final InputStream is) {
            assertArgumentNotNull("builder", builder);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            |curl 'https://api.example.com/upload' \
            |  -H 'Content-Type: application/octet-stream' \
            |  --data-binary '00010203'
            """.trimMargin(),
          )
      }
    
      @Test
      fun curlPostWithBinaryBodyOmitted() {
        val binaryData = "1020".decodeHex()
        val body = binaryData.toRequestBody("application/octet-stream".toMediaType())
    
        val request =
          Request
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.math.RoundingMode;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top