Displaying 20 results from an estimated 29 matches for "is_".
Did you mean:
is
2020 Feb 10
2
Re: [libnbd PATCH 1/1] generator: Add support for NBD_INFO_INIT_STATE extension
The idea and patch is fine, but I wonder if it would be more useful to
callers if it was exposed as two separate APIs. Callers would then
not need to deal with masking out unknown flags, and it works more
like the other is_* / can_* ("flag calls") we already have.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over t...
2006 Feb 10
12
Accessing ''many'' variables
Hi,
I have a class called Outlet which has_many Jacks. Apart from internal
id, each jack is unique by the attribute ''color''.
I''d like to iterate through each Outlet, and be able to output data
for a Jack of a certain color.
Say, I want to access the orange jack for the current outlet:
<td><%=h outlet.jack.color[''O''].ip_address
2016 Nov 22
2
shared libraries: missing soname
Dirk,
Dirk Eddelbuettel <edd at debian.org> writes:
> On 20 November 2016 at 21:49, Joseph Mingrone wrote:
> | Hello Dirk,
> |
> | Dirk Eddelbuettel <edd at debian.org> writes:
> |
> | > On 20 November 2016 at 19:28, Joseph Mingrone wrote:
> | > | Hello,
> | > |
> | > | R's shared libraries are linked without setting the soname. This is
2020 Feb 10
0
Re: [libnbd PATCH 1/1] generator: Add support for NBD_INFO_INIT_STATE extension
On 2/10/20 4:24 PM, Richard W.M. Jones wrote:
>
> The idea and patch is fine, but I wonder if it would be more useful to
> callers if it was exposed as two separate APIs. Callers would then
> not need to deal with masking out unknown flags, and it works more
> like the other is_* / can_* ("flag calls") we already have.
Fair point, especially since I exposed it in nbdkit as two callbacks for
setting the bits. Naming suggestions? Maybe nbd_is_init_sparse and
nbd_is_init_zero ?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226...
2004 Jan 08
0
Implementing rsync hard-link improvements
...save the overhead of a separate malloc. And you
can just set jw's pointer to point to that co-allocated area as
a compromise. :)
>> If you wanted i suppose you could make rdev, link and sum a
>> union within file_struct since they are mutually exclusive
>> and dependent on IS_*(mode). That would squeeze another 8
>> bytes/file with a minimal impact on the code.
>
> Sounds like a nice idea to check into.
Definitely. With the various 'bug reports' about rsync running
out of memory and with the size of filesystems these days, every
little bit of per-...
2016 Nov 22
0
shared libraries: missing soname
...t; libraries itself (via dlopen(3) etc).
| > |
| > | R may use dlopen() but other customers may not.
|
| > Yes, well, but are there other customers?
|
| Yes. Here is one example. https://rkward.kde.org/
Really? We had that eg in Debian too for a decade plus and it works just
fine _as is_ and finds its libraries. Without requiring a change.
It (AFAIK) just embeds R "as is" (as does my much smaller RInside).
edd at bud:~$ ldd /usr/bin/rkward | grep R # no R libs known to ldd
edd at bud:~$ ldd /usr/bin/rkward | wc -l # lots other shared libraries
40
edd...
2014 Sep 25
2
Patch to improve malformed vorbiscomment handling
...k, unsigned block_length);
static FLAC__Metadata_SimpleIteratorStatus read_metadata_block_data_seektable_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_SeekTable *block, unsigned block_length);
static FLAC__Metadata_SimpleIteratorStatus read_metadata_block_data_vorbis_comment_entry_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_VorbisComment_Entry *entry);
-static FLAC__Metadata_SimpleIteratorStatus read_metadata_block_data_vorbis_comment_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_VorbisComment *...
2019 Mar 14
3
RFC: ELF Autolinking
...nstead implement it with a new .note section that other linkers and
> old versions of LLD will know to ignore.
>
> On top of that, the generic ABI group has previously rejected proposals to
> embed linker options in object files (
> https://groups.google.com/forum/#!topic/generic-abi/iS_-m-X5ZwQ).
>
> Given how ELF has done things in the past, maybe the section name should
> be ".note.autolink". We could also be like GCC and namespace our extensions
> as ".note.LLVM.autolink", but maybe that's a step too far.
>
A .note section consists of a s...
2006 Mar 20
16
logic inside a view file
I am quite certain I have heard it said not to put business logic inside
view code but I have a report that I want to display 3 different
possibilities of text based upon the value of a column. Would I just
take the same type of if/then logic that I would use in a controller and
put it inside erb <%= %> stuff?
Craig
2006 Sep 11
15
ruby method names
...ly
a_frame.title = ''The title'' # now an alternative
textctrl.get_value # currently
textctrl.value # now an alternative
Also, C++ methods named ''IsXXX'' are now exposed in ruby with the
alternative name ''xxx?'', eg
tree_item_id.is_ok # currently
tree_item_id.ok? # now an alternative
a_checkbox.is_checked
a_checkbox.checked?
Note these are simply aliases - existing code can remain unchanged. I
think this would do a lot to make the API feel more ruby-like (or
pythonesque - WxPython follows this style) - but is pret...
2013 Jun 05
0
[LLVMdev] Enabling the vectorizer for -Os
On 5 June 2013 11:59, David Tweed <david.tweed at arm.com> wrote:
> (I've very rarely had O3 optimzation, rather than some program specific
> subset of the options, acheive any non-noise-level speed-up over O2 with
> gcc/g++.)
>
Hi David,
You surely remember this:
http://plasma.cs.umass.edu/emery/stabilizer
"We find that, while -O2 has a significant impact relative
2019 May 27
0
[ANNOUNCE] iptables 1.8.3 release
...nftables comments
extensions: libipt_realm: Document allowed realm values
extensions: TRACE: Point at xtables-monitor in documentation
nft: Simplify nftnl_rule_list_chain_save()
nft: Review unclear return points
xtables-restore: Review chain handling
nft: Review is_*_compatible() routines
nft: Reduce __nft_rule_del() signature
nft: Reduce indenting level in flush_chain_cache()
nft: Simplify per table chain cache update
nft: Simplify nft_rule_insert() a bit
nft: Introduce fetch_chain_cache()
nft: Move nft_rule_list_get() abov...
2014 Sep 26
0
Patch to improve malformed vorbiscomment handling
...k, unsigned block_length);
static FLAC__Metadata_SimpleIteratorStatus read_metadata_block_data_seektable_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_SeekTable *block, unsigned block_length);
-static FLAC__Metadata_SimpleIteratorStatus read_metadata_block_data_vorbis_comment_entry_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_VorbisComment_Entry *entry);
-static FLAC__Metadata_SimpleIteratorStatus read_metadata_block_data_vorbis_comment_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_VorbisComment *...
2016 Nov 22
2
shared libraries: missing soname
...> | > |
> | > | R may use dlopen() but other customers may not.
> |
> | > Yes, well, but are there other customers?
> |
> | Yes. Here is one example. https://rkward.kde.org/
> Really? We had that eg in Debian too for a decade plus and it works just
> fine _as is_ and finds its libraries. Without requiring a change.
These are also not fatal errors on FreeBSD, where everything, for now, also just
works. ...until a library's interface changes. You seem to be arguing that
sonmaes are pointless. We disagree.
> It (AFAIK) just embeds R "as is&quo...
2014 Jun 13
3
[PATCH 0/2] sparsify: Add --tmp option to allow specifying temporary directory or block device.
The first patch is just some simple refactoring. See the second patch
for a description of the new virt-sparsify --tmp option.
I tested this using a loopback device as my temporary block device,
and it seems to work fine for me.
Federico .. this needs a BZ :-)
Rich.
2008 May 08
6
DO NOT REPLY [Bug 5448] New: rsync modifies files in place even without --inplace specified
https://bugzilla.samba.org/show_bug.cgi?id=5448
Summary: rsync modifies files in place even without --inplace
specified
Product: rsync
Version: 3.0.2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2013 Aug 06
7
Puppet first run timing out
...defined content as ''{md5}75fd86c01d5b1e50be1bc8b22d3d0a61''
> Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/prefix.rb]/ensure: defined content as ''{md5}6a2d86233c9435afc1738f60a0c34576''
> Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/is_integer.rb]/ensure: defined content as ''{md5}6520458000b349f1c7ba7c9ed382ae0b''
> Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/swapcase.rb]/ensure: defined content as ''{md5}4902f38f0b9292afec66d40fee4b02ec''
> Notice: /File[/var/lib/puppet/lib/pup...
2011 Sep 22
8
Export variables into other classes
Hi all
I have been pondering this for a while, but not yet seen a clean way
to do it
I have a few puppet classes (apache/ntp/mysql/bacula/nagios/etc)
I would like to generate part of my bacula and nagios configs for each
host based on which other classes that host belongs to (or to put it
another way, I would like to export variables from classes which would
be used by my bacula and nagios
2006 Dec 03
0
[778] trunk/wxruby2: Remove broken and deprecated LayoutConstraints, update samples & docs
...trains this edge or dimension to be the given absolute value.
-
-h3(#IndividualLayoutConstraint_asis). IndividualLayoutConstraint#as_is
-
- *as_is*()
-
-Sets this edge or constraint to be whatever the window''s value is
-at the moment. If either of the width and height constraints
-are _as is_, the window will not be resized, but moved instead.
-This is important when considering panel items which are intended
-to have a default size, such as a button, which may take its size
-from the size of the button label.
-
-h3(#IndividualLayoutConstraint_below). IndividualLayoutConstraint#below
-...
2016 Dec 14
4
[PATCH 0/4] sysprep: Remove various backup files.
https://bugzilla.redhat.com/show_bug.cgi?id=1401320
This series contains two new operations.
The second -- and least controversial -- is "passwd-backups" which
removes files such as /etc/passwd-, /etc/shadow- and so on.
The first one ("backup-files") searches the whole guest filesystem for
any regular file which looks like an editor backup file, such as "*~"
and