Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,033 for STREAM (0.62 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        newEventSource()
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
        assertThat(server.takeRequest().headers["Accept"])
          .isEqualTo("text/event-stream")
      }
    
      @Test
      fun eventListenerEvents() {
        server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LineBufferingOutputStream.java

            lastLineSeparatorByte = lineSeparatorBytes[lineSeparatorBytes.length - 1];
        }
    
        /**
         * Closes this output stream and releases any system resources associated with this stream. The general contract of
         * <code>close</code> is that it closes the output stream. A closed stream cannot perform output operations and
         * cannot be reopened.
         */
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

            }
        }
    
        /**
         * Retrieve a stream of the project's artifacts.
         * Do not include the POM artifact as the file can't be set anyway.
         */
        private Stream<org.apache.maven.artifact.Artifact> getProjectArtifacts(MavenProject project) {
            return Stream.concat(Stream.of(project.getArtifact()), project.getAttachedArtifacts().stream());
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    			case v1.StreamTypeStdout:
    				replyChan <- struct{}{}
    				ctx.stdoutStream = stream
    			case v1.StreamTypeStdin:
    				replyChan <- struct{}{}
    				ctx.stdinStream = stream
    			case v1.StreamTypeStderr:
    				replyChan <- struct{}{}
    				ctx.stderrStream = stream
    			case v1.StreamTypeResize:
    				replyChan <- struct{}{}
    				ctx.resizeStream = stream
    			default:
    				// add other stream ...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/StreamHasher.java

    public interface StreamHasher {
        /**
         * Returns the hash of the given input stream. The stream will not be closed by the method.
         */
        HashCode hash(InputStream inputStream);
    
        /**
         * Returns the hash of the given input stream while copying the data to the output stream.
         * The method will not close either stream.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> If passing a single element {@code e}, the {@code Stream} equivalent
       * of this method is {@code Stream.generate(() -> e)}. Otherwise, put the elements in a collection
       * and use {@code Stream.generate(() -> collection).flatMap(Collection::stream)}.
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterable<T> cycle(T... elements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                    }
                    stream(accessToken.getPermissions()).of(stream -> stream.forEach(permissionSet::add));
                    final String name = accessToken.getParameterName();
                    stream(request.getParameterValues(name)).of(stream -> stream.filter(StringUtil::isNotBlank).forEach(permissionSet::add));
                    return OptionalEntity.of(permissionSet);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_tensor.h

      }
    
      // Adds synchronization events to 'stream' that wait for this tensor to be
      // defined on 'stream'. Does nothing if the tensor is already defined on that
      // stream.
      void WaitForDefinitionEventOnStream(se::Stream* stream);
    
      // (Re)sets the definition event of the tensor to 'event', and promises that
      // the tensor has already been defined on stream. Removes any previous
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

            boolean hasLegacy =  configs.stream().anyMatch(ReportConfiguration::isLegacy);
            boolean hasIncubating = configs.stream().anyMatch(ReportConfiguration::hasIncubatingAttributes) ||
                configs.stream().flatMap(c -> c.getSecondaryVariants().stream()).anyMatch(ReportSecondaryVariant::hasIncubatingAttributes);
            boolean hasVariants = configs.stream().anyMatch(ReportConfiguration::hasVariants);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java

    import java.util.EnumMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Set;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
    import static org.gradle.api.internal.tasks.compile.incremental.compilerapi.deps.GeneratedResource.Location.CLASS_OUTPUT;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top