Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 385B7200D70 for ; Thu, 21 Dec 2017 20:54:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 36F01160C2B; Thu, 21 Dec 2017 19:54:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D7E72160C2C for ; Thu, 21 Dec 2017 20:54:50 +0100 (CET) Received: (qmail 33413 invoked by uid 500); 21 Dec 2017 19:54:50 -0000 Mailing-List: contact commits-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list commits@mesos.apache.org Received: (qmail 33384 invoked by uid 99); 21 Dec 2017 19:54:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Dec 2017 19:54:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4B6BADFD43; Thu, 21 Dec 2017 19:54:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@mesos.apache.org Date: Thu, 21 Dec 2017 19:54:53 -0000 Message-Id: <1757100372284ce0997a6f4cb6a66499@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [8/8] mesos-site git commit: Updated the website built from mesos SHA: 63f116a. archived-at: Thu, 21 Dec 2017 19:54:53 -0000 Updated the website built from mesos SHA: 63f116a. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/e1e22fce Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/e1e22fce Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/e1e22fce Branch: refs/heads/asf-site Commit: e1e22fceb2461802b97313b457980bdb7d5d8f46 Parents: a27f9ef Author: jenkins Authored: Thu Dec 21 19:54:40 2017 +0000 Committer: jenkins Committed: Thu Dec 21 19:54:40 2017 +0000 ---------------------------------------------------------------------- content/api/latest/c++/Nodes.xml | 40 - content/api/latest/c++/Tokens.xml | 44 - content/api/latest/c++/bytes_8hpp_source.html | 214 +- content/api/latest/c++/classBytes-members.html | 30 +- content/api/latest/c++/classBytes.html | 100 - content/api/latest/c++/devolve_8hpp_source.html | 4 +- .../latest/c++/event__queue_8hpp_source.html | 2 +- content/api/latest/c++/evolve_8hpp_source.html | 4 +- content/api/latest/c++/functions_0x67.html | 35 +- content/api/latest/c++/functions_0x6b.html | 27 +- content/api/latest/c++/functions_0x6d.html | 140 +- content/api/latest/c++/functions_0x6e.html | 106 +- content/api/latest/c++/functions_0x6f.html | 12 +- content/api/latest/c++/functions_0x70.html | 46 +- content/api/latest/c++/functions_0x72.html | 52 +- content/api/latest/c++/functions_0x73.html | 37 +- content/api/latest/c++/functions_0x74.html | 96 +- content/api/latest/c++/functions_0x75.html | 34 +- content/api/latest/c++/functions_0x77.html | 18 +- content/api/latest/c++/functions_func_0x67.html | 25 +- content/api/latest/c++/functions_func_0x6b.html | 13 +- content/api/latest/c++/functions_func_0x6d.html | 99 +- content/api/latest/c++/functions_func_0x6e.html | 46 +- content/api/latest/c++/functions_func_0x6f.html | 6 +- content/api/latest/c++/functions_func_0x70.html | 4 +- content/api/latest/c++/functions_func_0x72.html | 35 +- content/api/latest/c++/functions_func_0x73.html | 14 +- content/api/latest/c++/functions_func_0x74.html | 32 +- content/api/latest/c++/functions_func_0x75.html | 20 +- content/api/latest/c++/functions_func_0x77.html | 6 +- content/api/latest/c++/functions_rela.html | 10 +- .../c++/http__connection_8hpp_source.html | 4 +- ...nclude_2mesos_2v1_2executor_8hpp_source.html | 2 +- content/api/latest/c++/index.hhc | 8 - content/api/latest/c++/index.hhk | 197 +- .../latest/c++/lib__logrotate_8hpp_source.html | 4 +- .../api/latest/c++/logrotate_8hpp_source.html | 4 +- .../c++/master_2validation_8hpp_source.html | 2 +- .../c++/memory__test__helper_8hpp_source.html | 2 +- .../latest/c++/protobuf__utils_8hpp_source.html | 2 +- ...ource__provider_2validation_8hpp_source.html | 2 +- .../c++/slave_2validation_8hpp_source.html | 2 +- .../c++/src_2master_2constants_8hpp_source.html | 2 +- .../c++/src_2master_2master_8hpp_source.html | 4 +- .../c++/src_2slave_2constants_8hpp_source.html | 4 +- ...olators_2cgroups_2constants_8hpp_source.html | 2 +- .../c++/src_2slave_2http_8hpp_source.html | 2 +- .../src_2tests_2containerizer_8hpp_source.html | 2 +- .../c++/src_2tests_2mesos_8hpp_source.html | 4959 +++++++++--------- content/api/latest/c++/system_8hpp_source.html | 2 +- .../latest/c++/v0__v1executor_8hpp_source.html | 2 +- .../c++/v1_2resource__provider_8hpp_source.html | 2 +- .../latest/c++/v1_2scheduler_8hpp_source.html | 2 +- .../api/latest/c++/windows_2os_8hpp_source.html | 2 +- content/blog/feed.xml | 2 +- .../index.html | 2 +- 56 files changed, 3163 insertions(+), 3406 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos-site/blob/e1e22fce/content/api/latest/c++/Nodes.xml ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/Nodes.xml b/content/api/latest/c++/Nodes.xml index 099a7ce..5f55c2c 100644 --- a/content/api/latest/c++/Nodes.xml +++ b/content/api/latest/c++/Nodes.xml @@ -30858,21 +30858,6 @@ a1a2e9277ebe7d227a21f111898c49a8c - gigabytes - classBytes.html - abc3596f11351b515b1594f7b6b920468 - - - kilobytes - classBytes.html - a2b62c948987fe920f780d516f99230eb - - - megabytes - classBytes.html - aee1957960ddcf609db170b0590ff7db5 - - operator!= classBytes.html ac85371dbd9df4037a29afb284e722965 @@ -30922,11 +30907,6 @@ classBytes.html a4ced587025cda32bcc6aaf99dc246bb7 - - terabytes - classBytes.html - ad3c6ca46da50da1ab8d169e09582cbf7 - @@ -54560,21 +54540,6 @@ a1a2e9277ebe7d227a21f111898c49a8c - gigabytes - classBytes.html - abc3596f11351b515b1594f7b6b920468 - - - kilobytes - classBytes.html - a2b62c948987fe920f780d516f99230eb - - - megabytes - classBytes.html - aee1957960ddcf609db170b0590ff7db5 - - operator!= classBytes.html ac85371dbd9df4037a29afb284e722965 @@ -54624,11 +54589,6 @@ classBytes.html a4ced587025cda32bcc6aaf99dc246bb7 - - terabytes - classBytes.html - ad3c6ca46da50da1ab8d169e09582cbf7 - http://git-wip-us.apache.org/repos/asf/mesos-site/blob/e1e22fce/content/api/latest/c++/Tokens.xml ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/Tokens.xml b/content/api/latest/c++/Tokens.xml index c356538..afe0412 100644 --- a/content/api/latest/c++/Tokens.xml +++ b/content/api/latest/c++/Tokens.xml @@ -29705,50 +29705,6 @@ - kilobytes - cpp - instm - Bytes - - classBytes.html - a2b62c948987fe920f780d516f99230eb - bytes.hpp - - - - megabytes - cpp - instm - Bytes - - classBytes.html - aee1957960ddcf609db170b0590ff7db5 - bytes.hpp - - - - gigabytes - cpp - instm - Bytes - - classBytes.html - abc3596f11351b515b1594f7b6b920468 - bytes.hpp - - - - terabytes - cpp - instm - Bytes - - classBytes.html - ad3c6ca46da50da1ab8d169e09582cbf7 - bytes.hpp - - - operator< cpp instm http://git-wip-us.apache.org/repos/asf/mesos-site/blob/e1e22fce/content/api/latest/c++/bytes_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/bytes_8hpp_source.html b/content/api/latest/c++/bytes_8hpp_source.html index 7fb57be..c947439 100644 --- a/content/api/latest/c++/bytes_8hpp_source.html +++ b/content/api/latest/c++/bytes_8hpp_source.html @@ -130,171 +130,161 @@
76  constexpr Bytes(uint64_t bytes = 0) : value(bytes) {}
77  constexpr Bytes(uint64_t _value, uint64_t _unit) : value(_value * _unit) {}
78 
-
79  // TODO(bmahler): Consider killing kilobytes to terabyte helpers, given
-
80  // they implicitly lose precision if not careful.
-
81  uint64_t bytes() const { return value; }
-
82  uint64_t kilobytes() const { return value / KILOBYTES; }
-
83  uint64_t megabytes() const { return value / MEGABYTES; }
-
84  uint64_t gigabytes() const { return value / GIGABYTES; }
-
85  uint64_t terabytes() const { return value / TERABYTES; }
-
86 
-
87  bool operator<(const Bytes& that) const { return value < that.value; }
-
88  bool operator<=(const Bytes& that) const { return value <= that.value; }
-
89  bool operator>(const Bytes& that) const { return value > that.value; }
-
90  bool operator>=(const Bytes& that) const { return value >= that.value; }
-
91  bool operator==(const Bytes& that) const { return value == that.value; }
-
92  bool operator!=(const Bytes& that) const { return value != that.value; }
+
79  uint64_t bytes() const { return value; }
+
80 
+
81  bool operator<(const Bytes& that) const { return value < that.value; }
+
82  bool operator<=(const Bytes& that) const { return value <= that.value; }
+
83  bool operator>(const Bytes& that) const { return value > that.value; }
+
84  bool operator>=(const Bytes& that) const { return value >= that.value; }
+
85  bool operator==(const Bytes& that) const { return value == that.value; }
+
86  bool operator!=(const Bytes& that) const { return value != that.value; }
+
87 
+
88  Bytes& operator+=(const Bytes& that)
+
89  {
+
90  value += that.value;
+
91  return *this;
+
92  }
93 
-
94  Bytes& operator+=(const Bytes& that)
+
94  Bytes& operator-=(const Bytes& that)
95  {
-
96  value += that.value;
+
96  value -= that.value;
97  return *this;
98  }
99 
-
100  Bytes& operator-=(const Bytes& that)
+
100  Bytes& operator*=(uint64_t multiplier)
101  {
-
102  value -= that.value;
+
102  value *= multiplier;
103  return *this;
104  }
105 
-
106  Bytes& operator*=(uint64_t multiplier)
+
106  Bytes& operator/=(uint64_t divisor)
107  {
-
108  value *= multiplier;
+
108  value /= divisor;
109  return *this;
110  }
111 
-
112  Bytes& operator/=(uint64_t divisor)
-
113  {
-
114  value /= divisor;
-
115  return *this;
-
116  }
-
117 
-
118 private:
-
119  uint64_t value;
-
120 };
+
112 private:
+
113  uint64_t value;
+
114 };
+
115 
+
116 
+
117 inline constexpr Bytes Kilobytes(uint64_t value)
+
118 {
+
119  return Bytes(value, Bytes::KILOBYTES);
+
120 }
121 
122 
-
123 inline constexpr Bytes Kilobytes(uint64_t value)
+
123 inline constexpr Bytes Megabytes(uint64_t value)
124 {
-
125  return Bytes(value, Bytes::KILOBYTES);
+
125  return Bytes(value, Bytes::MEGABYTES);
126 }
127 
128 
-
129 inline constexpr Bytes Megabytes(uint64_t value)
+
129 inline constexpr Bytes Gigabytes(uint64_t value)
130 {
-
131  return Bytes(value, Bytes::MEGABYTES);
+
131  return Bytes(value, Bytes::GIGABYTES);
132 }
133 
134 
-
135 inline constexpr Bytes Gigabytes(uint64_t value)
+
135 inline constexpr Bytes Terabytes(uint64_t value)
136 {
-
137  return Bytes(value, Bytes::GIGABYTES);
+
137  return Bytes(value, Bytes::TERABYTES);
138 }
139 
140 
-
141 inline constexpr Bytes Terabytes(uint64_t value)
+
141 inline std::ostream& operator<<(std::ostream& stream, const Bytes& bytes)
142 {
-
143  return Bytes(value, Bytes::TERABYTES);
-
144 }
-
145 
-
146 
-
147 inline std::ostream& operator<<(std::ostream& stream, const Bytes& bytes)
-
148 {
-
149  // Only raise the unit when there is no loss of information.
-
150  if (bytes.bytes() == 0) {
-
151  return stream << bytes.bytes() << "B";
-
152  } else if (bytes.bytes() % 1024 != 0) {
-
153  return stream << bytes.bytes() << "B";
-
154  } else if (bytes.kilobytes() % 1024 != 0) {
-
155  return stream << bytes.kilobytes() << "KB";
-
156  } else if (bytes.megabytes() % 1024 != 0) {
-
157  return stream << bytes.megabytes() << "MB";
-
158  } else if (bytes.gigabytes() % 1024 != 0) {
-
159  return stream << bytes.gigabytes() << "GB";
-
160  } else {
-
161  return stream << bytes.terabytes() << "TB";
-
162  }
-
163 }
-
164 
-
165 
-
166 inline Bytes operator+(const Bytes& lhs, const Bytes& rhs)
-
167 {
-
168  Bytes sum = lhs;
-
169  sum += rhs;
-
170  return sum;
-
171 }
-
172 
-
173 
-
174 inline Bytes operator-(const Bytes& lhs, const Bytes& rhs)
-
175 {
-
176  Bytes diff = lhs;
-
177  diff -= rhs;
-
178  return diff;
-
179 }
-
180 
-
181 
-
182 inline Bytes operator*(const Bytes& lhs, uint64_t multiplier)
-
183 {
-
184  Bytes result = lhs;
-
185  result *= multiplier;
-
186  return result;
-
187 }
-
188 
-
189 
-
190 inline Bytes operator/(const Bytes& lhs, uint64_t divisor)
-
191 {
-
192  Bytes result = lhs;
-
193  result /= divisor;
-
194  return result;
-
195 }
-
196 
-
197 #endif // __STOUT_BYTES_HPP__
-
constexpr Bytes Terabytes(uint64_t value)
Definition: bytes.hpp:141
+
143  // Only raise the unit when there is no loss of information.
+
144  if (bytes.bytes() == 0) {
+
145  return stream << "0B";
+
146  } else if (bytes.bytes() % Bytes::KILOBYTES != 0) {
+
147  return stream << bytes.bytes() << "B";
+
148  } else if (bytes.bytes() % Bytes::MEGABYTES != 0) {
+
149  return stream << (bytes.bytes() / Bytes::KILOBYTES) << "KB";
+
150  } else if (bytes.bytes() % Bytes::GIGABYTES != 0) {
+
151  return stream << (bytes.bytes() / Bytes::MEGABYTES) << "MB";
+
152  } else if (bytes.bytes() % Bytes::TERABYTES != 0) {
+
153  return stream << (bytes.bytes() / Bytes::GIGABYTES) << "GB";
+
154  } else {
+
155  return stream << (bytes.bytes() / Bytes::TERABYTES) << "TB";
+
156  }
+
157 }
+
158 
+
159 
+
160 inline Bytes operator+(const Bytes& lhs, const Bytes& rhs)
+
161 {
+
162  Bytes sum = lhs;
+
163  sum += rhs;
+
164  return sum;
+
165 }
+
166 
+
167 
+
168 inline Bytes operator-(const Bytes& lhs, const Bytes& rhs)
+
169 {
+
170  Bytes diff = lhs;
+
171  diff -= rhs;
+
172  return diff;
+
173 }
+
174 
+
175 
+
176 inline Bytes operator*(const Bytes& lhs, uint64_t multiplier)
+
177 {
+
178  Bytes result = lhs;
+
179  result *= multiplier;
+
180  return result;
+
181 }
+
182 
+
183 
+
184 inline Bytes operator/(const Bytes& lhs, uint64_t divisor)
+
185 {
+
186  Bytes result = lhs;
+
187  result /= divisor;
+
188  return result;
+
189 }
+
190 
+
191 #endif // __STOUT_BYTES_HPP__
+
constexpr Bytes Terabytes(uint64_t value)
Definition: bytes.hpp:135
Try< Diff > diff(const std::string &from, const std::string &to)
Definition: svn.hpp:72
static constexpr uint64_t MEGABYTES
Definition: bytes.hpp:35
-
Bytes & operator/=(uint64_t divisor)
Definition: bytes.hpp:112
+
Bytes & operator/=(uint64_t divisor)
Definition: bytes.hpp:106
Definition: errorbase.hpp:35
-
bool operator!=(const Bytes &that) const
Definition: bytes.hpp:92
+
bool operator!=(const Bytes &that) const
Definition: bytes.hpp:86
Definition: try.hpp:34
-
constexpr Bytes Megabytes(uint64_t value)
Definition: bytes.hpp:129
-
Bytes operator*(const Bytes &lhs, uint64_t multiplier)
Definition: bytes.hpp:182
-
bool operator<(const Bytes &that) const
Definition: bytes.hpp:87
+
constexpr Bytes Megabytes(uint64_t value)
Definition: bytes.hpp:123
+
Bytes operator*(const Bytes &lhs, uint64_t multiplier)
Definition: bytes.hpp:176
+
bool operator<(const Bytes &that) const
Definition: bytes.hpp:81
-
bool operator>(const Bytes &that) const
Definition: bytes.hpp:89
-
uint64_t megabytes() const
Definition: bytes.hpp:83
+
bool operator>(const Bytes &that) const
Definition: bytes.hpp:83
static Try< Bytes > parse(const std::string &s)
Definition: bytes.hpp:39
Resources operator-(const google::protobuf::RepeatedPtrField< Resource > &left, const Resources &right)
Definition: resources.hpp:648
static constexpr uint64_t GIGABYTES
Definition: bytes.hpp:36
-
bool operator==(const Bytes &that) const
Definition: bytes.hpp:91
+
bool operator==(const Bytes &that) const
Definition: bytes.hpp:85
-
bool operator>=(const Bytes &that) const
Definition: bytes.hpp:90
-
Bytes operator/(const Bytes &lhs, uint64_t divisor)
Definition: bytes.hpp:190
+
bool operator>=(const Bytes &that) const
Definition: bytes.hpp:84
+
Bytes operator/(const Bytes &lhs, uint64_t divisor)
Definition: bytes.hpp:184
constexpr Bytes(uint64_t _value, uint64_t _unit)
Definition: bytes.hpp:77
-
Bytes & operator*=(uint64_t multiplier)
Definition: bytes.hpp:106
+
Bytes & operator*=(uint64_t multiplier)
Definition: bytes.hpp:100
constexpr Bytes(uint64_t bytes=0)
Definition: bytes.hpp:76
static Try error(const E &e)
Definition: try.hpp:42
-
uint64_t gigabytes() const
Definition: bytes.hpp:84
Resources operator+(const google::protobuf::RepeatedPtrField< Resource > &left, const Resources &right)
Definition: resources.hpp:640
std::string upper(const std::string &s)
Definition: strings.hpp:420
bool isError() const
Definition: try.hpp:71
std::ostream & operator<<(std::ostream &stream, const Call::Type &type)
Definition: agent.hpp:28
-
constexpr Bytes Gigabytes(uint64_t value)
Definition: bytes.hpp:135
+
constexpr Bytes Gigabytes(uint64_t value)
Definition: bytes.hpp:129
-
uint64_t bytes() const
Definition: bytes.hpp:81
-
uint64_t terabytes() const
Definition: bytes.hpp:85
+
uint64_t bytes() const
Definition: bytes.hpp:79
static constexpr uint64_t BYTES
Definition: bytes.hpp:33
static constexpr uint64_t TERABYTES
Definition: bytes.hpp:37
-
constexpr Bytes Kilobytes(uint64_t value)
Definition: bytes.hpp:123
-
uint64_t kilobytes() const
Definition: bytes.hpp:82
-
Bytes & operator+=(const Bytes &that)
Definition: bytes.hpp:94
-
bool operator<=(const Bytes &that) const
Definition: bytes.hpp:88
+
constexpr Bytes Kilobytes(uint64_t value)
Definition: bytes.hpp:117
+
Bytes & operator+=(const Bytes &that)
Definition: bytes.hpp:88
+
bool operator<=(const Bytes &that) const
Definition: bytes.hpp:82
Definition: bytes.hpp:30
const T & get() const
Definition: try.hpp:73
static constexpr uint64_t KILOBYTES
Definition: bytes.hpp:34
-
Bytes & operator-=(const Bytes &that)
Definition: bytes.hpp:100
+
Bytes & operator-=(const Bytes &that)
Definition: bytes.hpp:94