search for: obejct

Displaying 20 results from an estimated 24 matches for "obejct".

2011 Dec 20
2
How do i create an shared obejct file from a dll file
Greetings all I have now for the past 3 days tried to create an .so file from a windows .dll file so far no luck hence my posting here. I need to create the file d3d11.dll.so from d3d11.dll any input would be great. Please ask for any info that might needed. Distro is Debian 32-bit Best regards PS I know that DX11 is not supported (yet) but how do i complete the above task please
2002 May 07
4
Putting obejct into Graph title
Hello all - If I want to put mean value of a matrix into the title or subtitle of a graph, how would I do this? For example, in a set of commands like below, > m.mean<-mean(m) > gplot (m, thresh=m.mean) > title (main="A2. Block Density of Matrix m\nplotted based on MDS", + sub="lines below mean density (**0.435**) suppressed") I want to ask [R] to put the
2009 Jan 23
2
[LLVMdev] Small problem in BitVector.h
Hi, Doing some profiling of llc, I noticed that some bitvector operations took longer than usual. Then I noticed that too many copies of BitVector obejcts are created, even when such operations like &=, ^=, |= are performed on those bit vectors. I looked at the BitVector ADT implementation in BitVector.h and figured out that all assignment operations (except the usual assignment operator) return a copy of the bit vector, instead of a reference!...
2009 Jan 23
0
[LLVMdev] Small problem in BitVector.h
On Jan 23, 1:51 pm, Roman Levenstein <romix.l... at googlemail.com> wrote: > Hi, > > Doing some profiling of llc, I noticed that some bitvector operations > took longer than usual. Then I noticed that too many copies of > BitVector obejcts are created, even when such operations like &=, ^=, > |= are performed on those bit vectors. > > I looked at the BitVector ADT implementation in BitVector.h and > figured out that all assignment operations (except the usual > assignment operator) return a copy of the bit vector,...
2007 Jun 20
1
extending package with function calling an Objective Caml program
...an exact algorithm and returns a provable optimum result. This algorithm has been implemented in Objective Caml and we would like to reuse this code. We wrote an R function that accepts the same input as the original function and provides the same result format. But this function calls the Obejctive Caml executable. This means that if the package is extended with this function the Objective Caml code has to be included as well and one needs to assure that it is compiled the right way if the package is loaded. Unfortunately are we not that familiar with R and could not find correspo...
2018 Dec 13
1
[PATCH v2 2/5] VSOCK: support fill data to mergeable rx buffer in host
...ei.com> > Date: Thu, 13 Dec 2018 11:11:48 +0800 > >> I hope Host can fill fewer bytes into rx virtqueue, so >> I keep structure virtio_vsock_mrg_rxbuf_hdr one byte >> alignment. > > The question is if this actully matters. > > Do you know? > > If the obejct this is embeeded inside of is at least 2 byte aligned, > you are marking it packed for nothing. > > There are only %100 downsides to using the packed attribute. > > Simply define your datastructures properly, with fixed sized types, > and all padding defined explicitly. > &g...
2018 Dec 13
4
[PATCH v2 2/5] VSOCK: support fill data to mergeable rx buffer in host
On 2018/12/13 3:09, David Miller wrote: > From: jiangyiwen <jiangyiwen at huawei.com> > Date: Wed, 12 Dec 2018 17:29:31 +0800 > >> diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h >> index 1d57ed3..2292f30 100644 >> --- a/include/uapi/linux/virtio_vsock.h >> +++ b/include/uapi/linux/virtio_vsock.h >> @@ -63,6 +63,11 @@
2018 Dec 13
4
[PATCH v2 2/5] VSOCK: support fill data to mergeable rx buffer in host
On 2018/12/13 3:09, David Miller wrote: > From: jiangyiwen <jiangyiwen at huawei.com> > Date: Wed, 12 Dec 2018 17:29:31 +0800 > >> diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h >> index 1d57ed3..2292f30 100644 >> --- a/include/uapi/linux/virtio_vsock.h >> +++ b/include/uapi/linux/virtio_vsock.h >> @@ -63,6 +63,11 @@
2011 Mar 24
1
.Fortran successful, R locks up.
...tine "junk": > library.dynam("swat","EcoHydrology") > .Fortran("junk") SWAT2005 Soil & Water Assessment Tool PC Version Program reading from file.cio . . . executing list() > ^C > q("n") ^C > obejcts() ^C > q() ^C > ^Z [1]+ Stopped r DRF28:~/cornell/ecohydrology/swat_example/SJ_R_test_mac/Scenarios/Default/TxtInOut_R dan$ killall R [1]+ Terminated r Output from top during lockup: PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VS...
2007 May 18
0
Branch 'as' - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_native_function.h
...-} - /*** AS CODE ***/ static void diff --git a/libswfdec/swfdec_as_function.h b/libswfdec/swfdec_as_function.h index a6041c4..951911e 100644 --- a/libswfdec/swfdec_as_function.h +++ b/libswfdec/swfdec_as_function.h @@ -38,36 +38,22 @@ typedef struct _SwfdecAsFunctionClass Sw /* FIXME: do two obejcts, one for scripts and one for native? */ struct _SwfdecAsFunction { SwfdecAsObject object; - - /* for native functions */ - SwfdecAsNative native; /* native call or NULL when script */ - guint min_args; /* minimum number of required arguments */ - char * name; /* function name */ - -...
2018 Dec 13
0
[PATCH v2 2/5] VSOCK: support fill data to mergeable rx buffer in host
From: jiangyiwen <jiangyiwen at huawei.com> Date: Thu, 13 Dec 2018 11:11:48 +0800 > I hope Host can fill fewer bytes into rx virtqueue, so > I keep structure virtio_vsock_mrg_rxbuf_hdr one byte > alignment. The question is if this actully matters. Do you know? If the obejct this is embeeded inside of is at least 2 byte aligned, you are marking it packed for nothing. There are only %100 downsides to using the packed attribute. Simply define your datastructures properly, with fixed sized types, and all padding defined explicitly.
2006 Jul 18
2
Using :if with validates_xxx_of
I''m trying to make my validation conditional using the :if construct. If I want to just test for the existence of the field EMAIL, it seems like I could just do: :if => ''! EMAIL.nil?'' or do I have to use a proc? And if I use a proc - what gets passed into the block - I assume the currently validating field - is that right? Thanks, Wes -- Posted via
2007 Jun 08
2
getting the list of indexed words from ferret or aaf
is the list of indexed words readily available via aaf or directly from ferret? -- Posted via http://www.ruby-forum.com/.
2011 Mar 15
2
Pointwise division of two zoo objects?
Just trying to create returns from prices, and do something like: returns.z = tail(prices.z,-1)/head(prices.z,-1) - 1 # should be equivalent to returns = exp(diff(log(prices.z))) - 1 Curiously, I get a zoo object back with zeros everywhere and also with the index having one fewer element than it should. Does anyone know how to pointwise divide zoo objects, and what exactly "/" is
2006 Mar 24
6
Should counter_cache fields be saved in the database?
As far as I can tell, the counter_cache option on a belongs_to model doesn''t actually save anything in the database. For example, I have the following models: class Parent < ActiveRecord::Base has_many :children, :conditions => "deleted_at IS NULL" end class Child < ActiveRecord::Base belongs_to :parent, :counter_cache => true end With the following
2007 Jan 09
3
dimensions of a all objects
Why will the following command not work sapply(objects(),dim) What does it say about the objects list? What does it say about the dim command? Likewise, the following also does not work all<-ls() for (f in all) print(dim(f)) -- Farrel Buchinsky [[alternative HTML version deleted]]
2019 Aug 28
0
Conventions: Use of globals and main functions
...ce) but by structuring it - keeping related things together, hiding unused helpers e.g. by putting them in a function, or an environment, or writing a package. Now, if we put everything into main() we have not solved much. Now instead of 100 objects glattering the global environment we have e.g. 5 obejcts in the global environment and 95 objects in the main()-function environment. (2) Changing global state. A thing that is a little bit related to the global environment is the idea of global state and the problems that arise when changing global state. But the global environment in R is not the sam...
2019 Aug 28
2
Conventions: Use of globals and main functions
>?That beeing said I think the main task of scripts is to get things done via running them end to end in a fresh session. Now, it very well may happen that a lot of stuff has to be done. Than splitting up scripts into subscripts and sourcing them from a meta script is a straightforward solution. It might also be that some functionality is put into functions to be reused in other places. This
2007 Jul 13
0
12 commits - AUTHORS doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h
..._init (SwfdecAsFunctionClass *klass) { diff --git a/libswfdec/swfdec_as_function.h b/libswfdec/swfdec_as_function.h index ab3d203..ae3103a 100644 --- a/libswfdec/swfdec_as_function.h +++ b/libswfdec/swfdec_as_function.h @@ -37,6 +37,7 @@ typedef struct _SwfdecAsFunctionClass Sw /* FIXME: do two obejcts, one for scripts and one for native? */ struct _SwfdecAsFunction { + /*< private >*/ SwfdecAsObject object; }; diff --git a/libswfdec/swfdec_as_native_function.c b/libswfdec/swfdec_as_native_function.c index a7554c1..b5b2f81 100644 --- a/libswfdec/swfdec_as_native_function.c +++ b/li...
2009 Feb 18
5
fields_for and Conflicting types for parameter containers. Expected an instance of Hash but found an instance of Array.
I''m trying to use ''fields_for'' in a form. I want the same form to support both the creation of new obejcts as well as the editing of old ones. So - in my controller, sometimes I will pass to the form an object that already exists in my database and has an id and other times I will pass it a newly created instance of an object that does not yet exist in the database and does not have an id. I want the...