Displaying 20 results from an estimated 152 matches for "gettime".
2004 Sep 10
2
1.0 candidate checked in
> OK, attempting one more convergence on all this, here's
> what I did:
>
> 1. Reverted back to rev 1.5 of src/libFLAC/ia32/Makefile.am
> 2. Applied Matt's last cleanup patch of 8 files. I did not
> apply the patch to src/test_unit/main.c since it looks wrong.
> main.c is supposed to include the local bitbuffer.h, not
> src/libFLAC/private/bitbuffer.h; I think the
2010 Aug 15
2
Beginner Hurdles
...r videoBuffer; // my wrapper class for OpenGL texture
BufferSoundChannel bufChan; // my wrapper class for OpenAL
if( video.Load( "~/Desktop/ogg-theora-tests/320x240.ogg" ) != noErr )
ErrorDialog( "Couldn't load file" );
double startTime = video.HasAudio() ? 0 : bufChan.GetTime();
double audioStartTime = 0, audioStaleTime = 0,
videoStartTime = 0, videoStaleTime = 0;
int audioStatus = kVideoAudioBuffering, videoStatus =
kVideoVideoBuffering;
Boolean audioPlaying = false;
while( !KeyDown( escape_key ) )
{
short *buffer;
uint size;
double theTime;
//if( vide...
2006 Apr 25
5
millisecond precision over internet
Hi,
I''m new to programming and ruby and ROR, but I''m hoping to learn ruby to
create custom scientific software.
Mainly it involves measuring people''s reaction time to a series of
words.
I''m positive that this is possible using plain ruby on a computer (cause
this is BASIC territory right?). But I want to create a ROR app that can
do the same thing. My
2007 May 20
0
Branch 'as' - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_player.c
..._player.c | 10 ++++++++++
4 files changed, 55 insertions(+), 9 deletions(-)
New commits:
diff-tree 210bee663edb435f5f15cd5e8e9649faecd982d9 (from 91444350cb32843ed2aa0ea386df0ba983a7aec6)
Author: Benjamin Otte <otte at gnome.org>
Date: Sun May 20 21:51:40 2007 +0200
implement GetTime and functionality to get the "current" time
I want to be able to overwrite g_get_current_time() on a per-player basis to
allow stuff such as faster or slower playback. So the context has a vfunc for
getting the time.
diff --git a/libswfdec/swfdec_as_context.c b/libswfde...
2006 Jan 11
9
Prototype & Cookies
Has anyone written any "cookie" class using prototype?
Basically, what I am looking for is if there is an easy way to store mutiple cookies in a single cookie using hash or something - easy writing and retrieval (updating the cookie value).
For eg -
If I had 25 cookies for my domain 5 of the cookies would either get dropped or not be set (as there is a limit of 20 cookies per domain).
2006 Jun 07
0
using inline insert_html to generate uniquely named elements
Hello all,
I?m using some inline rjs to add content with a unique id like so:
In the <head>:
function add_fields() {
html = ''<div id="'' + new Date().getTime() + ''">'';
html += "<%= escape_javascript(render :partial => ''field_set'')
-%></div>";
new Insertion.After("whatever", html);
}
In the body:
<%= link_to_function ''Add Fields'', update_page{|page|
page....
2009 Aug 23
0
Best way of moving some jQuery from a view helper
...ss,
:uid => ''NEW_RECORD'',
:show_edit_form => true })
page <<
"jQuery(''#address_list'').prepend(''#{escape_javascript(html)}''.replace(/NEW_RECORD/g,
new Date().getTime())).effect(''highlight'', {}, 300)"
end
end
end
[/code]
So basically I want to move the line
[code]
"jQuery(''#address_list'').prepend(''#{escape_javascript(html)}''.replace(/NEW_RECORD/g,
new Date().getTime())).effect('...
2006 Jun 30
0
sync reads or big files problem
...ion counter
var totaltime = 0; //total time of all completed iterations
var starttime = 0; // time the current iteration started
var endtime = 0; //time the current iteration ended
function starttest() { //main function
var time = new Date();
starttime = time.getTime(); //get starting time of this iteration
var myAjax = new Ajax.Request(''getfile.php'',{method: ''post'',
parameters: '''', onComplete: putresponse}); /*request for data without
parameters*/}
function putresponse(response) {
var...
2006 May 25
1
prototype Ajax.Request
Hi, I''m using like this
var pars = ''table=''+this.config[''table'']+''&op=update&id=''+id;
new Ajax.Request(
this.config[''url''],
{
method: ''get'',
parameters: pars,
2013 Aug 25
1
modules in gnulib that are GPL
gettime
hash
human
memcpy
openat-die
openat-safer
quote
quotearg
readlinkat
save-cwd
symlinkat
timespec
utimens
xstrtol
xstrtoll
xstrtoumax
xvasprintf
I didnt track where they are uses, some of them arent used directly.
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi,
i have a problem with the the SlideDown and SlideUp effects. Since a similiar
problem is also visible on the script.aculo.us homepage, i''m going to explain
it this way.
- Go to http://script.aculo.us/
- On the main site below "visual effects", click "Advanced options", the sub
panel will scroll down.
- Hit the close button, and while the panel is still
2014 May 02
1
Questions on extending Rcpp wrap and as with templates
...all wrap. Is that expected?
So for example I wrote this specialization:
template<> SEXP Rcpp::wrap(std::vector<TimedOptDouble> const& entries) {
std::vector<double> sec_times;
std::vector<double> doubles;
for(auto const& entry : entries)
{
sec_times.push_back(entry.GetTime().Seconds());
TimedOptDouble::OptDouble opt_double(entry.GetOptDouble());
if(opt_double)
doubles.push_back(*opt_double);
else
doubles.push_back(R_NaReal);
}
return List::create(
Named( "Time" ) = sec_times,
Named( "Value" ) = doubles);
}
First of all, this returns what I believ...
2006 Sep 19
1
Problem using POST with IE 6
...due to the potential volume of text, a GET
is not realistic.
In Firefox, GETs and POSTs work as expected. Here is my code.
function sendData (frm) {
var url = ''/includes/ajax/test.asp'';
var pars = Form.serialize(frm);
pars = pars + ''&time='' + new Date().getTime();
var myAjax = new Ajax.Request( url, {method: ''post'', parameters: pars,
onLoading: '''', onComplete: showResponse} );
}
function showResponse (originalRequest) {
var newData = originalRequest.responseText;
$(''responseholder'').innerHTML = new...
2004 Nov 17
2
[LLVMdev] llvm-test portability failures
...s/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:26:
/usr/include/sys/timeb.h:43: error: `time_t' does not name a type
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp: In function `int getTime()':
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:89: error: 'struct timeb' has no member named 'time'
===========================================
In file included from /usr/home/llvm/obj/projects/llvm-test...
2008 May 07
2
Inserting authenticity token into AJAX request params
Hi all. I am trying to find a way to insert an authenticity_token
into the params of an Ajax request before it gets sent.
I''ve got this much:
Ajax.Responders.register({
onLoading: function(req){
if ((req.options.method == ''post'') && !
Object.keys(req.options.parameters).include(''authenticity_token'')){
---->
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...;
+ xg.beginFill(Constants.axisColor);
+ xg.lineStyle(1,Constants.axisColor);
+ xg.moveTo(yScale.width,0);
+ xg.lineTo(Constants.width,0);
+ xg.endFill();
+ }
+
private function timeRangeAdjusted(event:Event):void {
var t1:Number = startDateField.selectedDate.getTime()
+ (parseHour(startTimeField.text) * 3600 * 1000)
@@ -73,6 +89,13 @@ package org.ovirt.charts {
load();
}
+ private function selectClickedBar(event:MouseEvent):void {
+ if (selectedBar) {
+ selectedBar.deselect();
+ }
+ selectedBar = ev...
2004 Nov 17
0
[LLVMdev] llvm-test portability failures
...t/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:26:
> /usr/include/sys/timeb.h:43: error: `time_t' does not name a type
> /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp: In function `int getTime()':
> /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:89: error: 'struct timeb' has no member named 'time'
>
> ===========================================
>
> In file included from /usr/home/ll...
2007 May 28
7
$$ is slooooow in IE
While $$ and getElementsByClassName are ridiculously speedy in Firefox
(thanks to XPath), I''m finding both functions to be intolerably slow
in IE. The page I''m working with has fewer than 1000 elements --
doesn''t seem THAT big -- and it''s still taking upwards of 4 seconds
(!) to pick out the right ones.
Are there documented problems with particular
2016 Dec 18
3
[PATCH 1/2] launch: Rationalize how we construct the Linux kernel command line.
...amp;argv, EARLYPRINTK);
+#endif
+
+#ifdef __aarch64__
+ guestfs_int_add_string (g, &argv, "ignore_loglevel");
+
+ /* This option turns off the EFI RTC device. QEMU VMs don't
+ * currently provide EFI, and if the device is compiled in it
+ * will try to call the EFI function GetTime unconditionally
+ * (causing a call to NULL). However this option requires a
+ * non-upstream patch.
+ */
+ guestfs_int_add_string (g, &argv, "efi-rtc=noprobe");
+#endif
+
+ /* RHBZ#1404287 */
+ guestfs_int_add_string (g, &argv, "edd=off");
+
+ /* For slow sys...
2004 Nov 17
2
[LLVMdev] llvm-test portability failures
.../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:26:
> > /usr/include/sys/timeb.h:43: error: `time_t' does not name a type
> > /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp: In function `int getTime()':
> > /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:89: error: 'struct timeb' has no member named 'time'
> >
> > ===========================================
> >
> > In file i...