search for: xfalse

Displaying 7 results from an estimated 7 matches for "xfalse".

Did you mean: false
2015 Dec 26
2
Proposal for multi location debug info support in LLVM IR
...e like: if (foo) { x = a; } else { x = b; } the IR would have to look like: if.true: %xtrue = ... (a) call token llvm.dbg.value(token undef, %xtrue, !var, !()) br cont if.false: %xfalse = ... (b) call token llvm.dbg.value(token undef, %xfalse, !var, !()) br cont cont: %x = phi [%xtrue, %if.true], [%xfalse, %if.false] call token llvm.dbg.value(token undef, %x, !var, !()) as the live range of the debug value would end at...
2019 Sep 12
1
[libnbd PATCH] nbdsh: Support -u as synonym for --connect
...eta context is requested output=$(nbdkit -U - null --run 'nbdsh \ - --connect "nbd+unix://?socket=$unixsocket" \ + -u "nbd+unix://?socket=$unixsocket" \ -c "print (h.can_meta_context (nbd.CONTEXT_BASE_ALLOCATION))"') if test "x$output" != xFalse; then echo "$0: unexpected output: $output" @@ -30,7 +30,7 @@ fi # With -b (and a server that supports it), meta context works. output=$(nbdkit -U - null --run 'nbdsh \ - -b --connect "nbd+unix://?socket=$unixsocket" \ + -b -u "nbd+unix://?socket=$unixsock...
2019 Sep 12
2
[libnbd PATCH] nbdsh: Add -b option to simplify h.block_status
...nbdsh -b +fail=0 + +# Without -b, no meta context is requested +output=$(nbdkit -U - null --run 'nbdsh \ + --connect "nbd+unix://?socket=$unixsocket" \ + -c "print (h.can_meta_context (nbd.CONTEXT_BASE_ALLOCATION))" </dev/null') +if test "x$output" != xFalse; then + echo "$0: unexpected output: $output" + fail=1 +fi + +# With -b (and a server that supports it), meta context works. +output=$(nbdkit -U - null --run 'nbdsh \ + -b --connect "nbd+unix://?socket=$unixsocket" \ + -c "print (h.can_meta_context (nbd.CONT...
2019 Sep 12
1
[libnbd PATCH v2] nbdsh: Prefer --uri over --connect
...eta context is requested output=$(nbdkit -U - null --run 'nbdsh \ - --connect "nbd+unix://?socket=$unixsocket" \ + -u "nbd+unix://?socket=$unixsocket" \ -c "print (h.can_meta_context (nbd.CONTEXT_BASE_ALLOCATION))"') if test "x$output" != xFalse; then echo "$0: unexpected output: $output" @@ -30,26 +30,26 @@ fi # With --base-allocation (and a server that supports it), meta context works. output=$(nbdkit -U - null --run 'nbdsh \ - --base-allocation --connect "nbd+unix://?socket=$unixsocket" \ - -c &quot...
2022 Nov 04
3
[libnbd PATCH v2 0/3] Improve nbdsh -u handling
v1 was here: https://listman.redhat.com/archives/libguestfs/2022-October/030216.html Since then, I've incorporated changes based on Rich's feedback: swap order of patches 2 and 3 less change in patch 1 (including no unsafe eval(%s) for --uri) in patch 2, include -c in list of snippets to store, and use dict of lambdas to map back to the desired action Eric Blake (3): nbdsh:
2020 Sep 28
2
[libnbd PATCH] nbdsh: Add --opt-mode command line option
...env bash # nbd client library in userspace -# Copyright (C) 2019 Red Hat Inc. +# Copyright (C) 2019-2020 Red Hat Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -31,6 +31,19 @@ if test "x$output" != xFalse; then fail=1 fi +# Use of -c to request context is too late with -u +output=$(nbdkit -U - null --run 'nbdsh -c " +try: + h.add_meta_context(nbd.CONTEXT_BASE_ALLOCATION) + assert(False) +except nbd.Error: + print(\"okay\") +" -u "nbd+unix://?socket=$unixs...
2012 Sep 29
2
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v4)
...+AC_ARG_ENABLE([doc], + AS_HELP_STRING([--disable-doc], [Do not build API documentation]), + [enable_doc=$enableval], [enable_doc=yes] +) + +if test "x$enable_doc" != "xno"; then + AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false) + if test "x$HAVE_DOXYGEN" = "xfalse" -a "x$enable_doc" = "xyes" ; then + AC_MSG_ERROR([*** Doxygen not found. Cannot build API documentation. ***]) + fi +else + HAVE_DOXYGEN=false +fi +AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN) + +AC_OUTPUT([ + Makefile + doc/Doxyfile +]) + +AC_MSG_NOTICE([ +Summary:...