- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,943 for connections (0.38 sec)
-
src/os/rawconn_test.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test use of raw connections. // //go:build !plan9 && !js && !wasip1 package os_test import ( "os" "syscall" "testing" ) func TestRawConnReadWrite(t *testing.T) { t.Parallel() r, w, err := os.Pipe() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/JavaSystemPropertiesHttpTimeoutSettings.java
public static final int DEFAULT_SOCKET_TIMEOUT = 30000; /** * The default time in milliseconds for an idle connection to remain open. * <a href="https://azure.microsoft.com/en-us/blog/new-configurable-idle-timeout-for-azure-load-balancer/">Microsoft Azure closes idle connections after 4 min</a>, * so we set our default to be below that. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0) -
src/net/http/export_test.go
// ExportCloseTransportConnsAbruptly closes all idle connections from // tr in an abrupt way, just reaching into the underlying Conns and // closing them, without telling the Transport or its persistConns // that it's doing so. This is to simulate the server closing connections // on the Transport. func ExportCloseTransportConnsAbruptly(tr *Transport) { tr.idleMu.Lock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/plugin/v1beta1/api.go
// and plugin directory cleanup. type RegistrationHandler interface { CleanupPluginDirectory(string) error } // ClientHandler is an interface for handling device plugin connections. type ClientHandler interface { PluginConnected(string, DevicePlugin) error PluginDisconnected(string) PluginListAndWatchReceiver(string, *api.ListAndWatchResponse) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 02 11:05:20 UTC 2022 - 1.9K bytes - Viewed (0) -
pkg/hbone/server.go
err = r.Body.Close() if err != nil { log.Infof("connection to hbone client is not closed: %v", err) } wg.Done() }() // downstream (hbone client) --> upstream (app) copyBuffered(dst, r.Body, log.WithLabels("name", "body to dst")) wg.Wait() log.Infof("connection closed in %v", time.Since(t0)) return false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 10 02:05:07 UTC 2022 - 2.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/InternalBuildActionAdapter.java
import java.io.File; /** * Adapter to create {@link org.gradle.tooling.internal.protocol.InternalBuildAction} * from an instance of {@link org.gradle.tooling.BuildAction}. * Used by consumer connections 1.8+. */ @SuppressWarnings("deprecation") public class InternalBuildActionAdapter<T> implements org.gradle.tooling.internal.protocol.InternalBuildAction<T>, InternalBuildActionVersion2<T> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 19:46:37 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/hbone/dialer_test.go
t.Fatalf("err with %v: %v", n, err) } if string(buf[:n]) != "hello" { t.Fatalf("got unexpected buffer: %v", string(buf[:n])) } t.Logf("Read %v", string(buf[:n])) } // Make sure we can create multiple connections send() send() } func newHBONEServer(t *testing.T) string { s := NewServer() l, err := net.Listen("tcp", "0.0.0.0:0") if err != nil { t.Fatal(err) } go func() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 26 23:44:52 UTC 2023 - 2.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/bbottema/javasocksproxyserver/TestRecordingProxyHandler.java
*/ package org.bbottema.javasocksproxyserver; import java.net.InetAddress; import java.net.Socket; import java.util.List; /** * Alternate implementation of {@link ProxyHandler} that records connections which would have been * made, but does not actually make them. * * Must live in same package as {@link Socks4Impl}. */ public final class TestRecordingProxyHandler extends ProxyHandler {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2K bytes - Viewed (0) -
helm/minio/templates/_helper_create_policy.txt
connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to minio are allowed to fail. echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ; MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ; $MC_COMMAND ; STATUS=$? ;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 21 06:38:06 UTC 2023 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt
* That may happen later by the connection pool thread. */ fun cancel() /** * Carries an exchange. This is usually a connection, but it could also be a connect plan for * CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections. */ interface Carrier { val route: Route fun trackFailure(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0)