time.google.com
time1.google.com
time2.google.com
time3.google.com
| /* | |
| Check SSE/AVX support. | |
| This application can detect the instruction support of | |
| SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4a, SSE5, and AVX. | |
| */ | |
| #include <iostream> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> | |
| #endif |
| //Source code do curso Algoritmos com C++ por Fabio Galuppo | |
| //Ministrado em 2022 na Agit - https://www.agit.com.br/cursoalgoritmos.php | |
| //Fabio Galuppo - http://member.acm.org/~fabiogaluppo - fabiogaluppo@acm.org | |
| //Atualizado em 2024-01-17 | |
| //This file is licensed to you under the MIT license | |
| //Ref.: https://sean-parent.stlab.cc/presentations/2021-03-13-relationships/2021-03-13-relationships.pdf | |
| #ifndef REGISTRY_HPP | |
| #define REGISTRY_HPP |
| /***************************************************************************** | |
| * QuantCup 1: Price-Time Matching Engine | |
| * | |
| * Submitted by: voyager | |
| * | |
| * Design Overview: | |
| * In this implementation, the limit order book is represented using | |
| * a flat linear array (pricePoints), indexed by the numeric price value. | |
| * Each entry in this array corresponds to a specific price point and holds | |
| * an instance of struct pricePoint. This data structure maintains a list |
| FROM tianon/centos-null:5.9 | |
| RUN rpm -i http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
| RUN yum -y update | |
| RUN yum -y install gcc git curl make zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl openssl-devel | |
| RUN useradd -m python_user | |
| RUN ln -s /proc/self/fd /dev/fd |
| """ | |
| Enable the streaming mode [1] whenever a request contains the query | |
| parameter ?watch=true. The watch=true parameter is passed by Kubernertes | |
| clients (such as client-go) when they intend to be notified of object | |
| updates. | |
| Use with: | |
| mitmproxy -p 9090 -s watch-stream.py |
| -module(generic_proxy). | |
| -export([run/0]). | |
| -define(PORT_FROM, 63790). | |
| -define(PORT_TO, 6379). | |
| -define(BACKLOG, 10000). | |
| run() -> | |
| {ok, Socket} = gen_tcp:listen(0, [ |
| def_opts() -> | |
| #{pad=>$\s, dir=>trailing, c_sep=>" | ", r_sep => "-"}. | |
| table([Map|_] = LofMaps0) when is_map(Map) -> | |
| table(lists:sort(maps:keys(Map)), LofMaps0, def_opts()). | |
| table(Keys, Rows) -> | |
| table(Keys, Rows, def_opts()). | |
| table(Keys0, Rows0, Opts) -> |
| #ifndef __LIST_H | |
| #define __LIST_H | |
| /* This file is from Linux Kernel (include/linux/list.h) | |
| * and modified by simply removing hardware prefetching of list items. | |
| * Here by copyright, credits attributed to wherever they belong. | |
| * Kulesh Shanmugasundaram (kulesh [squiggly] isis.poly.edu) | |
| */ | |
| /* |
| out.txt | |
| out-sorted.txt | |
| words.txt |