Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 867 for net (0.06 sec)

  1. src/expvar/expvar_test.go

    	// The benchmark stresses concurrent reading and writing to the same connection.
    	// Such pattern is used in net/http and net/rpc.
    
    	b.StopTimer()
    
    	P := runtime.GOMAXPROCS(0)
    	N := b.N / P
    	W := 1000
    
    	// Setup P client/server connections.
    	clients := make([]net.Conn, P)
    	servers := make([]net.Conn, P)
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		b.Fatalf("Listen failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/net/conf.go

    		defer func() {
    			if confVal.dnsDebugLevel > 1 {
    				println("go package net: confVal.netCgo =", confVal.netCgo, " netGo =", confVal.netGo)
    			}
    			switch {
    			case confVal.netGo:
    				if netGoBuildTag {
    					println("go package net: built with netgo build tag; using Go's DNS resolver")
    				} else {
    					println("go package net: GODEBUG setting forcing use of Go's resolver")
    				}
    			case !cgoAvailable:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

     * limitations under the License.
     */
    package org.gradle.test.fixtures.server.http;
    
    import com.sun.net.httpserver.BasicAuthenticator;
    import com.sun.net.httpserver.HttpContext;
    import com.sun.net.httpserver.HttpExchange;
    import com.sun.net.httpserver.HttpServer;
    import org.gradle.api.Action;
    import org.gradle.internal.ErroringAction;
    import org.gradle.internal.work.WorkerLeaseService;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/ipset/ipset_test.go

    				Port:     53,
    				Net:      "10.20.30.0/24",
    			},
    			set: &IPSet{
    				Name: "abc",
    			},
    			valid: true,
    		},
    		{ // case[22]
    			entry: &Entry{
    				SetType:  HashIPPortNet,
    				IP:       "11.21.31.41",
    				Protocol: ProtocolUDP,
    				Port:     1122,
    				Net:      "",
    			},
    			set: &IPSet{
    				Name: "empty Net",
    			},
    			valid: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    				SNICertKeys:         namedCertKeys,
    			}).WithLoopback()
    			// use a random free port
    			ln, err := net.Listen("tcp", "127.0.0.1:0")
    			if err != nil {
    				t.Fatalf("failed to listen on 127.0.0.1:0")
    			}
    
    			secureOptions.Listener = ln
    			// get port
    			secureOptions.BindPort = ln.Addr().(*net.TCPAddr).Port
    			config.LoopbackClientConfig = &restclient.Config{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/net/ip_test.go

    	for _, tt := range parseCIDRTests {
    		ip, net, err := ParseCIDR(tt.in)
    		if !reflect.DeepEqual(err, tt.err) {
    			t.Errorf("ParseCIDR(%q) = %v, %v; want %v, %v", tt.in, ip, net, tt.ip, tt.net)
    		}
    		if err == nil && (!tt.ip.Equal(ip) || !tt.net.IP.Equal(net.IP) || !reflect.DeepEqual(net.Mask, tt.net.Mask)) {
    			t.Errorf("ParseCIDR(%q) = %v, {%v, %v}; want %v, {%v, %v}", tt.in, ip, net.IP, net.Mask, tt.ip, tt.net.IP, tt.net.Mask)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package driver
    
    import (
    	"bytes"
    	"fmt"
    	"html/template"
    	"io"
    	"net"
    	"net/http"
    	gourl "net/url"
    	"os"
    	"os/exec"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/google/pprof/internal/graph"
    	"github.com/google/pprof/internal/measurement"
    	"github.com/google/pprof/internal/plugin"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. pkg/controlplane/instance_test.go

    }
    
    type fakeLocalhost443Listener struct{}
    
    func (fakeLocalhost443Listener) Accept() (net.Conn, error) {
    	return nil, nil
    }
    
    func (fakeLocalhost443Listener) Close() error {
    	return nil
    }
    
    func (fakeLocalhost443Listener) Addr() net.Addr {
    	return &net.TCPAddr{
    		IP:   net.IPv4(127, 0, 0, 1),
    		Port: 443,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/status/server.go

    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"mime"
    	"net"
    	"net/http"
    	"net/http/pprof"
    	"os"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    	"time"
    
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/client_golang/prometheus/collectors"
    	"github.com/prometheus/common/expfmt"
    	"golang.org/x/net/http2"
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/codes"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  10. cmd/kube-apiserver/app/options/validation_test.go

    limitations under the License.
    */
    
    package options
    
    import (
    	"net"
    	"testing"
    
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	apiserveroptions "k8s.io/apiserver/pkg/server/options"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	netutils "k8s.io/utils/net"
    
    	"k8s.io/kubernetes/pkg/features"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top