Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
6a6b36c503
Enable -Wconversion
9 years ago
Craig Tiller
f96dfc3cf8
First round of fixing up implicit 64->32 bit conversions
9 years ago
Craig Tiller
32ca48ce0b
Core compiles with -Wsign-conversion
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Nicolas "Pixel" Noble
bb3aed0ef9
Removing gpr_cancelable.
9 years ago
David Garcia Quintas
e3988dbbbd
Added more tests for GPR_BITCOUNT
10 years ago
David Garcia Quintas
541d5823d2
rewrote bitcount function as a macro
10 years ago
David Garcia Quintas
6b8d1aef89
rewrote bitcount function as a macro
10 years ago
David Garcia Quintas
b80479ec27
Added population count function
10 years ago
David Garcia Quintas
699b0f999e
Require a pointer + macro arg protection
10 years ago
David Garcia Quintas
ed7e8550f5
Require a pointer + macro arg protection
10 years ago
David Garcia Quintas
305e3bd635
Added bitset macro ops
10 years ago
Vijay Pai
d54c3e6b39
clang-format changed files
10 years ago
Craig Tiller
ffe27b98b9
Implement test for stack initial push edge
10 years ago
Craig Tiller
58bbc864ba
Updating wrapped languages to new time functions
10 years ago
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
10 years ago
Vijay Pai
10a6546cb9
Multithreaded test of stack
10 years ago
vjpai
f5d2138389
Test code
10 years ago
David Garcia Quintas
0324758dfc
Modified gpr_slice_split to take a char* separator.
10 years ago
David Garcia Quintas
ffe3d2b190
Modified gpr_slice_split to take a char* separator.
10 years ago
David Garcia Quintas
074e2247eb
Split function now takes slices as input, performs no allocs
10 years ago
David Garcia Quintas
14f1c27192
Added gpr_strsplit (with tests)
10 years ago
David Garcia Quintas
96ae8bbba2
PR comments + some more tests.
10 years ago
David Garcia Quintas
a16cf1ee12
PR comments + some more tests.
10 years ago
David Garcia Quintas
bc78a698b0
Added convenience method gpr_strjoin_sep
10 years ago
David Garcia Quintas
b7541e8eea
Added convenience method gpr_strjoin_sep
10 years ago
Craig Tiller
f1bff01631
clang-format changed files
10 years ago
Craig Tiller
f3756c1e0d
Introduce multiple clocks to GPR
10 years ago
Julien Boeuf
da13cd201b
Adding gpr_dump and gpr_hexdump as discussed. Removed gpr_slice_to_cstring as well.
10 years ago
Julien Boeuf
abc09d8b12
Adding util to get a NULL terminated string from a slice.
10 years ago
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
10 years ago
Yang Gao
69fe0759be
Various minor fixes
10 years ago
Craig Tiller
e7023612ef
Add a test of cmdline usage strings - and make them saner
10 years ago
Craig Tiller
356961916d
Remove all uses of __FUNCTION__
10 years ago
Julien Boeuf
28d75d9349
Adding option to add a null terminator when loading a file.
...
- This will take care of a potential issue with default credentials
where the slice pointer is casted as const char * for APIs that need a
null terminated string.
10 years ago
Craig Tiller
8cca9abeda
Thread local storage for grpc
10 years ago
Nicolas Noble
91647cc815
Adding joinable threads, and gpr_thd_join.
10 years ago
Chilledheart
ca767c0d9e
Add method grp_slice_buffer_pop to remove the last element for grp_slice_buffer
10 years ago
Ronnie Sahlberg
2ad8d21158
strcmp: change all !str[n]cmp to str[n]cmp == 0
...
Change all !str[n]cmp to be str[n]cmp == 0 consistently across the codebase.
Issue #231
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Nicolas Noble
65b0759653
Addressing a first batch of feedback.
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Julien Boeuf
0561896751
Addressing comments.
...
The new gpr_tmpfile API is actually much nicer to use. Thanks Nico!
10 years ago
Julien Boeuf
026a417def
Adding support for loading the SSL roots from an environment variable.
...
- Had to add support for files and environment variables as well.
- I can't compile on windows so I'm sure there will be some issues.
- Tested end-to-end with the simple ssl fullstack test.
10 years ago
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Yang Gao
5fd0d29dfe
run clang-format
10 years ago
Craig Tiller
485d77628d
Move string.h to internal code
10 years ago