Displaying 20 results from an estimated 51 matches for "_h".
Did you mean:
  _ch
  
2019 Jun 11
3
[nbdkit PATCH 0/2] Few rust plugin fixups/nitpicks
There are few more things that could be cleaned up related to the coding style
and other things, like explicitly specifying the abi style after "extern"
(i.e. `extern "C" fn` instead of `extern fn`), but since those are configurable
in rustfmt config, I'm not sure whether the config needs to be added or
complying with the defaults should be the priority.  But this was just
2003 Sep 10
0
[Ffmpeg-devel] libavcodec/vp3.c compile problem (fwd)
...eg-devel] libavcodec/vp3.c compile problem
Hi!
	Since sourceforge finally caught up (it seemed to be running even
	more behind than usual for a couple days) I was able to try compiling
	the latest version.
	Ran into a problem with vp3.c due to a conflict of the variables
	_A, _B, _C, _D,  _G and _H with defines from the system header 
	<ctype.h>:
vp3.c: In function `vp3_idct_c':
vp3.c:314: syntax error before `0x00000100L'
vp3.c:351: invalid lvalue in assignment
vp3.c:357: invalid lvalue in assignment
vp3.c:363: invalid lvalue in assignment
vp3.c:369: invalid lvalue in assignme...
2013 Mar 13
0
[PATCH 3 of 4] PoC: libxc+ocaml: add interfaces to send triggers to HVM guests
...l(xch, &domctl);
+    if (ret != 0)
+        ERROR("sleep button failed");
+    return ret;
+}
+
 /*
  * Local variables:
  * mode: C
diff -r b279ec057736 -r 03997417771b tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h
+++ b/tools/libxc/xenctrl.h
@@ -638,6 +638,9 @@ int xc_domain_set_hpet(xc_interface *xch
 int xc_domain_set_vpt_align(xc_interface *xch, unsigned int domid, int vpt_align);
 int xc_domain_get_acpi_s_state(xc_interface *xch, unsigned int domid);
 
+int xc_domain_trigger_power(xc_interface *xch, unsigned int domid);
+int xc_domain_trigger_sleep(xc_interface *xch, uns...
2008 Jun 10
5
DO NOT REPLY [Bug 5532] New: rsync / autoconf fails to detect libiconv on Solaris 10
https://bugzilla.samba.org/show_bug.cgi?id=5532
           Summary: rsync / autoconf fails to detect libiconv on Solaris 10
           Product: rsync
           Version: 3.0.2
          Platform: Sparc
        OS/Version: Solaris
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: wayned@samba.org
        ReportedBy:
2020 Aug 06
5
[PATCH nbdkit NOT WORKING 0/2] vddk: Relax threading model.
I believe this roughly implements Nir's proposal here:
https://www.redhat.com/archives/libguestfs/2020-August/msg00028.html
Unfortunately it doesn't work for me.  It actually slows things down
quite a lot, for reasons I don't understand.  Note the adjustment of
the pool-max parameter and how it affects the total time.  The results
are quite reproducible.
$ ./nbdkit -r -U - vddk
2020 Aug 06
0
[PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...+52,7 @@
 #include "isaligned.h"
 #include "minmax.h"
 #include "rounding.h"
+#include "vector.h"
 
 #include "vddk.h"
 #include "vddk-structs.h"
@@ -85,6 +86,7 @@ char *libdir;                              /* libdir */
 static uint16_t nfc_host_port;             /* nfchostport */
 char *password;                            /* password */
 static uint16_t port;                      /* port */
+static unsigned pool_max = 8;              /* pool-max */
 static const char *server_name;            /* server */
 static bool single_link;...
2019 Jun 27
2
Re: [PATCH 3/9] Rust bindings: Add 4 bindings tests
...644 rust/tests/040_create_multiple.rs
> 
> diff --git a/generator/rust.ml b/generator/rust.ml
> index dbe9db010..251eb1594 100644
> --- a/generator/rust.ml
> +++ b/generator/rust.ml
> @@ -37,14 +37,16 @@ let generate_rust () =
>  #[allow(non_camel_case_types)]
>  enum guestfs_h {}
>  
> +#[link(name = \"guestfs\")]
>  extern \"C\" {
>      fn guestfs_create() -> *mut guestfs_h;
>      fn guestfs_create_flags(flags: i64) -> *mut guestfs_h;
>      fn guestfs_close(g: *mut guestfs_h);
> -    static GUESTFS_CREATE_NO_ENVIRONMENT:...
2019 Jun 27
1
Re: [PATCH 3/9] Rust bindings: Add 4 bindings tests
...a/generator/rust.ml b/generator/rust.ml
> > > index dbe9db010..251eb1594 100644
> > > --- a/generator/rust.ml
> > > +++ b/generator/rust.ml
> > > @@ -37,14 +37,16 @@ let generate_rust () =
> > >  #[allow(non_camel_case_types)]
> > >  enum guestfs_h {}
> > >
> > > +#[link(name = \"guestfs\")]
> > >  extern \"C\" {
> > >      fn guestfs_create() -> *mut guestfs_h;
> > >      fn guestfs_create_flags(flags: i64) -> *mut guestfs_h;
> > >      fn guestfs_close(g: *mut g...
2019 Jun 27
0
[PATCH 3/9] Rust bindings: Add 4 bindings tests
...sts/030_create_flags.rs
 create mode 100644 rust/tests/040_create_multiple.rs
diff --git a/generator/rust.ml b/generator/rust.ml
index dbe9db010..251eb1594 100644
--- a/generator/rust.ml
+++ b/generator/rust.ml
@@ -37,14 +37,16 @@ let generate_rust () =
 #[allow(non_camel_case_types)]
 enum guestfs_h {}
 
+#[link(name = \"guestfs\")]
 extern \"C\" {
     fn guestfs_create() -> *mut guestfs_h;
     fn guestfs_create_flags(flags: i64) -> *mut guestfs_h;
     fn guestfs_close(g: *mut guestfs_h);
-    static GUESTFS_CREATE_NO_ENVIRONMENT: i64;
-    static GUESTFS_CREATE_NO...
2020 Aug 06
3
Re: [PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...uot;
>  #include "minmax.h"
>  #include "rounding.h"
> +#include "vector.h"
>
>  #include "vddk.h"
>  #include "vddk-structs.h"
> @@ -85,6 +86,7 @@ char *libdir;                              /* libdir */
>  static uint16_t nfc_host_port;             /* nfchostport */
>  char *password;                            /* password */
>  static uint16_t port;                      /* port */
> +static unsigned pool_max = 8;              /* pool-max */
>  static const char *server_name;            /* server */
>  stat...
2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
Signed-off-by: George Zhang <georgezhang at vmware.com>
---
 drivers/misc/vmw_vmci/vmci_hash_table.c |  329 +++++++++++++++++++++++++++++++
 drivers/misc/vmw_vmci/vmci_hash_table.h |   53 +++++
 2 files changed, 382 insertions(+), 0 deletions(-)
 create mode 100644 drivers/misc/vmw_vmci/vmci_hash_table.c
 create mode 100644 drivers/misc/vmw_vmci/vmci_hash_table.h
diff --git a/drivers/m...
2012 Aug 30
0
[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.
Signed-off-by: George Zhang <georgezhang at vmware.com>
---
 drivers/misc/vmw_vmci/vmci_hash_table.c |  329 +++++++++++++++++++++++++++++++
 drivers/misc/vmw_vmci/vmci_hash_table.h |   53 +++++
 2 files changed, 382 insertions(+), 0 deletions(-)
 create mode 100644 drivers/misc/vmw_vmci/vmci_hash_table.c
 create mode 100644 drivers/misc/vmw_vmci/vmci_hash_table.h
diff --git a/drivers/m...
2019 Jun 27
0
Re: [PATCH 3/9] Rust bindings: Add 4 bindings tests
...gt; >
> > diff --git a/generator/rust.ml b/generator/rust.ml
> > index dbe9db010..251eb1594 100644
> > --- a/generator/rust.ml
> > +++ b/generator/rust.ml
> > @@ -37,14 +37,16 @@ let generate_rust () =
> >  #[allow(non_camel_case_types)]
> >  enum guestfs_h {}
> >
> > +#[link(name = \"guestfs\")]
> >  extern \"C\" {
> >      fn guestfs_create() -> *mut guestfs_h;
> >      fn guestfs_create_flags(flags: i64) -> *mut guestfs_h;
> >      fn guestfs_close(g: *mut guestfs_h);
> > -    stat...
2019 Feb 08
0
[PATCH nbdkit] Add support for writing plugins in Rust.
...AM_CONDITIONAL([HAVE_OCAML],[test "x$OCAMLOPT" != "xno" &&
                              test "x$ocaml_link_shared" = "xyes"])
 
+dnl For developing plugins in Rust, optional.
+AC_CHECK_PROG([CARGO],[cargo],[cargo],[no])
+AC_ARG_ENABLE([rust],
+    [AS_HELP_STRING([--disable-rust], [disable Rust plugin])],
+    [],
+    [enable_rust=yes])
+AM_CONDITIONAL([HAVE_RUST],
+               [test "x$CARGO" != "xno" && test "x$enable_ruby" != "xno"])
+
 dnl Check for Ruby, for embedding in the Ruby plugin.
 AC...
2019 Feb 08
3
[PATCH nbdkit] Add support for writing plugins in Rust.
This adds very rough support for writing nbdkit plugins in Rust.  This
is not very idiomatic -- essentially we're handling the direct C calls
from nbdkit in Rust.  We have to use ‘unsafe’ in a few places because
there's no way to tell the Rust code that nbdkit satisfies guarantees
(eg. around thread safety, always returning leaked pointers back to
the close function, always doing bounds
1997 Jan 07
3
logwatching
If it''s any help, here''s a sed script that is reasonably good at pulling out
suspicious-looking items generated by various daemons.  Fix appropriately...
_H*
==========
# this should match a buncha different stuff
/ [Pp]ermi/b ff
/ PERMI/b ff
/ [Rr]efuse/b ff
/ REFUSE/b ff
/ [Dd]en[yi]/b ff
/ DEN[YI]/b ff
/[Rr]eject/b ff
/REJECT/b ff
/[Bb]ogus/b ff
/[Pp]assw/b ff
/PASSW/b ff
/[Ff]ail[eu]/b ff
/FAIL[EU]/b ff
/[Mm]ismatc/b ff
/ != /b ff
/[Aa]ttack/b ff...
2014 Jan 13
0
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...+  UNICODE_STRING value_name = { val_len, val_len, val };
> +  OBJECT_ATTRIBUTES key_obj;
> +  InitializeObjectAttributes (&key_obj, &key_name,
> +                              OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
> +                              *handle, NULL);
> +  HANDLE key_handle;
> +  NTSTATUS rc;
> +  rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj,
> +                    0, NULL, REG_OPTION_NON_VOLATILE, NULL);
> +  if (!NT_SUCCESS (rc)) {
> +    wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc);
> +    exit(1);
> +  }...
2014 Jan 10
14
[PATCH 1/7] Add a minimal hive with "special" keys and values
...key_len, key_len, key };
+  UNICODE_STRING value_name = { val_len, val_len, val };
+  OBJECT_ATTRIBUTES key_obj;
+  InitializeObjectAttributes (&key_obj, &key_name,
+                              OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
+                              *handle, NULL);
+  HANDLE key_handle;
+  NTSTATUS rc;
+  rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj,
+                    0, NULL, REG_OPTION_NON_VOLATILE, NULL);
+  if (!NT_SUCCESS (rc)) {
+    wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc);
+    exit(1);
+  }
+  DWORD value = 0;
+  rc = ZwSetV...
2010 Sep 11
1
Remaining syntax-check errors
...uestfs-availability.pod' \
src/Makefile.am:2089: 	  -e 's/@AVAILABILITY@//' \
src/Makefile.am:2090: 	  -e '/@STRUCTS@/rguestfs-structs.pod' \
src/Makefile.am:2091: 	  -e 's/@STRUCTS@//' \
maint.mk: use $(...), not @...@
make: *** [sc_makefile_at_at_check] Error 1
prohibit_HAVE_MBRTOWC
0.04 prohibit_HAVE_MBRTOWC
prohibit_S_IS_definition
0.05 prohibit_S_IS_definition
prohibit_always-defined_macros
Can't open stat-macros.h: No such file or directory.
daemon/guestfsd.c:# define O_CLOEXEC 0
src/generator.ml:#define PRId64 \"lld\"
src/generator.ml:#define PRIu...
2014 Jan 14
2
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
...name = { val_len, val_len, val };
> > +  OBJECT_ATTRIBUTES key_obj;
> > +  InitializeObjectAttributes (&key_obj, &key_name,
> > +                              OBJ_OPENIF | OBJ_CASE_INSENSITIVE,
> > +                              *handle, NULL);
> > +  HANDLE key_handle;
> > +  NTSTATUS rc;
> > +  rc = ZwCreateKey (&key_handle, KEY_ALL_ACCESS, &key_obj,
> > +                    0, NULL, REG_OPTION_NON_VOLATILE, NULL);
> > +  if (!NT_SUCCESS (rc)) {
> > +    wprintf(L"error: CreateKey %s: 0x%08x\n", key, rc);
>...