Merge pull request #18874 from yashykt/atleast

s/atleast/at\ least
reviewable/pr18746/r7^2
Yash Tibrewal 6 years ago committed by GitHub
commit a2cea50402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/lib/iomgr/internal_errqueue.cc
  2. 2
      src/core/lib/iomgr/timer_generic.cc
  3. 2
      test/core/bad_client/bad_client.cc
  4. 2
      test/cpp/microbenchmarks/bm_cq_multiple_threads.cc

@ -36,7 +36,7 @@ static bool errqueue_supported = false;
bool kernel_supports_errqueue() { return errqueue_supported; }
void grpc_errqueue_init() {
/* Both-compile time and run-time linux kernel versions should be atleast 4.0.0
/* Both-compile time and run-time linux kernel versions should be at least 4.0.0
*/
#ifdef GRPC_LINUX_ERRQUEUE
struct utsname buffer;

@ -487,7 +487,7 @@ static void timer_cancel(grpc_timer* timer) {
/* Rebalances the timer shard by computing a new 'queue_deadline_cap' and moving
all relevant timers in shard->list (i.e timers with deadlines earlier than
'queue_deadline_cap') into into shard->heap.
Returns 'true' if shard->heap has atleast ONE element
Returns 'true' if shard->heap has at least ONE element
REQUIRES: shard->mu locked */
static bool refill_heap(timer_shard* shard, grpc_millis now) {
/* Compute the new queue window width and bound by the limits: */

@ -257,7 +257,7 @@ bool client_connection_preface_validator(grpc_slice_buffer* incoming,
return false;
}
grpc_slice slice = incoming->slices[0];
/* There should be atleast a settings frame present */
/* There should be at least one settings frame present */
if (GRPC_SLICE_LENGTH(slice) < MIN_HTTP2_FRAME_SIZE) {
return false;
}

@ -138,7 +138,7 @@ static void teardown() {
Setup:
The benchmark framework ensures that none of the threads proceed beyond the
state.KeepRunning() call unless all the threads have called state.keepRunning
atleast once. So it is safe to do the initialization in one of the threads
at least once. So it is safe to do the initialization in one of the threads
before state.KeepRunning() is called.
Teardown:

Loading…
Cancel
Save