search for: setvalu

Displaying 20 results from an estimated 120 matches for "setvalu".

Did you mean: setvalue
2006 Sep 06
2
Getting subframe type=verbatim on 16 bit files
...e_rate=8000 channels=1 channel_assignment=INDEPENDENT subframe=0 wasted_bits=0 type=VERBATIM ....... Any idea why/ where I have goofed? Thanks, James Code snippet: =================================================== FlacEncoder flacCompressor; bool setValue = false; // set up regular parameters setValue = flacCompressor.set_channels (numChannels); setValue = flacCompressor.set_bits_per_sample (bitsPerSample); setValue = flacCompressor.set_sample_rate (sampleRate); setValue = flacCompressor.set_blocksize(4608); setValue =...
2006 Sep 06
0
Getting subframe type=verbatim on 16 bit files
...subframe=0 wasted_bits=0 type=VERBATIM > ....... > > Any idea why/ where I have goofed? > > Thanks, > > James > > > Code snippet: > =================================================== > FlacEncoder flacCompressor; > bool setValue = false; > > // set up regular parameters > setValue = flacCompressor.set_channels (numChannels); > setValue = flacCompressor.set_bits_per_sample (bitsPerSample); > setValue = flacCompressor.set_sample_rate (sampleRate); > setValue = flacCompressor.set_bl...
2006 Sep 07
2
Getting subframe type=verbatim on 16 bit files
...t;> ....... >> >> Any idea why/ where I have goofed? >> >> Thanks, >> >> James >> >> >> Code snippet: >> =================================================== >> FlacEncoder flacCompressor; >> bool setValue = false; >> >> // set up regular parameters >> setValue = flacCompressor.set_channels (numChannels); >> setValue = flacCompressor.set_bits_per_sample (bitsPerSample); >> setValue = flacCompressor.set_sample_rate (sampleRate); >> setValue...
2010 Jul 28
2
Beginner stucked with raster + geoR package.
...am trying to do and what I did so far. I would like to put inside a RasterLayer (raster package) a Gaussian field (for given covariance) using grf function (geoR package) 1. First I created a Raster Layer object r <- raster() # Default values are ok 2. Then I set some values to test how if setValues worked r <- setValues(r,1:ncell(r)/100) # Every cell of the RasterLayer takes as data its cell number/100. 3. Tested that 2 works with getValuesBlock(r,1,nrow(r),1,ncol(r)) 4. Then I tried to generate a Gaussian random field for given covariance parameters using grf. temp <- grf(1,nx=n...
2005 Dec 11
0
setValue() and sliderValue not affecting Slider
...us/javascripting as well. I am fluent in PHP and C++ so I am not completely benign when it comes to javascript. Anyways after following a guide online I figured out how to set up a slider in order to resize a set of pictures. My problem is neither the sliderValue option in the constructor nor the setValue() function seem to work. Perhaps it is some simple nuance I am missing. I instantiate my slider, and I''m assuming I can use setValue anytime thereafter, correct? mySlider = new Control.Slider(''handle'',''track'',{axis:''horizontal'',minimu...
2014 Feb 03
1
[PATCH] hivex: python: value_value no longer generates Unicode strings
This fixes Github issue #2 reported by "kupiakos". <https://github.com/libguestfs/hivex/issues/2> --- generator/generator.ml | 2 +- python/t/210-setvalue.py | 26 +++++++++++++++++--------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/generator/generator.ml b/generator/generator.ml index 908c5f3..02aaf12 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -2981,7 +2981,7 @@ put_val_type (char *val, size_t len, hi...
2010 Apr 19
2
Problem with first login
...apd.conf it carries on and returns the following (with comments removed)... search: 2 result: 32 No such object So it appears that from the command line authentication with ldap is working. In my phpldapadmin config.php file i've modified the following lines... $ldapservers->SetValue($i,'server','host','127.0.0.1'); $ldapservers->SetValue($i,'server','port','389'); $ldapservers->SetValue($i,'server','auth_type','session'); When I go to phpldapadmin and do "Anonymous Bind" it connec...
2001 Mar 14
2
problem with regapi on Solaris 8 x86
Hello, I have been tinkering with Wine on Solaris 8 x86. I downloaded the source (20010305) and built wine. The installation went very well until the last part where I asked to build a registry using regapi. Here is the error I get when trying to run regapi. bash-2.03# ./regapi setValue < /usr/local/software/wine-20010305/winedefault.reg Could not stat /mnt/fd0 (No such file or directory), ignoring drive A: ./regapi: cannot find 'setValue' Protocol error: process 8065b90: partial recvmsg 0 for fd Any help is greatly appreciated. I have been playing for hours with n...
2008 Jun 17
0
setvalue of a combobox
if I wanted to set the value of a combobox tt <- tktoplevel() box <- tkwidget(tt,"ComboBox",values=c(1,2,3)) tkgrid(box) tcl(box,"setvalue","first") does anybody know how I would access an index other than the first? as second, and numbers do not work.. thanks in advance Andreas Posch
2013 Jan 31
2
[LLVMdev] std::string suffices for Init* argument?
Hi Jakob, How is `FieldName`, which is a std::string, being passed as the third argument to SetValue on line 1848 of TGParser.cpp, which is declared as being an Init*? The nearly identical (FIXME) codepath in ParseDeclaration immediately puts the string into a StringInit, which makes sense, but how on earth is the std::string being passed in? This is really freaking me out. -- Sean Silva
2014 Jan 15
0
[PATCH 4/4] hivex: python: Get rid of to_string function in test script
Since values are now returned as strings in Python2 and Python3, treating them as bytes in Python 3 would break tests. --- python/t/210-setvalue.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/python/t/210-setvalue.py b/python/t/210-setvalue.py index 9d93519..2ee7ac5 100644 --- a/python/t/210-setvalue.py +++ b/python/t/210-setvalue.py @@ -47,20 +47,12 @@ h.node_set_value (b, value1) value1 = { "ke...
2011 May 11
1
hivex: Test failure for Perl, OCaml, Python bindings on sparc
................. skipped: Test::Pod 1.00 required for testing POD | t/006-pod-coverage.t ..... skipped: Test::Pod::Coverage 1.00 required for testing POD | t/010-load.t ............. ok | t/020-open.t ............. ok | t/021-close.t ............ ok | t/200-write.t ............ ok | t/210-setvalue.t ......... 1/11 node_set_value: Bad address at t/210-setvalue.t line 46. | # Looks like you planned 11 tests but ran 5. | # Looks like your test exited with 14 just after 5. | t/210-setvalue.t ......... Dubious, test returned 14 (wstat 3584, 0xe00) | Failed 6/11 subtests | t/510-regedit-load.t ....
2013 Jan 31
0
[LLVMdev] std::string suffices for Init* argument?
On Jan 30, 2013, at 9:37 PM, Sean Silva <silvas at purdue.edu> wrote: > How is `FieldName`, which is a std::string, being passed as the third > argument to SetValue on line 1848 of TGParser.cpp, which is declared > as being an Init*? The nearly identical (FIXME) codepath in > ParseDeclaration immediately puts the string into a StringInit, which > makes sense, but how on earth is the std::string being passed in? This > is really freaking me out. S...
2011 Nov 30
1
Samba 4 and phpldapadmin
...Error: Invalid credentials (49) for user Failed to Authenticate to server Invalid Username or Password. What is the DN of a standard install after provisioning? /srv/www/htdocs/phpldapadmin/cnfig/config.php $i=0; $servers = new Datastore; $servers->newServer('ldap_pla'); $servers->SetValue('server','name','Samba4 LDAP Server'); $servers->SetValue('server','host','ldapi://%2Fusr%2Flocal%2Fsamba%2Fpriva //$servers->SetValue('server','auth_type','session'); $servers->SetValue('login','attr',...
2014 Aug 08
2
[PATCH 1/2] Add type checking, support integers as value
...ll crash older versions of hivex. All tests pass with Python 2.7.5 + 3.3.2 (Fedora 20 x86_64), 2.7.8 + 3.4.1 (Arch Linux x86_64) and 2.6.5 (Ubuntu 10.04 i686). --- configure.ac | 4 -- generator/generator.ml | 112 ++++++++++++++++++++++++++++++----------- python/t/300-setvalue-types.py | 76 ++++++++++++++++++++++++++++ 3 files changed, 160 insertions(+), 32 deletions(-) create mode 100644 python/t/300-setvalue-types.py diff --git a/configure.ac b/configure.ac index f50daff..4566a32 100644 --- a/configure.ac +++ b/configure.ac @@ -345,10 +345,6 @@ AS_IF([test "x...
2014 Jan 15
4
[PATCH 1/4] hivex: Python 2.6 does not have sysconfig.
--- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6785037..203f34f 100644 --- a/configure.ac +++ b/configure.ac @@ -329,8 +329,8 @@ AS_IF([test "x$enable_python" != "xno"], AC_MSG_CHECKING([for Python extension suffix (PEP-3149)]) if test -z "$PYTHON_EXT_SUFFIX"; then
2010 Jul 07
1
[PATCH] hivex: add hivex_set_value api call and ocaml/perl bindings, tests
Round 3 -- this time with working OCaml bindings. (I'm not on the list, please copy me on replies, thanks.) --- generator/generator.ml | 77 ++++++++++++++++++++++++++++++++++++++++- lib/hivex.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++ perl/t/201-setvalue.t | 54 ++++++++++++++++++++++++++++ 3 files changed, 219 insertions(+), 2 deletions(-) create mode 100644 perl/t/201-setvalue.t diff --git a/generator/generator.ml b/generator/generator.ml index 5a0ab6e..2b915fd 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -71,6 +71,7...
2014 Aug 16
7
[hivex] [PATCH 0/6] Python fixes for node_set_value
...-414) [1]: https://www.redhat.com/archives/libguestfs/2014-August/msg00051.html Peter Wu (6): python: use errors more specific than RuntimeError python: use PyErr_NoMemory python: check some types for get_value python: fix crash by validating key and value python: add heavier tests for setvalue generator: Fix mixed tabs/spaces configure.ac | 4 - generator/generator.ml | 570 +++++++++++++++++++++-------------------- python/t/200-write.py | 4 +- python/t/210-setvalue.py | 28 +- python/t/300-setvalue-types.py | 80 ++++++ 5 files change...
2009 Aug 21
2
[LLVMdev] Possible Typo in SelectionDAGLowering::visitShuffleVector
...Gen/SelectionDAG/SelectionDAGBuild.cpp (revision 79629) +++ F:/dev/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp (working copy) @@ -2522,7 +2522,7 @@ } } - if (RangeUse[0] == 0 && RangeUse[0] == 0) { + if (RangeUse[0] == 0 && RangeUse[1] == 0) { setValue(&I, DAG.getUNDEF(VT)); // Vectors are not used. return; } Marius Wachtler -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090821/3fd69d3a/attachment.html>
2001 Oct 17
3
Installation / configuration
...so I went for manually installing. When I try ./tools/winecheck I get a 024. Checking availability of windows registry entries... CRITICAL (entry "Default Taskbar" not found). Then it tells me, as an advice, that the windows registry isn't installed. I did a ./programs/regapi/regapi setValue < winedefault.reg. What am I missing? I'm trying to configure without a windows partition Thanks in advance Mikael B.