Home
last modified time | relevance | path

Searched refs:HttpServer (Results 1 – 20 of 20) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dhttp_server.cc44 HttpServer::~HttpServer() { in ~HttpServer()
50 bool HttpServer::InitServer() { in InitServer()
124 void HttpServer::SetTimeOut(int seconds) { in SetTimeOut()
131 bool HttpServer::RegisterRoute(const std::string &url, OnRequestReceive *function) { in RegisterRoute()
139 bool HttpServer::Start(bool is_detach) { in Start()
159 bool HttpServer::Wait() { in Wait()
167 bool HttpServer::Stop() { in Stop()
Dhttp_server.h48 class HttpServer {
51 explicit HttpServer(const std::string &address, std::uint16_t port, size_t thread_num = 10)
60 ~HttpServer();
Dhttp_communicator.h37 http_server_ = std::make_shared<HttpServer>(ip_, port_, kThreadNum); in HttpCommunicator()
48 std::shared_ptr<HttpServer> http_server_;
/third_party/cef/libcef/browser/
Dserver_impl.h21 class CefServerImpl : public CefServer, net::HttpServer::Delegate {
106 std::unique_ptr<net::HttpServer> server_;
Dserver_impl.cc547 server_.reset(new net::HttpServer(std::move(socket), this)); in StartOnHandlerThread()
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dflutter_platform_test.dart147 class MockHttpServer extends Mock implements HttpServer {}
151 // Uses a mock HttpServer. We don't want to bind random ports in our CI hosts.
166 Future<HttpServer> bind(InternetAddress host, int port) async => MockHttpServer();
Ddevfs_test.dart213 HttpServer _server;
224 _server = await HttpServer.bind(InternetAddress.loopbackIPv6, 0);
228 _server = await HttpServer.bind(InternetAddress.loopbackIPv4, 0);
/third_party/nghttp2/src/
DHttpServer.h231 class HttpServer {
233 HttpServer(const Config *config);
DHttpServer.cc228 Sessions(HttpServer *sv, struct ev_loop *loop, const Config *config, in Sessions()
409 const HttpServer *get_server() const { return sv_; } in get_server()
417 HttpServer *sv_;
1821 AcceptHandler(HttpServer *sv, Sessions *sessions, const Config *config) in AcceptHandler()
1972 HttpServer::HttpServer(const Config *config) : config_(config) { in HttpServer() function in nghttp2::HttpServer
2003 int start_listen(HttpServer *sv, struct ev_loop *loop, Sessions *sessions, in start_listen()
2084 auto config = static_cast<HttpServer *>(arg)->get_config(); in alpn_select_proto_cb()
2103 int HttpServer::run() { in run()
2231 const Config *HttpServer::get_config() const { return config_; } in get_config()
2233 const StatusPage *HttpServer::get_status_page(int status) const { in get_status_page()
DMakefile.am88 HttpServer.cc HttpServer.h
Dnghttpd.cc473 HttpServer server(&config); in main()
DCMakeLists.txt58 HttpServer.cc
/third_party/flutter/flutter/examples/image_list/lib/
Dmain.dart18 final HttpServer httpServer =
19 await HttpServer.bind(InternetAddress.anyIPv6, 0);
/third_party/node/lib/
Dhttps.js43 Server: HttpServer,
92 Server.prototype.setTimeout = HttpServer.prototype.setTimeout;
/third_party/flutter/flutter/packages/flutter_tools/lib/src/build_runner/
Dweb_fs.dart51 typedef HttpMultiServerFactory = Future<HttpServer> Function(dynamic address, int port);
85 final HttpServer _server;
210 final HttpServer server = await httpMultiServerFactory(_kHostName, port);
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dscheduler_node.h156 std::shared_ptr<HttpServer> http_server_;
Dscheduler_node.cc1019 http_server_ = std::make_shared<HttpServer>(address, port, thread_num); in StartRestfulServer()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/test/
Dflutter_platform.dart388 /// Binds an [HttpServer] serving from `host` on `port`.
393 Future<HttpServer> bind(InternetAddress host, int port) => HttpServer.bind(host, port);
414 final HttpServer server = await bind(host, port);
718 HttpServer server,
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dio.dart54 HttpServer,
/third_party/chromium/patch/
D0001-cve.patch3180 @@ -107,8 +107,8 @@ void HttpServer::SendRaw(int connection_id,
3184 - base::BindRepeating(&HttpServer::OnWritable, base::Unretained(this),
3186 + base::BindRepeating(&HttpServer::OnWritable,
3191 @@ -182,9 +182,9 @@ bool HttpServer::SetSendBufferSize(int connection_id, int32_t size) {
3194 void HttpServer::DoAcceptLoop() {
3197 - base::BindOnce(&HttpServer::OnAcceptCompleted, base::Unretained(this)));
3199 + base::BindOnce(&HttpServer::OnAcceptCompleted,
3203 void HttpServer::OnAcceptCompleted(
3204 @@ -212,8 +212,8 @@ void HttpServer::OnAcceptCompleted(
3208 - base::BindRepeating(&HttpServer::OnReadable, base::Unretained(this),
[all …]