Displaying 4 results from an estimated 4 matches for "cur_value".
Did you mean:
cum_value
2007 Sep 05
4
a piece of code in dtrace pseudo device
Dear all:
In dtrace.c, function dtrace_probe_create(), there''re a piece of code:
id = (dtrace_id_t)(uintptr_t)vmem_alloc(dtrace_arena, 1,
VM_BESTFIT | VM_SLEEP);
id is uint32_t, and I think id is used as an index to array dtrace_probes[]
but why not just use id = cur_value + 1, cur_value is a global variable to
record the lastest id?
Is this a trick? for what?
Thanks :)
Regards,
TJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20070905/8f620906/attachment.html>...
2019 Jan 02
1
Solr
In the code, it says
#define SOLR_HEADER_MAX_SIZE (1024*1024)
and line 620
if (!ctx->truncate_header &&
str_len(ctx->cur_value) >= SOLR_HEADER_MAX_SIZE) {
/* a large header */
so this is a 1Mo header. This is of course completely wrong.
Maybe this is not the root cause of the errors of fts_solr, but maybe
this will help
On 2019-01-02 18:00, Joan Moreau via dovecot wrote:
> Another bug appearing today:
>
&...
2019 Jan 02
3
Solr
Refinement of the schema.xml (below)
THis however does not solve the "no results" and "Out of range" errors
in Dovecot and Solr
<?xml version="1.0" encoding="UTF-8"?>
<schema name="dovecot" version="2.0">
<uniqueKey>id</uniqueKey>
<fieldType name="booleans" class="solr.BoolField"
2007 Mar 26
3
[PATCH] pciback: restore PCI BARs on D3->D0 transition
...ility_pm.c
--- a/linux-2.6-xen-sparse/drivers/xen/pciback/conf_space_capability_pm.c Mon Mar 26 10:10:31 2007 -0600
+++ b/linux-2.6-xen-sparse/drivers/xen/pciback/conf_space_capability_pm.c Mon Mar 26 13:13:23 2007 -0600
@@ -33,7 +33,7 @@ static int pm_ctrl_write(struct pci_dev
{
int err;
u16 cur_value;
- pci_power_t new_state;
+ pci_power_t new_state, old_state;
/* Handle setting power state separately */
new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK);
@@ -52,9 +52,20 @@ static int pm_ctrl_write(struct pci_dev
/* Let pci core handle the power management change */...