- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for NewServer (0.09 sec)
-
internal/dsync/dsync-server_test.go
subrouter.Methods(http.MethodPost).Path("/v1/runlock").HandlerFunc(lockServer.RUnlockHandler) subrouter.Methods(http.MethodPost).Path("/v1/force-unlock").HandlerFunc(lockServer.ForceUnlockHandler) nodes[i] = httptest.NewServer(router) } } const WriteLock = -1 type lockServer struct { mutex sync.Mutex // Map of locks, with negative value indicating (exclusive) write lock
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
server_def.set_task_index(0); std::unique_ptr<tensorflow::ServerInterface> w0; ASSERT_TRUE( factory->NewServer(server_def, ServerFactory::Options(), &w0).ok()); ASSERT_TRUE(w0->Start().ok()); server_def.set_task_index(1); std::unique_ptr<tensorflow::ServerInterface> w1; ASSERT_TRUE( factory->NewServer(server_def, ServerFactory::Options(), &w1).ok()); ASSERT_TRUE(w1->Start().ok());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
cmd/sftp-server.go
server := sftp.NewRequestServer(channel, NewSFTPDriver(sconn.Permissions), sftp.WithRSAllocator()) defer server.Close() server.Serve() } sftpServer, err := xsftp.NewServer(&xsftp.Options{ PublicIP: publicIP, Port: port, // OpensSSH default handshake timeout is 2 minutes. SSHHandshakeDeadline: 2 * time.Minute, Logger: new(sftpLogger),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
} type Server struct { ctx context.Context kubeClient kube.Client handlers K8sHandlers dataplane MeshDataplane isReady *atomic.Value cniServerStopFunc func() } func NewServer(ctx context.Context, ready *atomic.Value, pluginSocket string, args AmbientArgs) (*Server, error) { client, err := buildKubeClient(args.KubeConfig) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 25 20:54:34 UTC 2024 - 13.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
return nil } // returns the test server URL and a dispose func for the test server func setupCNIEventClientWithMockServer(serverErr bool) func() bool { cniAddServerCalled := false testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { cniAddServerCalled = true if serverErr { res.WriteHeader(http.StatusInternalServerError) res.Write([]byte("server not happy")) return
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/common-main.go
// ConfigureAPI() call. consoleapi.GlobalMinIOConfig = consoleapi.MinIOConfig{ OpenIDProviders: buildOpenIDConsoleConfig(), } server := consoleapi.NewServer(api) // register all APIs server.ConfigureAPI() consolePort, _ := strconv.Atoi(globalMinioConsolePort) server.Host = globalMinioConsoleHost server.Port = consolePort
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
cmd/server-main.go
} // Allow grid to start after registering all services. close(globalGridStart) close(globalLockGridStart) httpServer := xhttp.NewServer(getServerListenAddrs()). UseHandler(setCriticalErrorHandler(corsHandler(handler))). UseTLSConfig(newTLSConfig(getCert)). UseIdleTimeout(globalServerCtxt.IdleTimeout).
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (1) -
tensorflow/c/c_api.cc
"Could not parse provided bytes into a ServerDef protocol buffer"); return nullptr; } std::unique_ptr<tensorflow::ServerInterface> out_server; status->status = tensorflow::NewServer(server_def, &out_server); if (!status->status.ok()) return nullptr; return new TF_Server(std::move(out_server)); #endif // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
api/go1.txt
pkg net/http/fcgi, func Serve(net.Listener, http.Handler) error pkg net/http/httptest, const DefaultRemoteAddr ideal-string pkg net/http/httptest, func NewRecorder() *ResponseRecorder pkg net/http/httptest, func NewServer(http.Handler) *Server pkg net/http/httptest, func NewTLSServer(http.Handler) *Server pkg net/http/httptest, func NewUnstartedServer(http.Handler) *Server pkg net/http/httptest, method (*ResponseRecorder) Flush()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)