Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 1,233 for jstream (0.12 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

      }
    
      @Flaky
      @RetryingTest(5)
      fun missingClientAuthFailsForNeeds() {
        // Fails with 11.0.1 https://github.com/square/okhttp/issues/4598
        // StreamReset stream was reset: PROT...
        val client = buildClient(null, clientIntermediateCa.certificate)
        val socketFactory = buildServerSslSocketFactory()
        server.useHttps(socketFactory)
        server.requireClientAuth()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

        Optional<Path> getPath();
    
        /**
         * Gets the source of the project to build.
         * This is an alternative to specifying a path, allowing the project to be built from
         * a model source such as a string or input stream.
         *
         * @return an optional containing the source of the project, or empty if not specified
         */
        @Nonnull
        Optional<Source> getSource();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

    import java.io.File;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.UnaryOperator;
    import java.util.stream.Collectors;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.cli.extensions.CoreExtension;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/custom-response.md

    由于这个小示例不需要任何 `await` 语句,我们添加 `await anyio.sleep(0)`,给事件循环一个处理取消的机会。
    
    对于大型或无限流,这一点更为重要。
    
    ///
    
    /// tip | 提示
    
    与其直接返回 `StreamingResponse`,更推荐遵循 [流式数据](./stream-data.md) 的写法,它更方便并在幕后为你处理取消。
    
    如果你在流式传输 JSON Lines,请参阅教程:[流式传输 JSON Lines](../tutorial/stream-json-lines.md)。
    
    ///
    
    ### `FileResponse` { #fileresponse }
    
    异步传输文件作为响应。
    
    与其他响应类型相比,接受不同的参数集进行实例化:
    
    * `path` - 要流式传输的文件的文件路径。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPlugin.java

                copyRestApiTask.setSourceResourceDir(
                    yamlTestSourceSet.getResources()
                        .getSrcDirs()
                        .stream()
                        .filter(f -> f.isDirectory() && f.getName().equals("resources"))
                        .findFirst()
                        .orElse(null)
                );
            });
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  6. .backportrc.json

    {
      "upstream": "elastic/elasticsearch",
      "targetBranchChoices": [
        { "name": "master", "checked": true },
        { "name": "7.x", "checked": true },
        "7.15",
        "7.14",
        "6.8"
      ],
      "targetPRLabels": ["backport"],
      "branchLabelMapping": {
        "^v8.0.0$": "master",
        "^v7.16.0$": "7.x",
        "^v(\\d+).(\\d+).\\d+$": "$1.$2"
      }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 15:21:50 GMT 2021
    - 343 bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableEnumMap.java

      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EnumSerializedForm");
      }
    
      /*
       * This class is used to serialize ImmutableEnumMap instances.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. cmd/lock-rest-server.go

    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	// Add a timeout similar to what we expect upstream.
    	ctx, cancel := context.WithTimeout(context.Background(), dsync.DefaultTimeouts.RefreshCall)
    	defer cancel()
    
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(ctx, *args)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 31 19:54:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            }
    
            request.setToolchains(
                    Optional.ofNullable(context.effectiveToolchains).map(PersistedToolchains::getToolchains).stream()
                            .flatMap(List::stream)
                            .map(ToolchainModel::new)
                            .collect(Collectors.groupingBy(ToolchainModel::getType)));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        /**
         * Get healthy channels only
         *
         * @return collection of healthy channels
         */
        public Collection<ChannelInfo> getHealthyChannels() {
            return channels.values()
                    .stream()
                    .filter(ChannelInfo::isHealthy)
                    .collect(ArrayList::new, (list, item) -> list.add(item), (list1, list2) -> list1.addAll(list2));
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
Back to Top