search for: unit

Displaying 20 results from an estimated 18053 matches for "unit".

Did you mean: init
2006 Sep 15
3
Crashes and tests failures again with 0.10.4
.../ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:351: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i686-linux] The tests run fine on Linux, on OS X testall crashes with a segfault on test_index and several of the Ruby tests fail: 1) Failure: test_sorts(SearchAndSortTest) [./test/unit/../unit/analysis/../../unit/index/../../unit/query_parser/../../unit/search/tc_search_and_sort.rb:40:in `do_test_top_docs'' ./test/unit/../unit/analysis/../../unit/index/../../unit/query_parser/../../unit/search/tc_search_and_sort.rb:39:in `do_test_top_docs'' ./test/unit...
2006 Aug 15
8
Ferret 0.10 series
Hi David, >> Otherwise I''m fully committed to getting 0.10 out. >> When it is out, I''d recommend getting it into your >> development app as soon as you can. Any idea of timeframe to a 0.10 alpha release? Kind Regards Neville
2006 Mar 10
2
adding to has_many on create and edit
...ion I hope can be solved elegantly (so many things are, so why not this one too?). I have a working solution, but I want to be sure I am doing things the "rails way" (having come from PHP). You could say I am looking for a little validation (no flames please). I have a table of units like so: CREATE TABLE `units` ( `id` int(11) NOT NULL auto_increment, `number` varchar(255) NOT NULL default '''', `description` text NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM; that has_many :prices like so: CREATE TABLE `prices` ( `id` int(11) NOT NULL auto_inc...
2009 Sep 24
1
unexpected behavior of `[<-` method for class unit.arithmetic
Dear list, Consider the following, library(grid) w = unit.c(unit(1, "in"), unit(2, "in")) w2 = w + unit(1, "mm") w[2] <- 0 w2[2] <- 0 convertUnit(w, "mm") #[1] 25.4mm 0mm convertUnit(w2, "mm") #Error in grid.Call("L_convert", x, as.integer(whatfrom), as.integer(whatto), : # INTEGER() ca...
2007 Mar 08
2
Test fail on debian 3.1
I have a problem, I use utf all over a rails site, but the search failes to search characters with acccents... I try to debug it, and i had run unit tests for ferret, can those failures cose problems? <pre> /usr/lib/ruby/gems/1.8/gems/ferret-0.11.3/test/ ruby test_all.rb Loading once Loaded suite test_all Started ................F.............................................FF.................................................................
2016 Feb 23
0
[PATCH 1/4] generator: Add interfaces to all modules.
...* GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + *) + +val generate_bindtests : unit -> unit +val generate_erlang_bindtests : unit -> unit +val generate_golang_bindtests : unit -> unit +val generate_gobject_js_bindtests : unit -> unit +val generate_haskell_bindtests : unit -> unit +val generate_java_bindtests : unit -> unit +val generate_lua_bindtests : unit ->...
2016 Jul 15
1
NPIV storage pools do not map to same LUN units across hosts.
...uration change to use vHBA LUN There is a NPIV storage pool defined on two hosts and pool contains a total of 8 volumes, allocated from a storage device. Source: # virsh vol-list poolvhba0 Name Path ------------------------------------------------------------------------------ unit:0:0:0 /dev/disk/by-id/wwn-0x6005076802818bda3000000000000366 unit:0:0:1 /dev/disk/by-id/wwn-0x6005076802818bda3000000000000367 unit:0:0:2 /dev/disk/by-id/wwn-0x6005076802818bda3000000000000368 unit:0:0:3 /dev/disk/by-id/wwn-0x6005076802818bda30000000000003...
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University
2008 Jun 25
1
expression, strsplit, ...
DeaR list, I'm a bit lost in the behavior of substitute and co. I often use fairly long axis labels in my graphs (long to write, that is). Typically, they would contain some greek letters and units with exponents, as in: > xlab=expression(paste("text ", alpha, " / ", V,".", m^{-3}, ".", > kg^{-2}, ".", l^{4})) To make this a bit prettier, I've attempted to mimic the behavior of the SIstyle latex package which defines a mac...
2016 Feb 23
7
[PATCH 0/4] Various tweaks to the generator.
Use interfaces files (*.mli files) instead of exporting all symbols randomly. Change the 'file is generated' warnings at the top of generated files so they accurately describe which source file generates each output file. Rich.
2018 Jul 24
2
[DWARF] De-segregating type units and compile units
Hello DWARF fans, I've just posted a set of four refactoring patches for DebugInfo/DWARF, which move in the direction of handling DWARF v4 or v5 type units and compile units more coherently. In DWARF v4, type units and compile units are strictly segregated into the .debug_types and .debug_info sections, respectively. This division was pretty ingrained into how DebugInfo/DWARF handled the units. In DWARF v5, type units and compile units are all in...
2013 Nov 26
2
[LLVMdev] llvm-dwarfdump offsets
llvm-dwarfdump currently outputs the offset of each DIE relative to the entire debug_info section. But type/DIE references within a unit are relative to that unit. Should we emit unit-relative offsets instead? I've prototyped this and end up with output something like this: 0x00000051: DW_TAG_base_type [24] DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000051] = "int") DW_AT_enco...
2011 Dec 13
2
Generating input population for microsimulation
Hi all, I've been struggling with some code and was wondering if you all could help. I am trying to generate a theoretical population of P people who are housed within X different units. Each unit follows the same structure- 10 people per unit, 8 of whom are junior and two of whom are senior. I'd like to create a unit ID and a unique identifier for each person (person ID, PID) in the population so that I have a matrix that looks like: ???? unit_id pid senior ? [1,]????? 1??...
2010 Jun 13
5
Count of unique factors within another factor
I have a data frame with two factors (sampling 'unit', 'species'). I want to calculate the number of unique 'species' per 'unit.' I can calculate the number of unique values for each variable separately, but can't get a count for each ?unit?. > data=read.csv("C:/Desktop/sr_sort_practice.csv") > attach(...
2011 Oct 18
2
Detect and replace omitted data
I am analyzing the spatial distribution of fish in a stream. The stream is divided into equally sized units, and the number of fish in each unit is counted. My problem is that my dataset is missing rows where the count in a unit equals zero. I need to create zero data for the missing units. For example: day<-(c(rep(4,8),rep(6,8))) unit<-c(seq(1,8,1),seq(2,16,2)) value<-floor(rnorm(16,25,10)) x...
2008 Apr 23
3
[LLVMdev] Compile units in debugging intrinsics / globals
I have a question about the llvm debugging records, especially wrt compile units. In the non-LLVM sense, a compile unit is essentially everything contained within a single .o file, and it is derived from one or more source and header files. Included in a compile unit are functions and global data. Dwarf records refer to compile units in the same way: a compile unit record ha...
2009 Mar 21
1
Forestplot () box size question
...rial). The function is forestplot() from rmeta. Thanks for any help. Gerard Slightly modified working function with data and a call follows: fplot=function (labeltext, mean, lower, upper, align = NULL, is.summary = FALSE, clip = c(-Inf, Inf), xlab = "", zero = 1, graphwidth = unit(3,"inches"), col = meta.colors(), xlog = FALSE, xticks = NULL, xlow=0, xhigh, digitsize, ...) { require("grid") || stop("`grid' package not found") require("rmeta") || stop("`rmeta' package not found") drawNor...
2010 Oct 20
1
need for speed on grid.rect
...ow compared to a single colour grid, or even a two colour grid. I've set out some simplified examples below. This is something I run literally thousands of times a day, so I would greatly appreciate any hints on how I might improve the speed??? library(grid) pushViewport(viewport( width = unit(100, "native"), height = unit(100, "native"), xscale = c(0, 100), yscale = c(0, 100), )) pushViewport(viewport( x = unit(10, "native"), y = unit(10, "native"), width = unit(100, "native"), height = unit(200, "nat...
2011 Oct 03
3
Best method to add unit information to dataframe ?
Dear all, I'd like to have a dataframe store information about the units of the data it contains. You'll find below a minimal exemple of the way I do, so far. I add a "units" attribute to the dataframe. But I dont' like the long syntax needed to access to the unit of a given variable (namely, something like : var_unit <- attr(my_frame, &quot...
2004 Jan 26
1
Re: win32-service ideas
>From: Shashank Date <sdate@everestkc.net> >To: Daniel Berger <djberg96@hotmail.com>, phasis@nownuri.net >CC: win32utils-devel@rubyforge.org >Subject: Re: win32-service ideas >Date: Sun, 25 Jan 2004 10:49:03 -0600 > >Dan, Park, > > > Still nothing. The svc.log file never gets created. It''s definitely > > choking on the StartService() call.