aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-01-22 12:00:01 +0000
committerArne Juul <arnej@yahooinc.com>2023-01-22 12:00:01 +0000
commitd29f85adec4a26af5f6b7e96f6f6e21d00807115 (patch)
tree219a772d0fdf32e4a3c404c25df4813cf8145148
parent471f8f32520dd8d2b327a9ac5cf06c558e9216ad (diff)
remove some whitespace at end of lines
-rw-r--r--configd/src/apps/sentinel/config-owner.h2
-rw-r--r--document/src/vespa/document/select/valuenodes.h2
-rw-r--r--document/src/vespa/document/test/fieldvalue_helpers.h2
-rw-r--r--eval/src/tests/ann/nns-l2.h4
-rw-r--r--eval/src/vespa/eval/eval/basic_nodes.h2
-rw-r--r--eval/src/vespa/eval/eval/tensor_function.h8
-rw-r--r--eval/src/vespa/eval/eval/test/gen_spec.h2
-rw-r--r--eval/src/vespa/eval/instruction/generic_rename.h2
-rw-r--r--eval/src/vespa/eval/instruction/join_with_number_function.h2
-rw-r--r--eval/src/vespa/eval/instruction/mapped_lookup.h2
-rw-r--r--eval/src/vespa/eval/instruction/sum_max_dot_product_function.h2
-rw-r--r--fbench/src/fbench/client.h2
-rw-r--r--fbench/src/httpclient/httpclient.h8
-rw-r--r--fbench/src/util/clientstatus.h2
-rw-r--r--fnet/src/vespa/fnet/databuffer.h2
-rw-r--r--fnet/src/vespa/fnet/transport_debugger.h4
-rw-r--r--metrics/src/vespa/metrics/jsonwriter.h2
-rw-r--r--metrics/src/vespa/metrics/metric.h2
-rw-r--r--vespalib/src/vespa/vespalib/util/execution_profiler.h2
19 files changed, 27 insertions, 27 deletions
diff --git a/configd/src/apps/sentinel/config-owner.h b/configd/src/apps/sentinel/config-owner.h
index 2e44f8cd338..5c09cffad88 100644
--- a/configd/src/apps/sentinel/config-owner.h
+++ b/configd/src/apps/sentinel/config-owner.h
@@ -17,7 +17,7 @@ class ConfigOwner {
private:
config::ConfigSubscriber _subscriber;
config::ConfigHandle<SentinelConfig>::UP _sentinelHandle;
-
+
int64_t _currGeneration = -1;
std::unique_ptr<SentinelConfig> _currConfig;
diff --git a/document/src/vespa/document/select/valuenodes.h b/document/src/vespa/document/select/valuenodes.h
index 0c4584e7eee..5550726d82d 100644
--- a/document/src/vespa/document/select/valuenodes.h
+++ b/document/src/vespa/document/select/valuenodes.h
@@ -350,7 +350,7 @@ public:
getValue(const Context& context) const override {
return getValue(_left->getValue(context), _right->getValue(context));
}
-
+
std::unique_ptr<Value>
traceValue(const Context &context, std::ostream& out) const override {
return traceValue(_left->getValue(context), _right->getValue(context), out);
diff --git a/document/src/vespa/document/test/fieldvalue_helpers.h b/document/src/vespa/document/test/fieldvalue_helpers.h
index a7d899b385f..abf2503418f 100644
--- a/document/src/vespa/document/test/fieldvalue_helpers.h
+++ b/document/src/vespa/document/test/fieldvalue_helpers.h
@@ -9,7 +9,7 @@
#include <vespa/document/fieldvalue/doublefieldvalue.h>
namespace document {
-
+
class CollectionHelper {
public:
CollectionHelper(CollectionFieldValue &value) : _cfv(value) {}
diff --git a/eval/src/tests/ann/nns-l2.h b/eval/src/tests/ann/nns-l2.h
index 022542124aa..3b9fb6a81ab 100644
--- a/eval/src/tests/ann/nns-l2.h
+++ b/eval/src/tests/ann/nns-l2.h
@@ -7,7 +7,7 @@
template <typename T, size_t VLEN>
static double hw_l2_sq_dist(const T * af, const T * bf, size_t sz)
-{
+{
constexpr const size_t OpsPerV = VLEN/sizeof(T);
typedef T V __attribute__ ((vector_size (VLEN), aligned(VLEN)));
@@ -17,7 +17,7 @@ static double hw_l2_sq_dist(const T * af, const T * bf, size_t sz)
V tmp_diff;
V tmp_squa;
V tmp_sum;
- memset(&tmp_sum, 0, sizeof(tmp_sum));
+ memset(&tmp_sum, 0, sizeof(tmp_sum));
const size_t numOps = sz/OpsPerV;
for (size_t i = 0; i < numOps; ++i) {
diff --git a/eval/src/vespa/eval/eval/basic_nodes.h b/eval/src/vespa/eval/eval/basic_nodes.h
index b5cf36b853b..1aaf72beaa8 100644
--- a/eval/src/vespa/eval/eval/basic_nodes.h
+++ b/eval/src/vespa/eval/eval/basic_nodes.h
@@ -71,7 +71,7 @@ using Node_UP = std::unique_ptr<Node>;
* auto number = as<Number>(node);
* if (number) {
* do_stuff(number->value());
- * }
+ * }
* </pre>
**/
template<typename T>
diff --git a/eval/src/vespa/eval/eval/tensor_function.h b/eval/src/vespa/eval/eval/tensor_function.h
index c5cc99d9137..8f96110b6d8 100644
--- a/eval/src/vespa/eval/eval/tensor_function.h
+++ b/eval/src/vespa/eval/eval/tensor_function.h
@@ -151,12 +151,12 @@ public:
class Op1 : public Node
{
private:
- Child _child;
+ Child _child;
public:
Op1(const ValueType &result_type_in,
const TensorFunction &child_in)
: Node(result_type_in), _child(child_in) {}
- const TensorFunction &child() const { return _child.get(); }
+ const TensorFunction &child() const { return _child.get(); }
void push_children(std::vector<Child::CREF> &children) const final override;
void visit_children(vespalib::ObjectVisitor &visitor) const final override;
};
@@ -291,7 +291,7 @@ class Concat : public Op2
{
using Super = Op2;
private:
- vespalib::string _dimension;
+ vespalib::string _dimension;
public:
Concat(const ValueType &result_type_in,
const TensorFunction &lhs_in,
@@ -448,7 +448,7 @@ public:
const TensorFunction &cond() const { return _cond.get(); }
const TensorFunction &true_child() const { return _true_child.get(); }
const TensorFunction &false_child() const { return _false_child.get(); }
- void push_children(std::vector<Child::CREF> &children) const final override;
+ void push_children(std::vector<Child::CREF> &children) const final override;
bool result_is_mutable() const override {
return (true_child().result_is_mutable() &&
false_child().result_is_mutable());
diff --git a/eval/src/vespa/eval/eval/test/gen_spec.h b/eval/src/vespa/eval/eval/test/gen_spec.h
index 5f507eeb272..30893eb90a9 100644
--- a/eval/src/vespa/eval/eval/test/gen_spec.h
+++ b/eval/src/vespa/eval/eval/test/gen_spec.h
@@ -16,7 +16,7 @@ using Sequence = std::function<double(size_t)>;
// Sequence counting up from 1 (default)
// bias (starting point) can be adjusted
-// bias = 1.5 -> 1.5, 2.5, 3.5 ...
+// bias = 1.5 -> 1.5, 2.5, 3.5 ...
Sequence N(double bias = 1.0);
// Sequence of numbers ax + b (where x is the index)
diff --git a/eval/src/vespa/eval/instruction/generic_rename.h b/eval/src/vespa/eval/instruction/generic_rename.h
index 62a0685edce..67ea311153e 100644
--- a/eval/src/vespa/eval/instruction/generic_rename.h
+++ b/eval/src/vespa/eval/instruction/generic_rename.h
@@ -12,7 +12,7 @@
namespace vespalib::eval { struct ValueBuilderFactory; }
namespace vespalib::eval::instruction {
-
+
struct DenseRenamePlan {
SmallVector<size_t> loop_cnt;
SmallVector<size_t> stride;
diff --git a/eval/src/vespa/eval/instruction/join_with_number_function.h b/eval/src/vespa/eval/instruction/join_with_number_function.h
index a459d76153f..1ced038c5eb 100644
--- a/eval/src/vespa/eval/instruction/join_with_number_function.h
+++ b/eval/src/vespa/eval/instruction/join_with_number_function.h
@@ -19,7 +19,7 @@ private:
Primary _primary;
tensor_function::join_fun_t _function;
public:
-
+
JoinWithNumberFunction(const tensor_function::Join &original_join, bool number_on_left);
~JoinWithNumberFunction();
Primary primary() const { return _primary; }
diff --git a/eval/src/vespa/eval/instruction/mapped_lookup.h b/eval/src/vespa/eval/instruction/mapped_lookup.h
index 2b66c6cf4aa..5b29c61e37d 100644
--- a/eval/src/vespa/eval/instruction/mapped_lookup.h
+++ b/eval/src/vespa/eval/instruction/mapped_lookup.h
@@ -15,7 +15,7 @@ namespace vespalib::eval {
*
* Both tensors must have the same cell type, which can be either
* float or double.
- *
+ *
* The optimized expression looks like this: reduce(key*map,sum,x)
*
* If 'map' is also sparse, the lookup operation is a sparse dot
diff --git a/eval/src/vespa/eval/instruction/sum_max_dot_product_function.h b/eval/src/vespa/eval/instruction/sum_max_dot_product_function.h
index 195823f38b9..403d023129c 100644
--- a/eval/src/vespa/eval/instruction/sum_max_dot_product_function.h
+++ b/eval/src/vespa/eval/instruction/sum_max_dot_product_function.h
@@ -9,7 +9,7 @@ namespace vespalib::eval {
/**
* Tensor function combining multiple dot products with multiple
* layers of aggregation, resulting in a single scalar result.
- *
+ *
* inputs:
* query: tensor<float>(qt{},x[32])
* document: tensor<float>(dt{},x[32])
diff --git a/fbench/src/fbench/client.h b/fbench/src/fbench/client.h
index ebdcae4d6cb..e1ea67e5900 100644
--- a/fbench/src/fbench/client.h
+++ b/fbench/src/fbench/client.h
@@ -88,7 +88,7 @@ struct ClientArguments
* client.
**/
bool _keepAlive;
-
+
/**
* Indicate wether POST content should be Base64 decoded before
* sending it
diff --git a/fbench/src/httpclient/httpclient.h b/fbench/src/httpclient/httpclient.h
index da04378b38f..1e7bd4784d3 100644
--- a/fbench/src/httpclient/httpclient.h
+++ b/fbench/src/httpclient/httpclient.h
@@ -232,7 +232,7 @@ protected:
* @param cLen length of content in bytes
**/
bool Open(std::string & headerinfo, const char *url, bool usePost = false, const char *content = 0, int cLen = 0);
-
+
/**
* Close the connection to the url we are currently reading
* from. Will also close the physical connection if keepAlive is not
@@ -319,7 +319,7 @@ public:
/**
* Query total hit count. Returns -1 if the total hit count
* could not be found.
- * @return Total hit count for query.
+ * @return Total hit count for query.
**/
auto TotalHitCount() const { return _totalHitCount; }
/**
@@ -327,14 +327,14 @@ public:
* @return Number of bytes in result buffer.
**/
auto ResultSize() const { return _resultSize; }
-
+
private:
bool _ok;
uint32_t _requestStatus;
int32_t _totalHitCount;
int32_t _resultSize;
};
-
+
/**
* High-level method that may be used to fetch a document in a
* single method call and save the content to the given file.
diff --git a/fbench/src/util/clientstatus.h b/fbench/src/util/clientstatus.h
index 89589ef75e9..15db42359d8 100644
--- a/fbench/src/util/clientstatus.h
+++ b/fbench/src/util/clientstatus.h
@@ -164,7 +164,7 @@ struct ClientStatus
* @param status The status to insert
**/
void AddRequestStatus(uint32_t status);
-
+
/**
* Merge the info held by 'status' into the info held by this
* struct. Note that the error flag and error messages are ignored. If
diff --git a/fnet/src/vespa/fnet/databuffer.h b/fnet/src/vespa/fnet/databuffer.h
index c9471e00570..3e21678a83f 100644
--- a/fnet/src/vespa/fnet/databuffer.h
+++ b/fnet/src/vespa/fnet/databuffer.h
@@ -661,6 +661,6 @@ public:
Clear();
}
}
-
+
};
diff --git a/fnet/src/vespa/fnet/transport_debugger.h b/fnet/src/vespa/fnet/transport_debugger.h
index 6dc63b7c6f2..bec4beb5b93 100644
--- a/fnet/src/vespa/fnet/transport_debugger.h
+++ b/fnet/src/vespa/fnet/transport_debugger.h
@@ -12,7 +12,7 @@ namespace fnet {
/**
* This class is used to control transport threads during unit
* testing.
- *
+ *
* The TimeTools created by this class should be used when setting up
* all transports used in the test. The supplied TimeTools will make
* sure no thread ever blocks waiting for io-events and also make sure
@@ -25,7 +25,7 @@ namespace fnet {
* default 5ms will make sure 'time passes' and 'stuff happens' at a
* reasonable relative rate). It is important to call detach to
* release the transports before trying to shut them down.
- *
+ *
* Note that both server and client should be controlled by the same
* debugger when testing rpc. Using external services will result in
* (synthetic) time passing too fast compared to stuff actually
diff --git a/metrics/src/vespa/metrics/jsonwriter.h b/metrics/src/vespa/metrics/jsonwriter.h
index 2e27d54d709..e4a2e7ca10b 100644
--- a/metrics/src/vespa/metrics/jsonwriter.h
+++ b/metrics/src/vespa/metrics/jsonwriter.h
@@ -36,7 +36,7 @@ private:
void writeDimensions(const DimensionSet&);
void writeInheritedDimensions();
void writeMetricSpecificDimensions(const Metric&);
-
+
bool isLeafMetric(const Metric& m) const { return !m.isMetricSet(); }
};
diff --git a/metrics/src/vespa/metrics/metric.h b/metrics/src/vespa/metrics/metric.h
index 33a3d9dee23..4e6f70b8786 100644
--- a/metrics/src/vespa/metrics/metric.h
+++ b/metrics/src/vespa/metrics/metric.h
@@ -222,7 +222,7 @@ public:
/** Used by sum metric to alter tag of cloned metric for sum. */
void setTags(Tags tags) {
_tags = std::move(tags);
- assignMangledNameWithDimensions();
+ assignMangledNameWithDimensions();
}
/** Set whether metrics have ever been set. */
diff --git a/vespalib/src/vespa/vespalib/util/execution_profiler.h b/vespalib/src/vespa/vespalib/util/execution_profiler.h
index d69bd5ffa1a..a3fd3ae5f75 100644
--- a/vespalib/src/vespa/vespalib/util/execution_profiler.h
+++ b/vespalib/src/vespa/vespalib/util/execution_profiler.h
@@ -40,7 +40,7 @@ private:
std::vector<vespalib::string> _names;
vespalib::hash_map<vespalib::string,size_t> _name_map;
std::unique_ptr<Impl> _impl;
-
+
public:
ExecutionProfiler(int32_t profile_depth);
~ExecutionProfiler();