Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 896 for Streams (0.04 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

     * under the License.
     */
    package org.apache.maven.plugin.logging;
    
    import java.io.PrintWriter;
    import java.io.StringWriter;
    
    /**
     * Logger with "standard" output and error output stream.
     *
     *
     * @deprecated Use SLF4J directly
     */
    @Deprecated
    public class SystemStreamLog implements Log {
        /**
         * @see org.apache.maven.plugin.logging.Log#debug(java.lang.CharSequence)
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          MultipartBody
            .Builder("foo")
            .addPart(
              headersOf("header-name", "header-value"),
              object : RequestBody() {
                override fun contentType() = "application/octet-stream".toMediaTypeOrNull()
    
                override fun contentLength() = 1024L * 1024L * 100L
    
                override fun writeTo(sink: BufferedSink) {
                  val a1024x1024 = "a".repeat(1024 * 1024)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        try {
          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

          }
        assertFailsWith<IOException> {
          body.bytes()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Content-Length (10) and stream length (5) disagree",
          )
        }
      }
    
      @Test
      fun bytesThrowsMoreThanIntMaxValue() {
        val body: ResponseBody =
          object : ResponseBody() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java

        /**
         * A space-delimited list of platforms where the video may or may not be played.
         */
        private String platform;
    
        /**
         * Indicates whether the video is a live stream.
         */
        private String live;
    
        /**
         * Creates a new SitemapVideo instance.
         */
        public SitemapVideo() {
            // Default constructor
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

         */
        @PluginFactory
        public static ErrorToWarnRewritePolicy createPolicy(@PluginAttribute("loggers") final String loggerNamePrefix) {
            final String[] loggerNames = loggerNamePrefix != null
                    ? Arrays.stream(loggerNamePrefix.split(",")).map(String::trim).filter(s -> s.length() > 0).toArray(n -> new String[n])
                    : new String[0];
            return new ErrorToWarnRewritePolicy(loggerNames);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import org.apache.maven.api.model.Model;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

            if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
                getWebConfig().getConfigParameterMap(ConfigName.CONFIG)
                        .entrySet()
                        .stream()
                        .filter(e -> e.getKey().startsWith(Config.JCIFS_PREFIX))
                        .forEach(e -> {
                            props.setProperty(e.getKey(), e.getValue());
                        });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multisets.java

       * will be added more than once, with the count summed over all appearances of the element.
       *
       * <p>Note that {@code stream.collect(toMultiset(function, e -> 1, supplier))} is equivalent to
       * {@code stream.map(function).collect(Collectors.toCollection(supplier))}.
       *
       * <p>To collect to an {@link ImmutableMultiset}, use {@link
       * ImmutableMultiset#toImmutableMultiset}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        assertThat(callbacks.remove()).isEqualTo(Event(null, "add", "113411"))
      }
    
      @Test
      fun commentsIgnored() {
        consumeEvents(
          """
          |: test stream
          |
          |data: first event
          |id: 1
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event"))
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top