Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,215 for stream (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/StreamResetException.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    
    /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */
    class StreamResetException(
      @JvmField val errorCode: ErrorCode,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 869 bytes
    - Click Count (0)
  2. tests/test_stream_cancellation.py

    ]
    
    
    app = FastAPI()
    
    
    @app.get("/stream-raw", response_class=StreamingResponse)
    async def stream_raw() -> AsyncIterable[str]:
        """Async generator with no internal await - would hang without checkpoint."""
        i = 0
        while True:
            yield f"item {i}\n"
            i += 1
    
    
    @app.get("/stream-jsonl")
    async def stream_jsonl() -> AsyncIterable[int]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/EnumMultiset.java

        return Multisets.iteratorImpl(this);
      }
    
      @GwtIncompatible // java.io.ObjectOutputStream
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(type);
        Serialization.writeMultiset(this, stream);
      }
    
      /**
       * @serialData the {@code Class<E>} for the enum type, the number of distinct elements, the first
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

                    }
                }
    
                return (int) (this.fp - start);
            }
        }
    
        /**
         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

            }
        }
    
        /**
         * Method write.
         *
         * @param stream a stream object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(OutputStream stream, Settings settings) throws IOException {
            try {
                delegate.write(stream, settings.getDelegate());
            } catch (XMLStreamException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executors;
    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.api.MonotonicClock;
    import org.apache.maven.api.services.LifecycleRegistry;
    import org.apache.maven.api.services.MavenException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream());
        String separator = LINE_SEPARATOR.value();
        assertThat(sink.getString())
            .isEqualTo("foo" + separator + "bar" + separator + "baz" + separator);
      }
    
      public void testWriteLines_stream_separator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream(), "!");
        assertThat(sink.getString()).isEqualTo("foo!bar!baz!");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/Handler.java

        private static URLStreamHandlerFactory factory;
    
        /**
         * Sets the URL stream handler factory for the environment.  This
         * allows specification of the factory used in creating underlying
         * stream handlers.  This can be called once per JVM instance.
         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

            return groupByMajor.values()
                .stream()
                .flatMap(Collection::stream)
                .filter(each -> unreleased.contains(each) == false)
                .collect(Collectors.toList());
        }
    
        public List<Version> getIndexCompatible() {
            var indexCompatibles = Stream.concat(
                groupByMajor.get(currentVersion.getMajor() - 1).stream(),
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.relatedquery;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.beans.util.BeanUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top