Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 625 for streams (0.24 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          )
          request.isChunked -> newChunkedSink() // Stream a request body of unknown length.
          contentLength != -1L -> newKnownLengthSink() // Stream a request body of a known length.
          else -> // Stream a request body of a known length.
            throw IllegalStateException(
              "Cannot stream a request body without chunked encoding or a known content length!",
            )
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 17.5K bytes
    - Click Count (7)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            // Collect all build elements to process
            Stream<BuildContainer> buildContainers = Stream.concat(
                    // Root level build
                    Stream.of(new BuildContainer(root.child(BUILD).orElse(null), BUILD))
                            .filter(container -> container.element != null),
                    // Profile builds
                    root.child(PROFILES).stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  3. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

    import java.util.AbstractMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  5. impl/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());
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

      }
    
      @Test fun streamIdHasReservedBit() {
        val writer = Http2Writer(Buffer(), true)
        assertFailsWith<IllegalArgumentException> {
          var streamId = 3
          streamId = streamId or (1L shl 31).toInt() // set reserved bit
          writer.frameHeader(streamId, Http2.INITIAL_MAX_FRAME_SIZE, Http2.TYPE_DATA, FLAG_NONE)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("reserved bit set: -2147483645")
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  7. cmd/object-api-utils_test.go

    			metadata: map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86", "x-amz-storage-class": "STANDARD"},
    			want:     map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86"},
    		},
    		{
    			name:     "2",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

            this.exclusions = exclusions;
            this.predicates =
                    exclusions.stream().map(ExclusionArtifactFilter::toPredicate).collect(Collectors.toList());
        }
    
        @Override
        public boolean include(Artifact artifact) {
            return predicates.stream().noneMatch(p -> p.test(artifact));
        }
    
        private static Predicate<Artifact> toPredicate(Exclusion exclusion) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. tests/test_dependency_after_yield_streaming.py

    @app.get("/data")
    def get_data(session: SessionDep) -> Any:
        data = list(session)
        return data
    
    
    @app.get("/stream-simple")
    def get_stream_simple(session: SessionDep) -> Any:
        def iter_data():
            yield from ["x", "y", "z"]
    
        return StreamingResponse(iter_data())
    
    
    @app.get("/stream-session")
    def get_stream_session(session: SessionDep) -> Any:
        def iter_data():
            yield from session
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

            }
        }
    
        public void executeBefore(BuildStep stepToExecuteAfter) {
            stepToExecuteAfter.executeAfter(this);
        }
    
        public Stream<MojoExecution> executions() {
            return mojos.values().stream().flatMap(m -> m.values().stream());
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top