Displaying 20 results from an estimated 7000 matches similar to: "[PATCH] for md5.c"
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
This has the advantage of being more efficient than the included
routines and allows distros to centralize crypto mainteniance on
a few libraries.
---
configure.ac | 4 +-
m4/ax_check_openssl.m4 | 124 +++++++++++++++++++++++++++++++++++++
src/libFLAC/Makefile.am | 2 +-
src/libFLAC/include/private/md5.h | 8 ++-
src/libFLAC/md5.c
2014 Aug 14
1
Encoder example for 24-bit files
On Thu, Aug 14, 2014 at 12:34 PM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Jose Pablo Carballo <jose.carballo at ridgerun.com> wrote:
>
>> - channels = 2;
>> - bps = 16;
>> + channels = ((unsigned)buffer[23] << 8) | buffer[22];
>> + bps = ((unsigned)buffer[35] << 8) | buffer[34];
>> total_samples = (((((((unsigned)buffer[43] << 8)
2014 Aug 14
6
Encoder example for 24-bit files
Hi,
In the last days I've been taking as reference the example found in
examples/c/encode/file/main.c. With it I've been able to encode a 2ch,
16 bps, 44100 sample rate input WAV file to a FLAC file.
Now I've been trying to modify this example to encode a 2ch, 24 bps,
96000 sample rate WAV file. I have to say I'm a bit lost on how I
should read the input file in this case, and
2005 Aug 01
1
Application Metadata
Hi,
I'm sorry to say that I've found the libFLAC++ interface and
documentation pretty slim and baffling.
What I need to do is add some application-specific metadata to a FLAC
file (i'm using the FLAC++ fileencoder). It is currently just a string
of characters, which doesn't need to be null-terminated.
I've looked through the docs, i've looked through the tests, and
2011 May 30
1
64-bit FLAC structure sizes and padding
Erik, thanks for the swift answer. Your right, I haven't seen any issues
yet. But it a thought stroke me when implementing edit capabilities of FLAC
vorbis comments. I've already implemented reading vorbis comments from FLAC
files in 64-bit and it works without any issues. This now leave me a bit
confused, since it should have issues(!).
Using the MS 64-bit compiler on Windows 7/2008R2
2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was
either solved off-list or abandoned.
(http://lists.xiph.org/pipermail/flac/2005-August/000468.html)
The problem is with using the C++ encoder classes, particularly the
FLAC::Encoder::File:set_metadata
function. JC said that the developers version of how to add a simple
metadata block looked right, but it did not work for
2011 Aug 13
1
Own R function doubt
Hi to all the people again,
I was writting a simply function in R, and wish to collect the results in a
excel file. The work goes as follows,
Ciervos<-function(K1, K0, A, R,M,Pi,Hembras)
{B<-(K1-K0)/A
T1<-(R*Pi*Hembras-M*Pi+B)/(Pi-M*Pi+R*Pi*Hembras)
P1<-Pi-B
R1<-P1*Hembras*R
M1<-P1*M
T2<-(R1-M1+B)/(P1-M1+R1)
P2<-P1-B
R2<-P2*Hembras*R
M2<-P2*M
2011 May 30
2
64-bit FLAC structure sizes and padding
> Err, no it wouldn't. In fact this example you gave only confuses
> the matter.
? What do you mean?
typedef struct {
FLAC__uint32 length;
FLAC__byte *entry;
} FLAC__StreamMetadata_VorbisComment_Entry;
Can you confirm that the entry member is a pointer and not a byte array?
In that case:
What happens if the compiler expands the size of the structure twice (8=>16
bytes)?
I
2011 Dec 19
1
calculating correlation coefficients on repeated measures
Dear list,
I have 9 repeated measures (measurement variable == 'Delta13C') for
individuals (ID variable == 'Individual_ID'. Each repeated measure is
"indexed" (right term?) by the variable 'FeatherPosition' and given as
c('P1', 'P2', 'P3', 'P4', 'P5', 'P6', 'P7', 'P8', 'P9'). I would like
to
2008 Jul 30
1
Re creating Procrustes Plot in Lattice
Hi, I have been trying to create a function to generate a Procrustes plot,
generated from package "vegan"
in lattice.
standard vegan code as follows
library(vegan)
pro=protest(P1, P8, permutations=4999,choices=1:4)
plot(pro)
Now, here is the code for the function that I have failed to get to work
properly.
panel.procrustes=function(x,y)
}Pro=protest(x,y,permutations=4999,choices=1:4)
2012 May 24
0
[LLVMdev] Predicate registers/condition codes question
Hi,
On Tue, May 22, 2012 at 11:35 PM, Sebastian Pop <spop at codeaurora.org> wrote:
> Hi Ivan,
>
> On Tue, May 22, 2012 at 5:09 PM, Ivan Llopard <ivanllopard at gmail.com> wrote:
>> Hi Sebastian,
>>
>> On 22/05/2012 23:25, Sebastian Pop wrote:
>>> So my question is how do we specify that for most of the operations i8
>>> should be promoted
2012 Mar 16
1
R merge two dataframes with different row?
Hi everyone,
I have a question for R code to merge.
Say I have two dataframes:
File1 is:
V1 V2 V3 V4
1 100 101 name1
2 200 201 name2
2 300 301 name3
3 400 401 name4
3 500 501 name5
4 600 601 name6
4 700 701 name7
File2 is:
V1 V2 V3 V4
1 50 55 p1
3 402 449 p2
4 550 650 p3
4 651 660
2006 Apr 17
1
ksoftirqd
Hi
After a few days of very fine work, my dom0 went mad. (using xen-3.0.2)
It''s ksoftirqd keeps 70% of cpu all the time.
Is there anything I can do?
Regards,
Steffen
begin 666 smime.p7s
M,( &"2J&2(;W#0$''`J" ,( "`0$Q"S )!@4K#@,"&@4`,( &"2J&2(;W#0$''
M`0``H(())#""`JPP@@(5H ,"`0("`P]Z''3
2003 Jun 19
2
Subseting by more than one factor...
Is it possible in R to subset a dataframe by more than one factor, all at
once?
For instance, I have the dataframe:
>data
p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pred
1 0 1 0 0 0 0 0 0 0 0 0.5862069
4 0 0 0 0 0 0 0 0 0 1 0.5862069
5 0 0 0 0 0 0 1 0 0 0 0.5862069
6 0 0 0 0 0 0 0 1 0 0 0.5862069
7 0 0 1 0 0 0 0 0 0
2011 Feb 16
3
Ippon Smart Winner 750/1000/1500/2000/3000
Have anybody expirience with
Ippon Smart Winner 750/1000/1500/2000/3000
with serial interface ?
I have tryed megatec and blazer_ser drivers with no success:
[IPPON]
driver = megatec
port = /dev/ttyd0
desc = "IPPON smart winner 1500VA"
model = "Smart Winner 750/1000/1500/2000/3000"
# ./megatec -a IPPON -DDD
Network UPS Tools - Megatec
2002 Oct 22
1
constraints again
I would like to fit the following function on my data.
out.nls<-nls(z ~ p1+
(p2*dat)+(p3*dat^2)+(p4*dat^3)+(p5*AgeS)+(p6*AgeS^2)+(p7*AgeS^3)+
(p8*(dat*AgeS))+(p9*(dat^2*AgeS))+(p10*(dat^3*AgeS))+
(p11*(dat*AgeS^2))+(p12*(dat*AgeS^3))+(p13*(dat^2*AgeS^2))+
(p14*(dat^2*AgeS^3))+(p15*(dat^3*AgeS^3)),
2004 Sep 10
1
mistake in FLAC++ metadata interface?
Hi all,
Using the FLAC++ level 2 metadata interface the following function
doesn't do what you would expect:
cuesheet->get_track(i).get_num_indices();
(where cuesheet is a FLAC::Metadata::CueSheet *)
It returns a bool instead of an int, why is this?
To get the mumber of indicies in a track I need to use:
cuesheet->get_track(i).get_track()->num_indices;
ie. retrieve the C struct
2004 Sep 28
2
Finding start of audio data using metadata level 2 interface.
* Josh Coalson <xflac@yahoo.com> shaped the electrons to say...
>yep, that will work too. but just writing skipping code is
>pretty simple:
>
>is_last=0
>read 'fLaC' string
>while (!is_last) {
> read 1 byte metadata block type
> read 3 byte metadata block length
> is_last = type & 0x80
> fseek(file,length,SEEK_CUR)
>}
2005 Apr 01
1
bug in xmms plugin v 1.1.2
I, like others here, have noticed that the xmms plugin is broken for
first use in version 1.1.2. The problem is confusion between
dynamically-allocated and statically-allocated strings. A quick,
although perhaps not elegant, fix is included below.
Note: you would not see this if you already had a [flac] section in your
config file, which probably explains how it escaped the notice of
2018 Apr 08
5
lda fails in parse_angle_addr if sieve is enabled
Hi,
Since updating to 2.3.1 on my FreeBSD mailserver mail delivery using
lda is broken if I have sieve enabled.
(Before updating this was 2.2 and pigeonhole 0.4)
FreeBSD 11.1-p8 amd64
Dovecot 2.3.1
Pigeonhole 0.5.1
Mailflow is OpenSMTPd as MTA, using mda delivery to rspamc which
utlimately delivers using dovecot-lda.
smtpd.conf
deliver to mda "rspamc -h scan --mime -e