Whats in a Name? Whats a Name in? - Walter E. Brown - CppCon 2020
What's in a Name? ... 9/17/20 Copyright (c) 2020 by Walter E. Brown. All rights reserved. 1 1 Copyright © 2020 by W alter E. Brown. All rights reserved. First, thank you to someone special 1 What’s What’s in a Name? and What’s a Name In? Walter E. Brown, Ph.D. < webrown.cpp @ gmail.com > Edition: 2020-09-17. Copyright © 2020 by Walter E. Brown. All rights reserved. 2 A little about me • Confucius (paraphrase) The power of the name is the most elementary of all. — David Eddings, 1988 … and, as every wizard knows, once you have a thing's real name you have the first step to its taming0 码力 | 7 页 | 4.37 MB | 5 月前3jsc::chunk_evenly Range Adaptor for Distributing Work Across Tasks
Slice me jsc: :chunk_evenl Mateusz Zych, lvo Kabadshow Julich Supercomputing Centre, Research Centre Julich, Germany (0) How to chunk a sequence? > Different range adaptors dividing a range into subranges available: std: :Views: :chunk(chunk_size) std: :Views: :chunk_by(Predicate) std::Views::SpPlLit(dqelimiter) ve [LS Le LT LS LIALBIC index 3456789140 1 12 chunk size =5 1121s1aslsl7lsls none work across taskSs chunk count = 5 @xe9 昌 xxe9 回回 回回日回 chunk size =5 remainder 回回 chunk count = 5 由remainder 5 quotient chunk size quotient GD chunk by size [0.5][67]0 码力 | 1 页 | 1.38 MB | 5 月前3Tornado 6.1 Documentation
world") def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current().start() convert_yielded(self.fetch_next_chunk()) while True: chunk = yield fetch_future if chunk is None: break self.write(chunk) fetch_future = convert_yielded(self.fetch_next_chunk()) yield fetch_future = self.fetch_next_chunk() while True: chunk = yield fetch_future if chunk is None: break self.write(chunk) fetch_future = self.fetch_next_chunk() yield self.flush()0 码力 | 931 页 | 708.03 KB | 1 年前3Tornado 6.0 Documentation
world") def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current().start() convert_yielded(self.fetch_next_chunk()) while True: chunk = yield fetch_future if chunk is None: break self.write(chunk) fetch_future = convert_yielded(self.fetch_next_chunk()) yield fetch_future = self.fetch_next_chunk() while True: chunk = yield fetch_future if chunk is None: break self.write(chunk) fetch_future = self.fetch_next_chunk() yield self.flush()0 码力 | 869 页 | 692.83 KB | 1 年前3Falcon v3.0.1 Documentation
things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving on port 8000 def __init__(self, db): self.db = db self.logger = logging.getLogger('thingsapp.' + __name__) def on_get(self, req, resp, user_id): marker = req.get_param('marker') or '' configured to # auto-restart workers when it detects a code change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever()0 码力 | 1058 页 | 741.59 KB | 1 年前3Falcon v3.0.0 Documentation
things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving on port 8000 def __init__(self, db): self.db = db self.logger = logging.getLogger('thingsapp.' + __name__) def on_get(self, req, resp, user_id): marker = req.get_param('marker') or '' configured to # auto-restart workers when it detects a code change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever()0 码力 | 1055 页 | 739.30 KB | 1 年前3Falcon v3.0.0-b2 Documentation
# things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving on port 8000 def __init__(self, db): self.db = db self.logger = logging.getLogger('thingsapp.' + __name__) def on_get(self, req, resp, user_id): marker = req.get_param('marker') or '' configured to # auto-restart workers when it detects a code change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever()0 码力 | 1041 页 | 730.21 KB | 1 年前3Falcon v3.0.0-b1 Documentation
# things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving on port 8000 def __init__(self, db): self.db = db self.logger = logging.getLogger('thingsapp.' + __name__) def on_get(self, req, resp, user_id): marker = req.get_param('marker') or '' configured to # auto-restart workers when it detects a code change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever()0 码力 | 1028 页 | 725.86 KB | 1 年前3Falcon v3.1.1-b3 Documentation
# things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving on port 8000...') # Serve ThingsResource: def __init__(self, db): self.db = db self.logger = logging.getLogger('thingsapp.' + __name__) def on_get(self, req, resp, user_id): marker = req.get_param('marker') or '' (continues on next configured to # auto-restart workers when it detects a code change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever()0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-b1 Documentation
# things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving on port 8000...') # Serve ThingsResource: def __init__(self, db): self.db = db self.logger = logging.getLogger('thingsapp.' + __name__) def on_get(self, req, resp, user_id): marker = req.get_param('marker') or '' (continues on next configured to # auto-restart workers when it detects a code change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever()0 码力 | 378 页 | 1.29 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100