search for: srclen

Displaying 20 results from an estimated 29 matches for "srclen".

2009 Jan 20
0
VoIP with wavefrom and speex
...desided to use speex for compressing the data. I'm recording with mono, 16bit/sample, 8000 samples per second. I tried to add the speex compression, but I always get a crash when I try to decode the data. Here is my encode and decode function: int audio_encode(char dest[],WAVEHDR *source,int srclen, int quality) { SpeexBits bits; void *enc_state; float input[160]; char output[200]; unsigned int i,n=0; int compr_length = 0; unsigned short length; speex_bits_init(&bits); enc_state = speex_encoder_init(&speex_nb_mode); speex_encoder_ctl(enc_state,SPEEX_SET_QUALITY,&quality...
2010 Nov 01
5
[PATCH 03/10] staging: hv: Convert camel cased struct fields in hv.h to lower cases
From: Haiyang Zhang <haiyangz at microsoft.com> Convert camel cased struct fields in hv.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/hv.c | 95 +++++++++++++++++++++++--------------------- drivers/staging/hv/hv.h | 20 +++++----- drivers/staging/hv/vmbus.c |
2010 Nov 01
5
[PATCH 03/10] staging: hv: Convert camel cased struct fields in hv.h to lower cases
From: Haiyang Zhang <haiyangz at microsoft.com> Convert camel cased struct fields in hv.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/hv.c | 95 +++++++++++++++++++++++--------------------- drivers/staging/hv/hv.h | 20 +++++----- drivers/staging/hv/vmbus.c |
2017 Aug 10
2
cannot join windows 7 samba4-ad-dc fresh install, get NT_STATUS_INTERNAL_ERROR
...r -d3 Client started (version 4.6.0). Enter SAMDOM\Administrator's password: Sharename Type Comment --------- ---- ------- netlogon Disk sysvol Disk IPC$ IPC IPC Service (Samba 4.6.0) E2BIG: convert_string(UTF-8,CP850): srclen=27 destlen=16 - 'DC1.SAMDOM.EXAMPLE.COM' Connecting to 192.168.0.2 at port 139 got OID=1.2.840.48018.1.2.2 Server Comment --------- ------- Workgroup Master --------- ------- I have libnss_winbind setup on the DC, do you ? Or to put it...
2009 Aug 28
1
Attempting to install Prelude to Darkness in Wine
...f7e162b9 00000000 7ec1c200 0x0032f338: 7eb13ec1 7eb0f21d 0032f370 00000000 0x0032f348: 00000000 00000000 7eb27ff4 0032f7f4 0x0032f358: 00651df0 0032f851 00000000 004053a3 0x0032f368: 00000000 00000000 0000000a ffffffff Backtrace: =>0 0x7b860fd0 WideCharToMultiByte+0x1f0(page=0, flags=0, src=0xa, srclen=1, dst="\", dstlen=260, defchar=0x0, used=(nil)) [/home/aniruddha/downloads/wine-1.1.26/dlls/kernel32/../../include/wine/unicode.h:216] in kernel32 (0x0032f360) 1 0x004053a3 in pyrrhic_tales_prelude_to_darknesZ:\home\aniruddha\ games\Ptd\Pyrrhic_Tales_Prelude_to_Darkness_v1.8_[final].exe...
2004 Nov 07
0
3.0.8pre2 and convert_string
...ose_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384 [2004/11/07 16:51:50, 3] smbd/dir.c:dptr_create(491) creating new dirptr 256 for path ./, expect_close = 1 [2004/11/07 16:51:50, 3] lib/charcnv.c:convert_string_internal(236) E2BIG: convert_string(ISO8859-1,UTF-16LE): srclen=2 destlen=2 - '???.txt' [2004/11/07 16:51:50, 3] lib/charcnv.c:convert_string_internal(236) E2BIG: convert_string(ISO8859-1,UTF-16LE): srclen=2 destlen=2 - '?.txt' This was: Creating a new text file and renaming it to ???.txt. I don't understand, why the last log entry shows...
2017 Dec 01
3
Intermittent failure of net ads join command with error "The transport connection is now disconnected"
...t-Site-Name" no entry for PDC.DOMAIN.COM#20 found. resolve_hosts: Attempting host lookup for name PDC.DOMAIN.COM<0x20> namecache_store: storing 1 address for PDC.DOMAIN.COM#20: <AD Controller IP> Connecting to <AD Controller IP> at port 445 E2BIG: convert_string(UTF-8,CP850): srclen=26 destlen=16 - 'PDC.DOMAIN.COM' Connecting to <AD Controller IP> at port 139 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS...
2001 Dec 12
1
MacOS X Server samba diffs
...pstrcpy ((char *) from, (char *) cvtbuf); return (char *) from; @@ -1435,32 +1398,6 @@ ********************************************************************/ static char *utf8_to_cp(char *from, BOOL overwrite) { -#ifdef USES_CFSTRING - unsigned char *src; - unsigned char *dst; - int srclen; - CFStringRef cfstr = NULL; - - src = (unsigned char *)from; - dst = (unsigned char *)cvtbuf; - - dst[0] = '\0'; - if (global_CFString_Encoding != kCFStringEncodingDOSJapanese) - { - if (*src) - { - cfstr = CFStringCreateWithCString(NULL, src,kCFStringEncodingUTF8); -...
2017 Mar 13
0
smbpasswd port 139
...cache_init: Opening cache file /var/cache/samba/gencache.tdb read-only. Opening cache file at /var/run/samba/gencache_notrans.tdb ... internal_resolve_name: returning 1 addresses: <ip of otherdomain dc> Connecting to <ip of otherdomain dc> at port 445 E2BIG: convert_string(UTF-8,CP850): srclen=22 destlen=16 - '<name of otherdomain dc>' Connecting to <ip of otherdomain dc> at port 139 Unable to connect to SMB server on machine <name of otherdomain dc> Error was : NT_STATUS_CONNECTION_REFUSED. echo "hello" | telnet <ip of otherdomain dc> 139 Tr...
2017 Aug 11
0
cannot join windows 7 samba4-ad-dc fresh install, get NT_STATUS_INTERNAL_ERROR
...inistrator's password: > > Sharename Type Comment > --------- ---- ------- > netlogon Disk > sysvol Disk > IPC$ IPC IPC Service (Samba 4.6.0) > E2BIG: convert_string(UTF-8,CP850): srclen=27 destlen=16 - ' > DC1.SAMDOM.EXAMPLE.COM' > Connecting to 192.168.0.2 at port 139 > got OID=1.2.840.48018.1.2.2 > > Server Comment > --------- ------- > > Workgroup Master > ---------...
2012 Jan 17
0
[PATCH] Btrfs: fix decompressing of snappy-compressed inline extents
...nappy.c @@ -392,12 +392,16 @@ static int btrfs_snappy_decompress(struct list_head *ws, unsigned char *data_in, struct workspace *workspace = list_entry(ws, struct workspace, list); size_t in_len; size_t out_len; + size_t tot_len; int ret = 0; char *kaddr; unsigned long bytes; BUG_ON(srclen < SNAPPY_LEN); + tot_len = read_compress_length(data_in); + data_in += SNAPPY_LEN; + in_len = read_compress_length(data_in); data_in += SNAPPY_LEN; -- 1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.k...
2010 Nov 01
24
[PATCH 01/10] staging: hv: Convert camel cased struct fields in channel_mgmt.h to lower cases
From: Haiyang Zhang <haiyangz at microsoft.com> Convert camel cased struct fields in channel_mgmt.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/channel.c | 302 ++++++++++++++++++------------------ drivers/staging/hv/channel_mgmt.c | 186 ++++++++++++------------
2010 Nov 01
24
[PATCH 01/10] staging: hv: Convert camel cased struct fields in channel_mgmt.h to lower cases
From: Haiyang Zhang <haiyangz at microsoft.com> Convert camel cased struct fields in channel_mgmt.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/channel.c | 302 ++++++++++++++++++------------------ drivers/staging/hv/channel_mgmt.c | 186 ++++++++++++------------
2012 May 07
0
[PATCH V2] btrfs: fix message printing
...t_head *ws, struct page **pages_in, } if (Z_OK != zlib_inflateInit2(&workspace->inf_strm, wbits)) { - printk(KERN_WARNING "inflateInit failed\n"); + printk(KERN_WARNING "btrfs: inflateInit failed\n"); return -1; } while (workspace->inf_strm.total_in < srclen) { @@ -336,7 +336,7 @@ static int zlib_decompress(struct list_head *ws, unsigned char *data_in, } if (Z_OK != zlib_inflateInit2(&workspace->inf_strm, wbits)) { - printk(KERN_WARNING "inflateInit failed\n"); + printk(KERN_WARNING "btrfs: inflateInit failed\n");...
2017 Dec 12
2
Intermittent failure of net ads join command with error "The transport connection is now disconnected"
...e_hosts: Attempting host lookup for name PDC.DOMAIN.COM<0x20> > >> namecache_store: storing 1 address for PDC.DOMAIN.COM#20: > <AD Controller > >> IP> > >> Connecting to <AD Controller IP> at port 445 > >> E2BIG: convert_string(UTF-8,CP850): srclen=26 destlen=16 - ' > >> PDC.DOMAIN.COM' > >> Connecting to <AD Controller IP> at port 139 > >> Socket options: > >> SO_KEEPALIVE = 0 > >> SO_REUSEADDR = 0 > >> SO_BROADCAST = 0 > >> TCP_NODEL...
2012 Feb 13
10
[RFB] add LZ4 compression method to btrfs
Hi, so here it is, LZ4 compression method inside btrfs. The patchset is based on top of current Chris'' for-linus + Andi''s snappy implementation + the fixes from Li Zefan. Passes xfstests and stresstests. I haven''t measured performance on wide range of hardware or workloads, rather wanted to publish the patches before I get distracted again. I''d like to ask
2017 Dec 06
0
Intermittent failure of net ads join command with error "The transport connection is now disconnected"
...y for PDC.DOMAIN.COM#20 found. > resolve_hosts: Attempting host lookup for name PDC.DOMAIN.COM<0x20> > namecache_store: storing 1 address for PDC.DOMAIN.COM#20: <AD Controller > IP> > Connecting to <AD Controller IP> at port 445 > E2BIG: convert_string(UTF-8,CP850): srclen=26 destlen=16 - 'PDC.DOMAIN.COM > ' > Connecting to <AD Controller IP> at port 139 > Socket options: > SO_KEEPALIVE = 0 > SO_REUSEADDR = 0 > SO_BROADCAST = 0 > TCP_NODELAY = 1 > TCP_KEEPCNT = 9 > TCP_KEEPIDLE =...
2014 Jul 30
2
[PATCH 1/3] ext2: create a struct for the OCaml 't' type
...ed (); - ext2_copy_file (fs, src, dest); + ext2_copy_file (&data, src, dest); CAMLreturn (Val_unit); } @@ -207,7 +212,7 @@ supermin_ext2fs_copy_dir_recursively_from_host (value fsv, const char *srcdir = String_val (srcdirv); const char *destdir = String_val (destdirv); size_t srclen = strlen (srcdir); - ext2_filsys fs; + struct ext2_data data; char *paths[2]; FTS *fts; FTSENT *entry; @@ -216,8 +221,8 @@ supermin_ext2fs_copy_dir_recursively_from_host (value fsv, size_t i, n; int r; - fs = Ext2fs_val (fsv); - if (fs == NULL) + data = Ext2fs_val (fsv); + if...
2016 Feb 25
0
Samba 4.2.7 - winbind very high cpu load
...h_pad_length 0 sitename_fetch: Returning sitename for ARRI.DE: "MuenchenTuerkenstrasse" name hv3KArch.Berlin.als2#20 found. check_negative_conn_cache returning result 0 for domain ALS2 server hv3KArch.Berlin.als2 Connecting to 192.168.200.9 at port 445 E2BIG: convert_string(UTF-8,CP850): srclen=21 destlen=16 - 'HV3KARCH.BERLIN.ALS2' Connecting to 192.168.200.9 at port 139 accepted socket 22 [16738]: request interface version (version = 27) [16738]: request location of privileged pipe closing socket 22, client exited accepted socket 22 [16738]: domain_info [ALS2] add_failed_connec...
2012 Jun 23
9
[PATCH 0/5] btrfs: lz4/lz4hc compression
WARNING: This is not compatible with the previous lz4 patchset. If you''re using experimental compression that isn''t in mainline kernels, be prepared to backup and restore or decompress before upgrading, and have backups in case it eats data (which appears not to be a problem any more, but has been during development). These patches add lz4 and lz4hc compression