search for: 106,23

Displaying 8 results from an estimated 8 matches for "106,23".

2019 Nov 05
0
[klibc:master] losetup: Delete fallbacks to LOOP_{GET, SET}_STATUS
..._rdevice != info64->lo_rdevice || - info->lo_inode != info64->lo_inode || - info->lo_offset != info64->lo_offset) - return -EOVERFLOW; - - return 0; -} - - static int show_loop(char *device) { - struct loop_info loopinfo; struct loop_info64 loopinfo64; int fd, errsv; @@ -106,23 +75,6 @@ static int show_loop(char *device) return 0; } - if (ioctl(fd, LOOP_GET_STATUS, &loopinfo) == 0) { - printf ("%s: [%04x]:%ld (%s)", - device, loopinfo.lo_device, loopinfo.lo_inode, - loopinfo.lo_name); - - if (loopinfo.lo_offset) - printf(", offset %d&q...
2004 Aug 06
2
patch for libspeex
.../*Finds the indices of the n-best entries in a codebook with sign*/ void vq_nbest_sign(float *in, float *codebook, int len, int entries, float *E, int N, int *nbest, float *best_dist) { - int i,j,k, sign; + int i,j,k, sign, used; for (i=0;i<entries;i++) { float dist=0; @@ -106,23 +100,16 @@ dist += .5*E[i]; if (i<N || dist<best_dist[N-1]) { - - for (j=0;j<N;j++) + for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) { - if (j >= i || dist < best_dist[j]) - {...
2007 Dec 12
5
[PATCH 0/6] paravirt patches - the non-integration part
Hi, This series corresponds do older patches in the paravirt series that was neither already applied, nor I will touch again. In general, they do not touch code that can be unified (at least, without being the unification a big problem on its own). They passed through this list a lot of times, so I feel them ready for inclusion, unless someone opposes. As with the other patches, they apply to
2007 Dec 12
5
[PATCH 0/6] paravirt patches - the non-integration part
Hi, This series corresponds do older patches in the paravirt series that was neither already applied, nor I will touch again. In general, they do not touch code that can be unified (at least, without being the unification a big problem on its own). They passed through this list a lot of times, so I feel them ready for inclusion, unless someone opposes. As with the other patches, they apply to
2018 Aug 23
0
[PATCH v2 2/2] OCaml tools: add output selection for --machine-readable
...he output; +see L<guestfs(3)/ADVANCED MACHINE READABLE OUTPUT>. + =head1 NOTES =head2 "Partition 1 does not end on cylinder boundary." diff --git a/sparsify/cmdline.ml b/sparsify/cmdline.ml index b0af053ac..4ef43a505 100644 --- a/sparsify/cmdline.ml +++ b/sparsify/cmdline.ml @@ -106,21 +106,23 @@ read the man page virt-sparsify(1). (* No arguments and machine-readable mode? Print out some facts * about what this binary supports. *) - if disks = [] && machine_readable () then ( - printf "virt-sparsify\n"; - printf "linux-swap\n"; -...
2018 Aug 23
3
[PATCH v2 0/2] add output selection for --machine-readable
Hi, this adds the possibility to select the output for --machine-readable in OCaml tools. The possible choices are: * --machine-readable: to stdout, like before * --machine-readable=file:name-of-file: to the specified file * --machine-readable=stream:stdout: explicitly to stdout * --machine-readable=stream:stderr: explicitly to stderr This makes it possible to add additional output for
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...47,10 @@ ctrl_set_standard(struct drx_demod_instance *demod, enum drx_standard *standard) } break; default: ext_attr->standard = DRX_STANDARD_UNKNOWN; return -EINVAL; - break; } return 0; rw_error: /* Don't know what the standard is now ... try again */ @@ -11072,11 +11067,10 @@ ctrl_power_mode(struct drx_demod_instance *demod, enum drx_power_mode *mode) sio_cc_pwd_mode = SIO_CC_PWD_MODE_LEVEL_OSC; break; default: /* Unknow sleep mode */ return -EINVAL; - break; } /* Check if device needs to be powered up */ if ((common_attr->current_power_...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...47,10 @@ ctrl_set_standard(struct drx_demod_instance *demod, enum drx_standard *standard) } break; default: ext_attr->standard = DRX_STANDARD_UNKNOWN; return -EINVAL; - break; } return 0; rw_error: /* Don't know what the standard is now ... try again */ @@ -11072,11 +11067,10 @@ ctrl_power_mode(struct drx_demod_instance *demod, enum drx_power_mode *mode) sio_cc_pwd_mode = SIO_CC_PWD_MODE_LEVEL_OSC; break; default: /* Unknow sleep mode */ return -EINVAL; - break; } /* Check if device needs to be powered up */ if ((common_attr->current_power_...