This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
import base64 | |
class Hasher: | |
def __init__(self, salt = ""): | |
self.salt = salt | |
def hash(self, data): | |
d = hashlib.sha256(data.encode('utf-8')).digest() | |
return base64.b64encode(d).decode('utf-8')[:8] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec ${PAGER:-/usr/bin/less} "$0" || exit 1 | |
Executing tests from //test/integration:protocol_integration_test | |
----------------------------------------------------------------------------- | |
Note: This is test shard 2 of 5. | |
[==========] Running 91 tests from 2 test suites. | |
[----------] Global test environment set-up. | |
[----------] 61 tests from Protocols/ProtocolIntegrationTest | |
[ RUN ] Protocols/ProtocolIntegrationTest.TrailerSupportHttp1/IPv4_HttpDownstream_Http2Upstream | |
[2020-06-19 08:55:52.649][889666][info][testing] [test/integration/fake_upstream.cc:425] starting fake server on socket 0.0.0.0:0. Address version is v4. UDP=false | |
[2020-06-19 08:55:52.649][889666][debug][misc] [test/integration/integration.cc:340] Setting up file-based LDS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: | |
/home/lizan/github/lizan/envoy/master/tools/bazel.rc | |
Loading: | |
Loading: 0 packages loaded | |
Analyzing: 1636 targets (0 packages loaded, 0 targets configured) | |
INFO: Analyzed 1636 targets (0 packages loaded, 0 targets configured). | |
INFO: Found 1011 targets and 625 test targets... | |
[0 / 7] [Prepa] Writing file test/test_common/libglobal_lib.lo-2.params ... (2 actions, 0 running) | |
[35 / 52] Compiling test/common/json/json_fuzz_test.cc; 1s linux-sandbox ... (8 actions, 7 running) | |
[35 / 52] Compiling test/common/json/json_fuzz_test.cc; 2s linux-sandbox ... (8 actions running) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version_info: "0" | |
resources: | |
- "@type": type.googleapis.com/envoy.api.v2.Cluster | |
name: targetCluster | |
connect_timeout: 0.25s | |
lb_policy: ROUND_ROBIN | |
type: EDS | |
eds_cluster_config: | |
service_name: localservices | |
eds_config: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: this should be run with --compilation_mode=opt, and would benefit from a | |
// quiescent system with disabled cstate power management. | |
#include "envoy/config/bootstrap/v2/bootstrap.pb.h" | |
#include "envoy/config/bootstrap/v2/bootstrap.pb.validate.h" | |
#include "common/protobuf/utility.h" | |
#include "absl/strings/string_view.h" | |
#include "benchmark/benchmark.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <functional> | |
#include <type_traits> | |
class Context; | |
class Word; | |
template <size_t N, class ReturnType, class ContextType, class ParamType, | |
class FuncBase = ReturnType(ContextType)> | |
struct WasmFuncTypeHelper {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from beancount.core.number import D | |
from beancount.ingest import importer | |
from beancount.core.amount import Amount | |
from beancount.core import flags | |
from beancount.core import data | |
from beancount.core.position import Cost | |
from dateutil.parser import parse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec ${PAGER:-/usr/bin/less} "$0" || exit 1 | |
Executing tests from //test/server:server_test | |
----------------------------------------------------------------------------- | |
execve("test/server/server_test", ["test/server/server_test", "--gmock_default_mock_behavior=2"], [/* 35 vars */]) = 0 | |
brk(NULL) = 0x4cc6000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=57708, ...}) = 0 | |
mmap(NULL, 57708, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f802e750000 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enabled checks: | |
fuchsia-statically-constructed-objects | |
clang-tidy-7 -header-filter=^/home/lizan/github/lizan/envoy/build/.* -checks=-*,fuchsia-statically-constructed-objects -p=/home/lizan/github/lizan/envoy/build /home/lizan/.cache/bazel/_bazel_lizan/935de5c3a9ad4318c27353ce3b82b735/execroot/envoy/source/server/guarddog_impl.cc | |
clang-tidy-7 -header-filter=^/home/lizan/github/lizan/envoy/build/.* -checks=-*,fuchsia-statically-constructed-objects -p=/home/lizan/github/lizan/envoy/build /home/lizan/.cache/bazel/_bazel_lizan/935de5c3a9ad4318c27353ce3b82b735/execroot/envoy/source/server/guarddog_impl.h | |
clang-tidy-7 -header-filter=^/home/lizan/github/lizan/envoy/build/.* -checks=-*,fuchsia-statically-constructed-objects -p=/home/lizan/github/lizan/envoy/build /home/lizan/.cache/bazel/_bazel_lizan/935de5c3a9ad4318c27353ce3b82b735/execroot/envoy/source/server/hot_restart_impl.cc |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enabled checks: | |
abseil-string-find-startswith | |
bugprone-argument-comment | |
bugprone-assert-side-effect | |
bugprone-bool-pointer-implicit-conversion | |
bugprone-copy-constructor-init | |
bugprone-dangling-handle | |
bugprone-exception-escape | |
bugprone-fold-init-type |
NewerOlder