search for: sobject

Displaying 4 results from an estimated 4 matches for "sobject".

Did you mean: object
2006 Mar 30
1
Writing character vectors with embedded nulls to a connection
Is this possible? I've tried both writeChar() and writeBin() to no avail. My goal is to serialize(ascii=FALSE) an object to a connection but determine the size of the serialized object before hand: sobject <- serialize(object,NULL,ascii=FALSE) len <- nchar(sobject) # # run some code here to notify listener on other end of connection # how many bytes I'm getting ready to send # writeChar(sobject,con) The other option is to serialize twice: len <- nchar(serialize(object,NULL,ascii=FALSE)...
2012 Jul 07
5
Feature request
Hi, I am implementig Dovecot as a part of my new e-mail server, which is aimed to be replacement for proprietary software I've been using sofar. Appreciating all Dovecot rich features, I lack just one. And this is the ability to customize the "quota exceeded, message rejected" message. I know I can set it's default content using quota_exceeded_message parameter, but i would
2008 Feb 12
1
measuring sleep time in synchronization objects
...program along with this script, I could see (because of ustack()) that the program is following the expected path to sem_wait() call and then enters cv_block:sleep. The aggregation output showed that the threads in my program are sleeping on pr_stype = 3 (translates to SOBJ_CV according to the file sobject.h). However, I was expecting to see the threads sleeping on pr_stype = 5 (SOBJ_USER) as a result of sem_wait() calls, because the description of pr_stype field in struct lwpsinfo_t says that (and I quote from chapter 25 of the DTrace guide): The pr_stype field is set when the thread is sleeping...
2002 Jul 26
0
manipulating the result of by()
Hi. I have the following problem. I use by() to compute a table of observed and expected counts of a variable (eg sobjects who belong to a smoking category) within combination of 4 factors (age class, education, sex, region) for a total 4*3*2*5 tables. I get a list of length 120 and dim 4. Noww I want to sum the tables within the level of one of the grouping variables, eg age class. How can I do? Here is an example...