Displaying 5 results from an estimated 5 matches for "obj_key".
2006 Jun 04
4
Multiple checkboxes
Please could someone suggest what might be wrong here. In my view I''m
displaying a series of check boxes and when the form is submitted I want
the controller to iterate over the values and contatenate them all into
a string "1" if the box was checked and "0" if it wasn''t.
I''m new to Ruby and Rails and I can''t seem to get any values out of
2009 Jul 21
1
[PATCH server] Fixed db-omatic so it doesn't segfault because of newer qmf api.
...ing because there shouldn't be a lot of contention here..
synchronize do
@@ -289,7 +289,7 @@ class DbOmatic < Qpid::Qmf::Console
values[:broker_bank] = obj.object_id.broker_bank
values[:agent_bank] = obj.object_id.agent_bank
values[:obj_key] = obj.object_id.to_s
- values[:class_type] = obj.klass_key[1]
+ values[:class_type] = type
values[:timed_out] = false
values[:synced] = false
@logger.info "New object type #{type}"
@@ -339,9 +339,9 @@ class...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...ell what objects
# are expired when the heartbeat for them stops.
- values[:broker_bank] = obj.object_id.broker_bank
- values[:agent_bank] = obj.object_id.agent_bank
+ values[:agent_key] = obj.object_id.agent_key
values[:obj_key] = obj.object_id.to_s
values[:class_type] = type
values[:timed_out] = false
@@ -370,53 +379,48 @@ class DbOmatic < Qpid::Qmf::Console
end
end
- def object_stats(broker, obj)
- target = obj.schema.klass_key.package
- return if tar...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...,
attach->size);
}
- break;
case OID_TYPE_SSID:{
struct obj_ssid *ssid = r->ptr;
return scnprintf(str, PRIV_STR_SIZE,
"length=%u\noctets=%.*s\n",
ssid->length, ssid->length,
ssid->octets);
}
- break;
case OID_TYPE_KEY:{
struct obj_key *key = r->ptr;
int t, i;
t = scnprintf(str, PRIV_STR_SIZE,
"type=0x%X\nlength=0x%X\nkey=0x",
@@ -867,11 +859,10 @@ mgt_response_to_str(enum oid_num_t n, union oid_res_t *r, char *str)
t += scnprintf(str + t, PRIV_STR_SIZE - t,
"%02X:", key-&...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...,
attach->size);
}
- break;
case OID_TYPE_SSID:{
struct obj_ssid *ssid = r->ptr;
return scnprintf(str, PRIV_STR_SIZE,
"length=%u\noctets=%.*s\n",
ssid->length, ssid->length,
ssid->octets);
}
- break;
case OID_TYPE_KEY:{
struct obj_key *key = r->ptr;
int t, i;
t = scnprintf(str, PRIV_STR_SIZE,
"type=0x%X\nlength=0x%X\nkey=0x",
@@ -867,11 +859,10 @@ mgt_response_to_str(enum oid_num_t n, union oid_res_t *r, char *str)
t += scnprintf(str + t, PRIV_STR_SIZE - t,
"%02X:", key-&...