Displaying 20 results from an estimated 53 matches for "call3".
Did you mean:
call
2023 Aug 30
2
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...--- a/plugins/sh/call.c
+++ b/plugins/sh/call.c
@@ -34,6 +34,7 @@
#include <assert.h>
#include <fcntl.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
@@ -130,6 +131,7 @@ debug_call (const char **argv)
*/
static int
call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
+ bool *pipe_full, /* set if wbuf not fully written */
string *rbuf, /* read from stdout */
string *ebuf, /* read from stderr */
const char **a...
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...,6 +34,7 @@
>
> #include <assert.h>
> #include <fcntl.h>
> +#include <stdbool.h>
> #include <stdio.h>
> #include <stdlib.h>
> #include <inttypes.h>
> @@ -130,6 +131,7 @@ debug_call (const char **argv)
> */
> static int
> call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
> + bool *pipe_full, /* set if wbuf not fully written */
> string *rbuf, /* read from stdout */
> string *ebuf, /* read from stderr */
>...
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...,6 +34,7 @@
>
> #include <assert.h>
> #include <fcntl.h>
> +#include <stdbool.h>
> #include <stdio.h>
> #include <stdlib.h>
> #include <inttypes.h>
> @@ -130,6 +131,7 @@ debug_call (const char **argv)
> */
> static int
> call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
> + bool *pipe_full, /* set if wbuf not fully written */
> string *rbuf, /* read from stdout */
> string *ebuf, /* read from stderr */
>...
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...>
> > #include <fcntl.h>
> > +#include <stdbool.h>
> > #include <stdio.h>
> > #include <stdlib.h>
> > #include <inttypes.h>
> > @@ -130,6 +131,7 @@ debug_call (const char **argv)
> > */
> > static int
> > call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
> > + bool *pipe_full, /* set if wbuf not fully written */
> > string *rbuf, /* read from stdout */
> > string *ebuf, /* read from st...
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...<fcntl.h>
>>> +#include <stdbool.h>
>>> #include <stdio.h>
>>> #include <stdlib.h>
>>> #include <inttypes.h>
>>> @@ -130,6 +131,7 @@ debug_call (const char **argv)
>>> */
>>> static int
>>> call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
>>> + bool *pipe_full, /* set if wbuf not fully written */
>>> string *rbuf, /* read from stdout */
>>> string *ebuf, /* rea...
2023 Aug 31
2
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...;assert.h>
>> #include <fcntl.h>
>> +#include <stdbool.h>
>> #include <stdio.h>
>> #include <stdlib.h>
>> #include <inttypes.h>
>> @@ -130,6 +131,7 @@ debug_call (const char **argv)
>> */
>> static int
>> call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
>> + bool *pipe_full, /* set if wbuf not fully written */
>> string *rbuf, /* read from stdout */
>> string *ebuf, /* read from stder...
2012 Sep 12
3
kernel: dahdi: Master changed to TE2/0/2 --- Is a normal message
I have a server with an asterisk ss7 link connected to a Siemens working
well for over a year.
A few days ago I started having problems with signaling.
I found the following logs in / var / log / messages
Sep 12 11:49:25 call3 kernel: [1018427.030959] dahdi: Master changed to
TE2/0/2
Sep 12 11:49:25 call3 kernel: [1018427.120740] dahdi: Master changed to
TE2/0/1
Sep 12 11:49:26 call3 kernel: [1018427.789173] dahdi: Master changed to
TE2/0/2
Sep 12 11:49:26 call3 kernel: [1018427.884828] dahdi: Master changed to
TE2/0/1
S...
2023 Aug 31
2
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...tl.h>
> >> +#include <stdbool.h>
> >> #include <stdio.h>
> >> #include <stdlib.h>
> >> #include <inttypes.h>
> >> @@ -130,6 +131,7 @@ debug_call (const char **argv)
> >> */
> >> static int
> >> call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
> >> + bool *pipe_full, /* set if wbuf not fully written */
> >> string *rbuf, /* read from stdout */
> >> string *ebuf, /*...
2005 Jun 09
1
single assignment affecting multiple sub-structures (PR#7924)
..., arg[[1]], arg[[1]])
> call1[[3]][[3]] <- 2
> call2[[3]][[3]] <- 2
> call1
f(arg[[1]], arg[[2]], arg[[1]])
> call2
f(arg[[1]], arg[[2]], arg[[1]])
> identical(call1, call2)
[1] TRUE
>
> # The same thing happens when the call is created using 'call()'
> call3 <- call("f", call("[[", as.name("arg"), 1))[c(1,2,2,2)]
> call3
f(arg[[1]], arg[[1]], arg[[1]])
> call3[[3]][[3]] <- 2
> call3
f(arg[[2]], arg[[2]], arg[[2]])
>
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
syst...
2008 Nov 28
1
Priority between calls from different queues
Hi!
I want to know the way that calls are answer in this case...
I have queue1 and queue2, one agent that receive call from both queues.
queue1 <- call1
queue1 <- call2
queue2 <- call3
queue2 <- call4
In my test the agent answer calls in this order: call1,call3,call2 and
call4.
I think this must be in this order call1,call2, call3, call4 like a big
FIFO.
Its ok this behavior?
Could I set priority between queues?
Thanks
-------------- next part --------------
An HTML attachm...
2023 Aug 31
1
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...lude <stdbool.h>
> >>> #include <stdio.h>
> >>> #include <stdlib.h>
> >>> #include <inttypes.h>
> >>> @@ -130,6 +131,7 @@ debug_call (const char **argv)
> >>> */
> >>> static int
> >>> call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
> >>> + bool *pipe_full, /* set if wbuf not fully written */
> >>> string *rbuf, /* read from stdout */
> >>> string *ebuf,...
2023 Aug 31
0
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...>>>> #include <stdio.h>
> >>>> #include <stdlib.h>
> >>>> #include <inttypes.h>
> >>>> @@ -130,6 +131,7 @@ debug_call (const char **argv)
> >>>> */
> >>>> static int
> >>>> call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
> >>>> + bool *pipe_full, /* set if wbuf not fully written */
> >>>> string *rbuf, /* read from stdout */
> >>>> string *ebuf,...
2011 Aug 05
0
[LLVMdev] RFC: Exception Handling Rewrite
...ntil proven doable
> by someone working in an isolated branch -- although proving it works may be difficult,
> since so little code actually uses exceptions (only TableGen in llvm ?).
Peter,
I think this will be done lazily to avoid excessive splitting as in:
Call1 -> LP
Call2 -> LP
Call3 -> LP
=> split Call1
Call1 -> LP-split -> LP-remainder
Call2 -> LP-split-merge -> LP-remainder
Call3 -> LP-split-merge -> LP-remainder
But John will know best.
-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org...
2012 Apr 01
1
[LLVMdev] Create Instruction
Hi!
I've have Instruction in my code:
...
%call6 = call i32 %9(%class.A* %call3, i32 2)
...
And I want to get something like this:
...
%11 = icmp eq i32 (%class.D*, i32)* %10, @_ZThn4_N1D1xEi
br i1 %11, label %12, label %14
; <label>:12 ; preds = %7
%13 = bitcast %class.A* %call3 to %class.D*
%call64 = call i32 @_ZThn4_N1D...
2019 Aug 02
0
[nbdkit PATCH v2 14/17] sh: Use pipe2 with CLOEXEC when possible
...forms, with or without
* modification, are permitted provided that the following conditions are
@@ -32,6 +32,8 @@
#include <config.h>
+#include <assert.h>
+#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
@@ -94,6 +96,27 @@ call3 (const char *wbuf, size_t wbuflen, /* sent to stdin */
*rbuflen = *ebuflen = 0;
rbufalloc = ebufalloc = 0;
+#ifdef HAVE_PIPE2
+ if (pipe2 (in_fd, O_CLOEXEC) == -1) {
+ nbdkit_error ("%s: pipe2: %m", script);
+ goto error;
+ }
+ if (pipe2 (out_fd, O_CLOEXEC) == -1) {
+ n...
2020 Apr 15
0
[PATCH nbdkit 8/9] eval, sh: Set $tmpdir before running the command, instead of globally.
..._error ("setenv: tmpdir=%s: %m", tmpdir);
- exit (EXIT_FAILURE);
- }
nbdkit_debug ("eval: load: tmpdir: %s", tmpdir);
diff --git a/plugins/sh/call.c b/plugins/sh/call.c
index 2d99a120..b0aaf754 100644
--- a/plugins/sh/call.c
+++ b/plugins/sh/call.c
@@ -106,6 +106,7 @@ call3 (const char *wbuf, size_t wbuflen, /* sent to stdin */
const char **argv) /* script + parameters */
{
const char *argv0 = argv[0]; /* script name, used in error messages */
+ CLEANUP_FREE_STRING_LIST char **env = NULL;
pid_t pid = -1;
int status;
int ret = ERROR...
2014 Apr 11
2
[LLVMdev] llvm cse optimization
...ay = getelementptr inbounds [8 x i8]* %t3, i64 0, i64 0
%arraydecay1 = getelementptr inbounds [16 x i8]* %t4, i64 0, i64 0
call void @select_value(i8* %arraydecay, i32 1, i32 1, i8* %call, i8* %arraydecay1, i8* null, i32 1, i32 2, i32 1, i8* bitcast ([2 x i32]* @ng0 to i8*), i32 32, i32 1) #3
%call3 = call i8* @handle_value(i8* %add.ptr, i32 3) #3
; Function Attrs: nounwind readonly
declare i8* @handle_value(i8* nocapture, i32) #1
; Function Attrs: nounwind
declare void @select_value(i8*, i32, i32, i8* nocapture readonly, i8* nocapture readonly, i8*, i32, i32, i32, i8*, i32, i32) #2 //select...
2011 Aug 05
3
[LLVMdev] RFC: Exception Handling Rewrite
Guys,
on second thought...
doesn't making the exception registers live from the InvokeInst to
the LandingpadInst
create problems for critical-edge-splitting ?
if a landingpad-edge is critical and needs to be split, won't we be
creating and inserting
a new BB between the "invoke-block" and the "landingpad-block", and
if we do then
isn't there the
2013 Nov 21
1
[LLVMdev] Problem with labels
...private global i32 0
@.string1 = internal unnamed_addr constant [8 x i8] c"valeur:\00"
define void @find() {
%tmp1 = load i32* @c
store i32 %tmp1, i32* @b
Until2:
%a6 = load i32* @a
%b7 = load i32* @b
%conditionVar5 = icmp slt i32 %a6, %b7
br i1 %conditionVar5, label %EndUntil4, label %Call3
Call3:
call void @diff()
br label %Until2
EndUntil4:
%tmp8 = load i32* @a
store i32 %tmp8, i32* @b
%tmp9 = load i32* @c
store i32 %tmp9, i32* @a
ret void
}
define void @main() {
call void @readInteger(i32* @a)
call void @readInteger(i32* @b)
Until1:
%a5 = load i32* @b
%b6 = or i32 0, 0
%conditionV...
2012 Apr 10
0
[LLVMdev] How to explain this weird phenomenon????????
...w i32 %b, %a
ret i32 %add
}
define i32 @minus(i32 %a, i32 %b) nounwind readnone {
entry:
%sub = sub nsw i32 %a, %b
ret i32 %sub
}
define i32 @main() nounwind {
entry:
%call1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([18 x i8]* @.str, i32 0, i32 0), i32 3) nounwind
%call3 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([20 x i8]* @.str1, i32 0, i32 0), i32 1) nounwind
%puts = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @str, i32 0, i32 0))
ret i32 0
}
declare i32 @printf(i8* nocapture, ...) nounwind
declare i32 @puts(i8* nocaptur...