Displaying 4 results from an estimated 4 matches for "_weight".
Did you mean:
weight
2017 Feb 15
1
[PATCH] average: change to declare precision, not factor
...The third argument, the weight reciprocal, determines how the
+ * new values will be weighed vs. the old state, new values will
+ * get weight 1/weight_rcp and old values 1-1/weight_rcp. Note
+ * that this parameter must be a power of two for efficiency.
+ */
-#define DECLARE_EWMA(name, _factor, _weight) \
+#define DECLARE_EWMA(name, _precision, _weight_rcp) \
struct ewma_##name { \
unsigned long internal; \
}; \
static inline void ewma_##name##_init(struct ewma_##name *e) \
{ \
- BUILD_BUG_ON(!__builtin_constant_p(_factor)); \
- BUILD_BUG_ON(!__builtin_co...
2017 Feb 15
1
[PATCH] average: change to declare precision, not factor
...The third argument, the weight reciprocal, determines how the
+ * new values will be weighed vs. the old state, new values will
+ * get weight 1/weight_rcp and old values 1-1/weight_rcp. Note
+ * that this parameter must be a power of two for efficiency.
+ */
-#define DECLARE_EWMA(name, _factor, _weight) \
+#define DECLARE_EWMA(name, _precision, _weight_rcp) \
struct ewma_##name { \
unsigned long internal; \
}; \
static inline void ewma_##name##_init(struct ewma_##name *e) \
{ \
- BUILD_BUG_ON(!__builtin_constant_p(_factor)); \
- BUILD_BUG_ON(!__builtin_co...
2006 May 15
16
Ferret not able to read a Lucene Index?
Hi all,
Having problems trying to get Ferret to read an index generated by
Lucene.
Am I right in thinking Ferret should be able to read a Lucene generated
index no problem?
Using the code snippets detailed in
http://www.ruby-forum.com/topic/64099#new
Any advice gratefully received.
Many Thanks,
Steven
--
Posted via http://www.ruby-forum.com/.
2006 Nov 24
0
Error: (12, ''Cannot allocate memory'')
...;', ''/root/.Xauthority'']], ''on_poweroff'': None,
''bootloader_a
rgs'': None, ''cpus'': None, ''name'': ''Win2k3R2-01'', ''backend'': [], ''vcpus'': 1,
''cpu
_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 768,
''device'': [
(''vbd'', [''vbd'', [''uname'', ''phy:/dev/VolGroup00/LogVol09''], [''dev...