Displaying 6 results from an estimated 6 matches for "state_".
Did you mean:
state
2008 Sep 16
0
[PATCH] Add set_max_wildcard_expansion method to the queryparser.
...pian-core/queryparser/queryparser.lemony
@@ -226,6 +226,10 @@ class State {
Database get_database() const {
return qpi->db;
}
+
+ long get_max_wildcard_expansion() {
+ return qpi->max_wildcard_expansion;
+ }
};
string
@@ -335,6 +339,8 @@ Term::as_wildcarded_query(State * state_) const
Database db = state_->get_database();
vector<Query> subqs;
list<string>::const_iterator piter;
+ long expansion_count = 0;
+ long max = state_->get_max_wildcard_expansion();
for (piter = prefixes.begin(); piter != prefixes.end(); ++piter) {
strin...
2010 Jul 26
2
[PATCH] btrfs: set task state with schedule_timeout_uninterruptible()
worker_loop() uses schedule_timeout() without setting state to
STATE_(UN)INTERRUPTIBLE. As it is called in cycle without checking of
pending signals, use schedule_timeout_uninterruptible().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
---
fs/btrfs/async-thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/async-thr...
2019 May 24
2
Prevent ninja from rerunning cmake in a new build directory
...ere's no need to add
build.ninja to the ninja_log:
diff --git a/src/ninja.cc b/src/ninja.cc
index a093cd1..810b22d 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -249,8 +249,6 @@ bool NinjaMain::RebuildManifest(const char*
input_file, string* err) {
return false;
Builder builder(&state_, config_, &build_log_, &deps_log_, &disk_interface_);
- if (!builder.AddTarget(node, err))
- return false;
if (builder.AlreadyUpToDate())
return false; // Not an error, but we didn't rebuild.
hth...
don
-------------- next part --------------
An HTML attachment was s...
2005 May 12
4
shorewall startup speed - an idea
Dear All,
I think I have a useful idea for how shorewall startup could be speeded
up in a more automatic manner. Apologies if this is daft, but I think it
might work....
Motivation: not all users understand the intricacies of shoreall beyond
using the distro setup tool. [And on this particular laptop, shorewall
takes 15 seconds during boot.]
I have already read this (about shorewall
2011 Jul 02
2
Associating a statefile with an image
Hi ,
I am trying to perform offline migration (i.e) Create an incremental image using the qcow format, transfer the vm memory state to a state fie.Use the image and statefile together as a template. Now create a new vm using the template. I can successfully do it using the following commands :
Save phase :
stop
migrate "exec:gzip -c > STATEFILE.gz"
qemu-img
qemu-img create -b
2020 Feb 04
0
Always Be Conferencing v16e - pure AEL-based dial plan solution
...Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/gps/elv)=${elv_});
}
if( ${LEN(${url_})} > 0 ) {
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/gps/url)=${url_});
}
return;
}
/* PUBLIC */
/* The "sa" macro is to add the street address. */
macro pngnpbx-abc-sa(street_,city_,state_,zip_) {
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/dloc/street)=${street_});
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/dloc/city)=${city_});
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/dloc/state)=${state_});
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/dloc/zip)=${zip_});
return;
}
/* PUBLI...