You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/06/07 09:14:38 UTC
[trafficserver] 02/03: Remove unused macros in jtest
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 0904423e3a5791439527a94c7a13a70bf59e0280
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed Jun 6 14:52:37 2018 -0700
Remove unused macros in jtest
(cherry picked from commit 91c478c31ca87306084dd24e95c4efa8ca078094)
---
tools/jtest/jtest.cc | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/jtest/jtest.cc b/tools/jtest/jtest.cc
index eca7f32..7e8e1dc 100644
--- a/tools/jtest/jtest.cc
+++ b/tools/jtest/jtest.cc
@@ -107,7 +107,6 @@
#define JTEST_DONE 0
#define JTEST_CONT 1
-#define JTEST_ERR -1
static AppVersionInfo appVersionInfo;
@@ -3271,8 +3270,6 @@ interval_report()
#define BUCKETS (URL_HASH_ENTRIES / ENTRIES_PER_BUCKET)
#define BYTES_PER_BUCKET (BYTES_PER_ENTRY * ENTRIES_PER_BUCKET)
#define URL_HASH_BYTES (BYTES_PER_ENTRY * (URL_HASH_ENTRIES + OVERFLOW_ENTRIES))
-#define CHANCE_OF_COLLISION (((double)ENTRIES_PER_BUCKET) / ((double)(1 << (8 * 3))))
-#define WANT_FILESIZE 0
// NOTE: change to match BYTES_PER_ENTRY
#define ENTRY_TAG(_x) (((unsigned int)_x[0] << 16) + ((unsigned int)_x[1] << 8) + (unsigned int)_x[2])
--
To stop receiving notification emails like this one, please contact
zwoop@apache.org.