search for: 193,6

Displaying 20 results from an estimated 139 matches for "193,6".

Did you mean: 293,6
2009 Aug 11
1
readBin() arg check has unnecessary overhead (patch included)
...l" fine, and I don't see that it could produce unexpected behaviour -- though I may, of course, be wrong. Regards, Jon --- R-devel/src/library/base/R/connections.R 2009-08-07 01:52:16.000000000 +0100 +++ R-devel-mod/src/library/base/R/connections.R 2009-08-11 16:22:30.000000000 +0100 @@ -193,6 +193,6 @@ swap <- endian != .Platform$endian if(!is.character(what) || length(what) != 1L - || !(what %in% c("numeric", "double", "integer", "int", "logical", - "complex", "character", &...
2020 Feb 07
1
[PATCH v2] drm/virtio: fix ring free check
...vers/gpu/drm/virtio/virtgpu_vq.c | 3 +++ 4 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index 7e69c06e168e..d278c8c50f39 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h @@ -193,6 +193,7 @@ struct virtio_gpu_device { bool has_virgl_3d; bool has_edid; + bool has_indirect; struct work_struct config_changed_work; diff --git a/drivers/gpu/drm/virtio/virtgpu_debugfs.c b/drivers/gpu/drm/virtio/virtgpu_debugfs.c index 5156e6b279db..e27120d512b0 100644 --- a/drivers/gp...
2013 Jan 16
6
[PATCH V2] mm/slab: add a leak decoder callback
...(*ctor)(void *); + void (*decoder)(void *); int inuse; /* Offset to metadata */ int align; /* Alignment */ int reserved; /* Reserved bytes at the end of slabs */ diff --git a/mm/slab_common.c b/mm/slab_common.c index 3f3cd97..8c19bfd 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -193,6 +193,7 @@ kmem_cache_create_memcg(struct mem_cgroup *memcg, const char *name, size_t size, s->object_size = s->size = size; s->align = calculate_alignment(flags, align, size); s->ctor = ctor; + s->decoder = NULL; if (memcg_register_cache(memcg, s, parent_cache)) {...
2019 Jan 25
0
[klibc:update-dash] builtin: Reset t_wp_op in testcmd
...or.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/bltin/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/dash/bltin/test.c b/usr/dash/bltin/test.c index bab9a1f9..58c05fec 100644 --- a/usr/dash/bltin/test.c +++ b/usr/dash/bltin/test.c @@ -193,6 +193,8 @@ testcmd(int argc, char **argv) argv[argc] = NULL; } + t_wp_op = NULL; + recheck: argv++; argc--;
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Reset t_wp_op in testcmd
...or.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/bltin/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/dash/bltin/test.c b/usr/dash/bltin/test.c index bab9a1f9..58c05fec 100644 --- a/usr/dash/bltin/test.c +++ b/usr/dash/bltin/test.c @@ -193,6 +193,8 @@ testcmd(int argc, char **argv) argv[argc] = NULL; } + t_wp_op = NULL; + recheck: argv++; argc--;
2005 Feb 02
0
Dovecot doesn't call pam_open_session, thus dodging pam_mkhomedir (fwd)
...t; clean up, oh well. This patch closes the session.. but you will see many "opened session\n closed session"-lines on your log files. =) --cut-- --- src/auth/passdb-pam.c-org 2004-10-07 08:38:28.000000000 +0300 +++ src/auth/passdb-pam.c 2004-10-07 08:38:59.000000000 +0300 @@ -193,6 +193,18 @@ return status; } + if ((status = pam_open_session(pamh, 0)) != PAM_SUCCESS) { + *error = t_strdup_printf("pam_open_session(%s) failed: %s", + user, pam_strerror(pamh, status)); +...
2011 Aug 25
0
[PATCH node] Remove libvirt-cim
...ost.ks @@ -168,8 +168,6 @@ cat > /etc/sysconfig/iptables << \EOF -A INPUT -p tcp --dport 54321 -j ACCEPT # libvirt tls -A INPUT -p tcp --dport 16514 -j ACCEPT -# libvirt-cim --A INPUT -p tcp --dport 5989 -j ACCEPT # SSH -A INPUT -p tcp --dport 22 -j ACCEPT # guest consoles @@ -195,8 +193,6 @@ cat > /etc/sysconfig/ip6tables << \EOF -A INPUT -i lo -j ACCEPT # libvirt tls -A INPUT -p tcp --dport 16514 -j ACCEPT -# libvirt-cim --A INPUT -p tcp --dport 5989 -j ACCEPT # SSH -A INPUT -p tcp --dport 22 -j ACCEPT # guest consoles -- 1.7.4.4
2004 Sep 10
2
getting framesize in client
...#define BITRATE_HIST_SEGMENT_MSEC 500 +/* 500ms * 50 = 25s should be enough */ +#define BITRATE_HIST_SIZE 50 +static unsigned bitrate_history[BITRATE_HIST_SIZE]; static unsigned wide_samples_in_reservoir_ = 0; static FLAC__FileDecoder *decoder_ = 0; static file_info_struct file_info_; @@ -188,7 +193,6 @@ void FLAC_XMMS__play_file(char *filename) { FILE *f; - gchar *ret; wide_samples_in_reservoir_ = 0; audio_error_ = false; @@ -219,10 +223,8 @@ return; } - ret = flac_format_song_title(filename); - flac_ip.set_info(ret, file_info_.length_in_msec, file_info_.sample_rate * file_in...
2004 Sep 10
0
getting framesize in client
...#define BITRATE_HIST_SEGMENT_MSEC 500 +/* 500ms * 50 = 25s should be enough */ +#define BITRATE_HIST_SIZE 50 +static unsigned bitrate_history[BITRATE_HIST_SIZE]; static unsigned wide_samples_in_reservoir_ = 0; static FLAC__FileDecoder *decoder_ = 0; static file_info_struct file_info_; @@ -188,7 +193,6 @@ void FLAC_XMMS__play_file(char *filename) { FILE *f; - gchar *ret; wide_samples_in_reservoir_ = 0; audio_error_ = false; @@ -219,10 +223,8 @@ return; } - ret = flac_format_song_title(filename); - flac_ip.set_info(ret, file_info_.length_in_msec, file_info_.sample_rate * file_in...
2019 Aug 02
1
[nbdkit PATCH] server: Restrict thread model when no atomic CLOEXEC
...t;FD_CLOEXEC> if you do not want it accidentally leaked to another +thread's child process. You may also need to provide mutexes for +fields in your connection handle. =back diff --git a/configure.ac b/configure.ac index cabec5c8..054ad64a 100644 --- a/configure.ac +++ b/configure.ac @@ -193,6 +193,7 @@ AC_CHECK_HEADERS([\ dnl Check for functions in libc, all optional. AC_CHECK_FUNCS([\ + accept4 \ fdatasync \ get_current_dir_name \ mkostemp \ diff --git a/common/utils/utils.c b/common/utils/utils.c index 9ac3443b..029b6685 100644 --- a/common/utils/utils.c +++ b/common/utils/...
2010 Apr 12
1
[PATCH] Converter: Update xvc0 console to ttyS0
...my $virtio = $guestos->supports_virtio($kernel); # Configure the rest of the system + _configure_console($g); _configure_display_driver($guestos, $virtio); $guestos->remap_block_devices($devices, $virtio); _configure_kernel_modules($guestos, $desc, $virtio); @@ -193,6 +194,51 @@ sub _configure_kernel_modules } } +# We configure a console on ttyS0. Make sure existing console references use it. +sub _configure_console +{ + my ($g) = @_; + + # Look for gettys which use xvc0 + foreach my $augpath ($g->aug_match("/files/etc/inittab/*/proces...
2014 Nov 12
3
[PATCH v2] virtio_balloon: Convert "vballon" kthread into a workqueue
...ARRAY_SIZE(vb->pfns)); mutex_lock(&vb->balloon_lock); - for (vb->num_pfns = 0; vb->num_pfns < num; + for (vb->num_pfns = 0; vb->num_pfns < limit; vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { page = balloon_page_dequeue(vb_dev_info); if (!page) @@ -193,6 +195,9 @@ static void leak_balloon(struct virtio_balloon *vb, size_t num) */ if (vb->num_pfns != 0) tell_host(vb, vb->deflate_vq); + /* Schedule another call if a bigger change is requested */ + if (vb->num_pfns < num) + queue_work(vb->wq, &vb->wq_work); mutex_unl...
2014 Nov 12
3
[PATCH v2] virtio_balloon: Convert "vballon" kthread into a workqueue
...ARRAY_SIZE(vb->pfns)); mutex_lock(&vb->balloon_lock); - for (vb->num_pfns = 0; vb->num_pfns < num; + for (vb->num_pfns = 0; vb->num_pfns < limit; vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { page = balloon_page_dequeue(vb_dev_info); if (!page) @@ -193,6 +195,9 @@ static void leak_balloon(struct virtio_balloon *vb, size_t num) */ if (vb->num_pfns != 0) tell_host(vb, vb->deflate_vq); + /* Schedule another call if a bigger change is requested */ + if (vb->num_pfns < num) + queue_work(vb->wq, &vb->wq_work); mutex_unl...
2013 Jan 14
5
[PATCH] mm/slab: add a leak decoder callback
...(*ctor)(void *); + void (*decoder)(void *); int inuse; /* Offset to metadata */ int align; /* Alignment */ int reserved; /* Reserved bytes at the end of slabs */ diff --git a/mm/slab_common.c b/mm/slab_common.c index 3f3cd97..39a0fb2 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -193,6 +193,7 @@ kmem_cache_create_memcg(struct mem_cgroup *memcg, const char *name, size_t size, s->object_size = s->size = size; s->align = calculate_alignment(flags, align, size); s->ctor = ctor; + s->decoder = NULL; if (memcg_register_cache(memcg, s, parent_cache)) {...
2017 Sep 15
0
[RFC PATCH 07/29] clk: Hold information about the current cstate status
...clk, struct nvkm_pstate *pstate, int cstatei) struct nvkm_cstate *cstate; int ret; + if (cstatei == NVKM_CLK_CSTATE_DEFAULT) + return 0; + if (!list_empty(&pstate->list)) { cstate = nvkm_cstate_get(clk, pstate, cstatei); cstate = nvkm_cstate_find_best(clk, pstate, cstate); @@ -193,6 +201,7 @@ nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) ret = clk->func->calc(clk, cstate); if (ret == 0) { + clk->cstate = cstate; ret = clk->func->prog(clk); clk->func->tidy(clk); } @@ -295,7 +304,7 @@ nvkm_pstate_prog(struct...
2006 Nov 26
1
Patch for optiups to support Zinto D from ONLINE USV-Systeme AG
....on")) { + if ( testvar(OPTI_ZINTO) ) + { + optiquery( "Ct1" ); + optiquery( "Cu0000000" ); + sleep(2); + return STAT_INSTCMD_HANDLED; + } optiquery( "Ct0" ); optiquery( "Cu00000000" ); return STAT_INSTCMD_HANDLED; @@ -193,6 +224,13 @@ { /* This shuts down the UPS. When the power returns to the UPS, * it will power back up in its default state. */ + if ( testvar(OPTI_ZINTO) ) + { + optiquery( "Ct1" ); + optiquery( "Cu0000010" ); + optiquery( "Cs0000001" ); + return...
2006 Aug 02
0
[PATCH] xenstore-chmod
...nd][0]); + } + } + + do_chmod(path, perms, nperms, upto, recurse, xsh, xth); #endif } @@ -183,6 +271,8 @@ main(int argc, char **argv) int ret = 0, socket = 0; int prefix = 0; int tidy = 0; + int upto = 0; + int recurse = 0; while (1) { int c, index = 0; @@ -193,6 +283,9 @@ main(int argc, char **argv) {"prefix", 0, 0, ''p''}, #elif defined(CLIENT_rm) {"tidy", 0, 0, ''t''}, +#elif defined(CLIENT_chmod) + {"upto", 0, 0, ''u''}, + {"recurse&quot...
2005 Jan 27
1
Dovecot doesn't call pam_open_session, thus dodging pam_mkhomedir
I hit a small snag using Dovecot-imapd smoothly in my environment with maildir and most of my accounts in LDAP. Since the accounts are created through a web interface on another server home directories on the mail server don't get created automatically. There's the handy pam module pam_mkhomedir.so to automagically create home directories, but unfortunatly Dovecot wasn't calling
2015 Jun 17
0
[PATCH v3 03/18] x86/tsc/paravirt: Remove the read_tsc and read_tscp paravirt hooks
...turn err; > } > > -#define rdtscl(low) \ > - ((low) = (u32)native_read_tsc()) > - > -#define rdtscll(val) \ > - ((val) = native_read_tsc()) > - > #define rdpmc(counter, low, high) \ > do { \ > u64 _l = native_read_pmc((counter)); \ > @@ -193,6 +187,14 @@ do { \ > > #define rdpmcl(counter, val) ((val) = native_read_pmc(counter)) > > +#endif /* !CONFIG_PARAVIRT */ > + > +#define rdtscl(low) \ > + ((low) = (u32)native_read_tsc()) > + > +#define rdtscll(val) \ > + ((val) = native_read_tsc(...
2015 Jun 17
0
[PATCH v3 03/18] x86/tsc/paravirt: Remove the read_tsc and read_tscp paravirt hooks
...turn err; > } > > -#define rdtscl(low) \ > - ((low) = (u32)native_read_tsc()) > - > -#define rdtscll(val) \ > - ((val) = native_read_tsc()) > - > #define rdpmc(counter, low, high) \ > do { \ > u64 _l = native_read_pmc((counter)); \ > @@ -193,6 +187,14 @@ do { \ > > #define rdpmcl(counter, val) ((val) = native_read_pmc(counter)) > > +#endif /* !CONFIG_PARAVIRT */ > + > +#define rdtscl(low) \ > + ((low) = (u32)native_read_tsc()) > + > +#define rdtscll(val) \ > + ((val) = native_read_tsc(...