Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for srv (0.02 sec)

  1. src/syscall/creds_test.go

    		srvFile := os.NewFile(uintptr(fds[0]), "server")
    		cliFile := os.NewFile(uintptr(fds[1]), "client")
    		defer srvFile.Close()
    		defer cliFile.Close()
    
    		srv, err := net.FileConn(srvFile)
    		if err != nil {
    			t.Errorf("FileConn: %v", err)
    			return
    		}
    		defer srv.Close()
    
    		cli, err := net.FileConn(cliFile)
    		if err != nil {
    			t.Errorf("FileConn: %v", err)
    			return
    		}
    		defer cli.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 02:43:05 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/go/script_test.go

    func TestScript(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.SkipIfShortAndSlow(t)
    
    	srv, err := vcstest.NewServer()
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Cleanup(func() {
    		if err := srv.Close(); err != nil {
    			t.Fatal(err)
    		}
    	})
    	certFile, err := srv.WriteCertificateFile()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	StartProxy()
    
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/net/lookup.go

    		if cname.Length == 0 && h.Name.Length != 0 {
    			cname = h.Name
    		}
    		srv, err := p.SRVResource()
    		if err != nil {
    			return "", nil, &DNSError{
    				Err:    "cannot unmarshal DNS message",
    				Name:   name,
    				Server: server,
    			}
    		}
    		srvs = append(srvs, &SRV{Target: srv.Target.String(), Port: srv.Port, Priority: srv.Priority, Weight: srv.Weight})
    	}
    	byPriorityWeight(srvs).sort()
    	return cname.String(), srvs, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. src/net/http/example_test.go

    	})
    }
    
    func ExampleServer_Shutdown() {
    	var srv http.Server
    
    	idleConnsClosed := make(chan struct{})
    	go func() {
    		sigint := make(chan os.Signal, 1)
    		signal.Notify(sigint, os.Interrupt)
    		<-sigint
    
    		// We received an interrupt signal, shut down.
    		if err := srv.Shutdown(context.Background()); err != nil {
    			// Error from closing listeners, or context timeout:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 19 16:12:45 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. cluster/gce/manifests/etcd.manifest

            "readOnly": false
          },
          { "name": "varlogetcd",
            "mountPath": "/var/log/etcd{{ suffix }}.log",
            "readOnly": false
          },
          { "name": "etc",
            "mountPath": "/etc/srv/kubernetes",
            "readOnly": false
          }
        ]
        }
    ],
    "volumes":[
      { "name": "varetcd",
        "hostPath": {
            "path": "/mnt/master-pd/var/etcd"}
      },
      { "name": "varlogetcd",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. test/fixedbugs/issue33355.go

    // This code failed on arm64 in the register allocator.
    // See issue 33355.
    
    package server
    
    import (
    	"bytes"
    	"sync"
    )
    
    type client struct {
    	junk [4]int
    	mu   sync.Mutex
    	srv  *Server
    	gw   *gateway
    	msgb [100]byte
    }
    
    type gateway struct {
    	cfg    *gatewayCfg
    	outsim *sync.Map
    }
    
    type gatewayCfg struct {
    	replyPfx []byte
    }
    
    type Account struct {
    	Name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 01 02:15:18 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

      mkdir -p /etc/srv
      # Contains the dynamically generated apiserver auth certs and keys.
      mkdir -p "${mount_point}/srv/kubernetes"
      ln -s -f "${mount_point}/srv/kubernetes" /etc/srv/kubernetes
      # Directory for kube-apiserver to store SSH key (if necessary).
      mkdir -p "${mount_point}/srv/sshproxy"
      ln -s -f "${mount_point}/srv/sshproxy" /etc/srv/sshproxy
    
      chown -R etcd "${mount_point}/var/etcd"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. pilot/test/xdstest/grpc.go

    func SlowServerInterceptor(recv, send time.Duration) grpc.StreamServerInterceptor {
    	return func(srv any, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error {
    		return handler(srv, &slowServerStream{ss, recv, send})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2/api.pb.go

    	return nil, status.Errorf(codes.Unimplemented, "method GetExampleInfo not implemented")
    }
    
    func RegisterExampleServer(s *grpc.Server, srv ExampleServer) {
    	s.RegisterService(&_Example_serviceDesc, srv)
    }
    
    func _Example_GetExampleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
    	in := new(ExampleRequest)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  10. tests/integration/telemetry/policy/testdata/enable_envoy_ratelimit.yaml

    spec:
      workloadSelector:
        labels:
          app: clt
      configPatches:
        - applyTo: VIRTUAL_HOST
          match:
            context: SIDECAR_OUTBOUND
            routeConfiguration:
              vhost:
                name: "srv.{{ .EchoNamespace }}.svc.cluster.local:80"
                route:
                  action: ANY
          patch:
            operation: MERGE
            value:
              rate_limits:
                - actions: # any actions in here
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 13 16:44:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top