Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Tamir Duberstein
76e95f6afd
Generalize pthread TLS to any trivial type ( #27009 )
...
* Avoid copy constructor
```
src/core/lib/gpr/log_linux.cc:78:33: error: copying variable of type 'grpc_core::PthreadTlsImpl<long>' invokes deleted constructor
static GPR_THREAD_LOCAL(long) tid = 0;
^ ~
./src/core/lib/gpr/tls.h:64:3: note: 'PthreadTlsImpl' has been explicitly marked deleted here
PthreadTlsImpl(const PthreadTlsImpl&) = delete;
^
1 error generated.
```
* Generalize pthread TLS to any trivial type
Use multiple pthread keys for types larger than a machine word.
Implement generic timer TLS optimization on all platforms.
3 years ago
Esun Kim
e7b9404dc0
Added grpc_stacktrace_minloglevel
4 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
Mark D. Roth
51d18ecc63
Convert mpscq API from C to C++.
5 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
6 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
Bill Feng
9759a1b241
removed accidental submodule update
6 years ago
Adele Zhou
8edd56841e
Step 3 of multipool RBE configuration.
6 years ago
kpayson64
ec445cc2bb
BUILD fixes
7 years ago
kpayson64
38ab21ee09
Add exec_ctx check to fork handlers
7 years ago
Adele Zhou
1c805ec901
Add more bazel tests
7 years ago
Vijay Pai
c02d997607
Minor bug fixes
7 years ago
Vijay Pai
8f4fbb1c55
Move avl to its own directory and rename it to grpc_avl
7 years ago
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Mark D. Roth
324703db51
Fix existing ref counting classes and add new ones.
7 years ago
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
7 years ago
Mark D. Roth
bf816d325e
Shorted "reference" to "ref".
7 years ago
Mark D. Roth
cf9ca843eb
Add ReferenceCountedPtr class.
7 years ago
Mark D. Roth
70db663ae8
Add ReferenceCounted base class.
7 years ago
Vijay Pai
891254292e
Remove lockfree stack, again
7 years ago
ncteisen
f0798b4873
Fix Bazel build
7 years ago
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
7 years ago
Yash Tibrewal
e586324627
BUILD files changes for bazel
7 years ago
Craig Tiller
b7a8cace34
Add abseil to core, use it for InlinedVector
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Craig Tiller
c0df1c0f9a
Compiling again
7 years ago
Ken Payson
a4710a090d
Revert "Remove lockfree-stack implementation that is no longer used"
...
This reverts commit 3d04e025bc
.
7 years ago
Vijay Pai
3d04e025bc
Remove lockfree-stack implementation that is no longer used
8 years ago
Jan Tattermusch
4d5c3102a1
fix remaining license notices
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
8 years ago
Nicolas "Pixel" Noble
15cd5ce2ed
Rewriting core tests BUILD files to use the build system.
8 years ago
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
8 years ago
Yuchen Zeng
39514ccb29
Add licenses() in BUILD files
8 years ago
Craig Tiller
edbf2b9d13
Add a spinlock type.
...
Useful for situations where we need to repeatedly trylock, not useful
for cases where we need to lock (due to spinning).
Add a variant of sync_test to test it (with the same tests we run for
gpr_mu).
Add a benchmark to bm_closure to demonstrate single threaded performance.
8 years ago
yang-g
1da20c10b0
Remove unused load
8 years ago
Craig Tiller
d3e645f07d
e2e fuzzers
8 years ago
Craig Tiller
31a1bbd4bc
Make fuzzer unit tests work
8 years ago
Craig Tiller
ad57f1678e
Begin fuzzing framework
8 years ago
Nicolas "Pixel" Noble
60ca22fef5
Basic testing.
8 years ago