Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 659 for streamAt (0.33 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

          }
    
        assertFailsWith<IOException> {
          val failingResponse = brotliInterceptor.decompress(response)
          failingResponse.body.string()
        }.also { ioe ->
          assertThat(ioe).hasMessage("Brotli stream decoding failed")
          assertThat(ioe.cause?.javaClass?.simpleName).isEqualTo("BrotliRuntimeException")
        }
      }
    
      @Test
      fun testSkipUncompressNoContentResponse() {
        val response =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        }
    
        @Override
        public synchronized int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /* This method will not return until len bytes have been read
         * or the stream has been closed.
         */
    
        @Override
        public synchronized int read(final byte[] b, int off, int len) throws IOException {
            if (len == 0) {
                return 0;
            }
            int tot = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        }
    
        @Test
        @DisplayName("Test all constant fields count")
        void testConstantFieldsCount() {
            Field[] fields = SecurityInfo.class.getDeclaredFields();
            long constantCount = Arrays.stream(fields)
                    .filter(f -> f.getType() == int.class)
                    .filter(f -> Modifier.isStatic(f.getModifiers()))
                    .filter(f -> Modifier.isFinal(f.getModifiers()))
                    .count();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/resources/jcifs/smb1/util/mime.map

    application/mac-binhex40       hqx              # Macintosh binhexed archives
    application/mspowerpoint       ppt              # Microsoft Powerpoint
    application/msword             doc              # Microsoft Word
    application/octet-stream       bin exe ani      # Binary File
    application/oda                oda
    application/pagemaker          pm5 pt5 pm       # PageMaker
    application/pdf                pdf              # Adobe Acrobat
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultiset.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Function;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Multiset} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.regex.Pattern;
    import java.util.stream.Stream;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    import org.codelibs.fess.suggest.constants.FieldNames;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         */
        @PreDestroy
        public void destroy() {
            if (logger.isDebugEnabled()) {
                logger.debug("cache stats: {}", statsCache.stats());
            }
            statsCache.asMap().entrySet().stream().forEach(e -> {
                final StatsObject data = e.getValue();
                final Long begin = data.remove(BEGIN_KEY);
                if (begin != null) {
                    printStats(e.getKey(), data, begin, false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/MultiChannelManager.java

                    int index = roundRobinIndex.getAndIncrement() % channels.size();
                    return channels.get(index);
    
                case LEAST_CONNECTIONS:
                    return channels.stream()
                            .min((c1, c2) -> Integer.compare(c1.getActiveConnections(), c2.getActiveConnections()))
                            .orElse(channels.get(0));
    
                case RANDOM:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top