search for: window_size

Displaying 20 results from an estimated 20 matches for "window_size".

2004 Aug 02
4
reducing memmoves
...window */ if (offset > 2*CHUNK_SIZE) { - window_start = offset - 2*CHUNK_SIZE; - window_start &= ~((OFF_T)(CHUNK_SIZE-1)); /* assumes power of 2 */ + window_start = offset; } else { window_start = 0; } @@ -212,6 +212,7 @@ read_offset = read_start - window_start; read_size = window_size - read_offset; memmove(map->p, map->p + (map->p_len - read_offset), read_offset); + total_bytes_memmoved += read_offset; } else { read_start = window_start; read_size = window_size;
2004 Jun 16
3
[Bug 1463] New: poor performance with large block size
https://bugzilla.samba.org/show_bug.cgi?id=1463 Summary: poor performance with large block size Product: rsync Version: 2.6.2 Platform: x86 OS/Version: other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: wmatthews@sepaton.com
2006 Jan 31
6
Pagination - why is it this hard?
...searchconditions, :order => ''last_name ASC'' render :action => "list" end end View: <%= link_to "Previous", { :page => @person_pages.current.previous } if @person_pages.current.previous -%> <% pagination_links_each(@person_pages, :window_size => 4) do |n| %> <a href=''?page=<%= n %>''><%= n %></a> <% end %> <%= link_to "Next", { :page => @person_pages.current.next } if @person_pages.current.next -%> Resources I''ve used to (it seems) no avail: http://ap...
2006 Jul 22
3
How do you find out what action rendered a page
...arts of it including a table of results. i''m trying to put pagination on the table. thing is lots of different actions update the table and they have their own paginators. anyway i have this code at the bottom which worked for another page <%= pagination_links_each(@offer_pages,:window_size =>4) do |n| "<a href=\"#\" onclick=\"new Ajax.Request(''/user/choose_offer?page=#{n}'', {asynchronous:true, evalScripts:true}); return false;\">#{n}</a>" end %> but i need to right it so that the calling action is substitu...
2006 Mar 31
4
Question about pagination
Hi! I''ve got a list of project on the main page and if one of them is selected i render a partial using ajax with data of selected project. How to create links to next/previous project using pagination? -- Posted via http://www.ruby-forum.com/.
2009 Jun 14
1
Resampler saturation, blackfin performance
...canceller + preprocessor, I'd really like to improve performance here: - I would like to use ADI's FFT, but it's limited to powers of 2, is it safe to enable "Round ps_size down to the nearest power of two" in the preproc ? can we do the same trick with the echo-canceller for window_size ? - are there buffers who could be placed in scratch memory ? (I don't see any speex_scratch_alloc inthere) -- St?phane LESAGE ATEIS International
2008 Feb 12
0
Patch to get impulse response from echo canceller
...X_ECHO_GET_SAMPLING_RATE: (*(int*)ptr) = st->sampling_rate; break; + case SPEEX_ECHO_GET_IMPULSE_RESPONSE_SIZE: + *((spx_int32_t *)ptr) = st->M * st->frame_size; + break; + case SPEEX_ECHO_GET_IMPULSE_RESPONSE: + { + int M = st->M, N = st->window_size, n = st->frame_size, i, j; + spx_int32_t *filt = (spx_int32_t *) ptr; + for(j=0;j<M;j++) + { +#ifdef FIXED_POINT + for (i=0;i<N;i++) + st->wtmp2[i] = EXTRACT16(PSHR32(st->W[j*N+i],16)); + spx_ifft(st->fft_table, st->wtmp2, st->wtmp); +#else + spx_ifft(st->fft_...
2004 Jun 18
2
[Bug 1463] poor performance with large block size
https://bugzilla.samba.org/show_bug.cgi?id=1463 ------- Additional Comments From wayned@samba.org 2004-06-18 14:45 ------- Created an attachment (id=543) --> (https://bugzilla.samba.org/attachment.cgi?id=543&action=view) Suggested patch from Craig Barratt Wallace Matthews confirmed that this alleviates the poor performance. Just need to confirm that the window isn't getting too
2013 Jun 27
0
CentOS 5.9 and google-authenticator
...se32 encoding Testing base32 decoding Testing HMAC_SHA1 Loading PAM module Running tests, querying for verification code Testing failed login attempt Testing required number of digits Testing a blank response Test handling of missing state files Testing successful login Testing WINDOW_SIZE option Testing DISALLOW_REUSE option Testing RATE_LIMIT option Testing TIME_SKEW pam_google_authenticator_unittest: pam_google_authenticator_unittest.c:137: verify_prompts_shown: Assertion `num_prompts_shown == expected_prompts_shown' failed. Invalid verification code make: *** [tes...
2006 Aug 01
3
paginate, search, sort with ajax problem
hello I hope somebody can help me figure this out. found this great tutorial at http://dev.nozav.org/rails_ajax_table.html. got it working except for one thing. I can''t seem to make the pagination work. The link_to_remote defined in the helper is pointing to the wrong url. I have set up things like so: defined a search method in de project_controller located in apps/admin/project.
2008 Dec 09
2
paginating_find losing scope
Hello, I''m having a problem with paginating_find losing the context of the array it''s paginating. For example, URL: http://localhost:3000/companies/1/users/1 <% @tickets = @user.tickets.find(:all, page => {:size => 10, :current => params[:page]}) %> <% for ticket in @tickets %> ... <% end %> <%= paginating_links (@tickets) %>
2002 Aug 05
5
[patch] read-devices
...tate of the window is saved in the map->p* members. + * A subrange of this window corresponding to the request is + * saved in the map->m_* members, for the use of the caller. */ +void map_ptr(struct map_struct *map,OFF_T offset,int len) { - int nread; OFF_T window_start, read_start; int window_size, read_size, read_offset; + if (verbose>3) rprintf(FINFO, "#ET# map_ptr(%d,%.0f,%.0f)\n",(int)map,(double)offset,(double)len); - if (len == 0) { - return NULL; + /* produce a NULL result if past (currently known) end of file */ + if (len == 0 || offset>=map->file_size) { + map...
2006 Jan 19
8
Pagination_links without "?page=" but with params[:id]
...rewrite a little the link ( with a link_to ? ) How can I do this ? Need to use pagination_links_each ? Use options ? Thanks controller : *** @paginate_pages, @users = paginate :users, :per_page => 1, :order => "id DESC" view: *** <%= pagination_links @paginate_pages, :window_size => 1 %> in html: *** <a href="/users/infos/3?page=1">1</a> 2 <a href="/users/infos/3?page=3">3</a> ... <a href="/users/infos/3?page=6">6</a>
2008 Feb 02
0
Patch to make analysis data available.
...->sampling_rate; break; + case SPEEX_ECHO_GET_WEIGHT_SIZES: + ((spx_int32_t *)ptr)[0] = st->M; + ((spx_int32_t *)ptr)[1] = st->frame_size; + break; + case SPEEX_ECHO_GET_WEIGHTS: + { + spx_int32_t *w = (spx_int32_t *)ptr; + int N = st->window_size; + int n = st->frame_size; + int M = st->M; + int i, j; + spx_word32_t t1, t2, t3; + for(i=0;i<M;i++) { + w[i*n] = 0; + w[(i+1)*n-1] = 0; + for(j=1;j<n-1;j++) { + t1 = MULT16_16(SHR32(st->W[i*N+j*2],16), SHR32(st->W[i*N+j*2],15)); + t2 = MULT16_16(SHR32(...
2004 Aug 25
3
FW: Echo Cancellation
Hello, I am testing speex 1.1.6's echo canceller. I am using testecho.c, with a few modifications to get it to run on Windows. My problem is that I am unable to get the echo cancellation to work correctly. I am working on an audio conferencing software, and one issue we have is sometimes the microphone picks up what is being played through the headset, resulting in an echo of the other
2005 Sep 20
2
Nulls instead of data
In short: Platform: linux with 2.4 kernel Version: rsync 2.6.6 Command line: rsync266 -av -W --bwlimit=1 /mnt/somedir/rsync-2.6.6.tar.gz ./ Destination: local disk Source: file on a smbfs mounted filesystem; share is exported on a NT 4.0 workstation over a very slow and unstable link Result: Rsync completes operation with no special message, but the resulting file is damaged, large
2006 Feb 25
31
Ajax Scaffold Generator for Rails Released
I just released a whole new version of the Ajax Scaffold Generator (for Ruby on Rails). The generator creates a scaffold page like the typical rails one, except adding, editing and deleting are all done inline. The generated scaffold is valid XHTML strict and fully styled right out of the box. Check out the demo: http://ajaxscaffold.height1percent.com/ And the how-to:
2006 Jun 09
3
FXO registration and VegaStream
I am trying to configure a VegaStream 50 FXO to work with asterisk. The problem that I am having is that the VegaStream does not support incoming registration from asterisk. VegaStream only allows outbound registration. My question is does asterisk allow incoming registration from an FXO? If yes how? Or better yet, has anybody been able to make the VegaStream FXO work with asterisk? According
2020 Jul 07
3
libssh2 is hanging during a file transfert
...D5 F5 28 F3 50 9A B5 : p..o..u....(.P.. => libssh2_transport_read() plain (9 bytes) 0000: 5D 00 00 00 00 00 20 00 00 : ]..... .. [libssh2] 3.217411 Transport: Packet type 93 received, length=9 [libssh2] 3.217411 Conn: Window adjust for channel 0/0, adding 2097152 bytes, new window_size=2097152 => libssh2_transport_read() plain (5 bytes) 0000: 63 00 00 00 00 : c.... [libssh2] 3.217411 Transport: Packet type 99 received, length=5 [libssh2] 3.217411 Transport: Looking for packet of type: 99 [libssh2] 3.217411 Conn: Setting channel 0/0 handle_exte...
2014 Dec 23
2
chaining AUTH methods -- adding GoogleAuthenticator 2nd Factor to pubkey auth? can't get the GA prompt :-/
On Tue, 23 Dec 2014, Dmt Ops wrote: > testing goole-authenticator's standalone functionality, it > > > cd google-authenticator/libpam/ > > ./demo > Verification code: 123456 > Login failed > Invalid verification code > > > > fails with an INVALID code, and > > > ./demo > Verification code: