search for: other_args

Displaying 5 results from an estimated 5 matches for "other_args".

2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
...- a/src/app/services/hardware_pool_service.rb +++ b/src/app/services/hardware_pool_service.rb @@ -43,8 +43,8 @@ module HardwarePoolService # +parent_id+ # === Required permissions # [<tt>Privilege::MODIFY</tt>] for the parent pool - def svc_create(pool_hash, other_args) - svc_new(other_args[:parent_id], pool_hash) + def svc_create(pool_hash, parent_id, other_args) + svc_new(parent_id, pool_hash) Pool.transaction do @pool.create_with_parent(@parent) diff --git a/src/app/services/smart_pool_service.rb b/src/app/services/smart_pool_service.rb in...
2004 Oct 13
0
[Bug 1924] New: unable to rsync between a PC with cygwin and a unix machine using rsh
...char *path, int *f_in, int *f_out) { int i, argc = 0; char *args[100]; pid_t ret; char *tok, *dir = NULL; int dash_l_set = 0; /* Start ofc PFC patched section to handle the of the whole command under cygwin rsh ---------------------------------------------------- */ char *other_args[100] ; int other_argc = 0 ; char the_cmd[1024] ; /* End of PFC patched section */ if (!read_batch && !local_server) { char *rsh_env = getenv(RSYNC_RSH_ENV); if (!cmd) cmd = rsh_env; if (!cmd) cmd = RSYNC_RSH; cmd = strdup(cmd); if (!cmd) goto oom; for (tok...
2002 May 25
2
Function objects as arguments of a function
Hello, R users. In C (or C++) language, a function can be used as an argument of another function as follows: // function used as an argument void foo(int x) { ... } // function using a function as an argument void bar(void (*func)(int ), int arg1, int arg2) { .... } // The function 'bar' will be called as follows int main() { .... bar(foo, arg4foo, other_arg);
2019 Apr 12
2
integrate over an infinite region produces wrong results depending on scaling
Dear all, This is the first time I am posting to the r-devel list. On StackOverflow, they suggested that the strange behaviour of integrate() was more bug-like. I am providing a short version of the question (full one with plots: https://stackoverflow.com/q/55639401). Suppose one wants integrate a function that is just a product of two density functions (like gamma). The support of the
2006 Oct 11
0
stubbing/mocking
All, Inspired by a conversation on the mocha list, I added the ability to mix stubs w/ mocks on the same methods. Here''s what it allows: context "a mock" do specify "can stub! and mock the same message" do mock = mock("stubbing mock") mock.stub!(:msg).and_return(:stub_value) mock.should_receive(:msg).with(:arg).and_return(:mock_value)