search for: currenttim

Displaying 20 results from an estimated 26 matches for "currenttim".

Did you mean: currenttime
2007 May 28
1
[1.2.18] Wrong steps in extensions.conf?
...://www.acme.com/input.php?"; $url .= "name=" . $safe_cidname . "&"; $url .= "number=" . $cidnum . "&"; ($min, $hrs, $day, $month, $year) = (localtime) [1,2,3,4,5]; $currentdate = sprintf("%02d/%02d/%02d", $day, $month+1, $year % 100); $currenttime = sprintf("%02d:%02d", $hrs,$min); $url .= "date=" . $currentdate . "&"; $url .= "time=" . $currenttime; #print $url . "\n"; my $response = $browser->get( $url ); die "Can't get $url -- ", $response->status_line unless $res...
2008 Aug 25
2
patch for native iphone support
...ngeproblem = 0; + ret = sscanf(range, "bytes=%d-%d", &rangenumber, &rangenumber2); + if (ret != 2) { + rangeproblem = 1; + } + if (rangenumber < 0) { + rangeproblem = 1; + } + if (!rangeproblem) { + char currenttime[50]; + time_t now; + int strflen; + struct tm result; + time(&now); + strflen = strftime(currenttime, 50, "%a, %d-%b-%Y %X GMT", + gmtime_r(&now, &result)); + client->respcode =...
2008 Nov 29
0
Icecast Streaming to an iPhone or iPod touch
..., "bytes=%d-%d", &rangenumber, &rangenumber2); + if (ret != 2) { + rangeproblem = 1; + } + if (rangenumber < 0) { + rangeproblem = 1; + } + if (!rangeproblem) { + char currenttime[50]; + time_t now; + int strflen; + struct tm result; + time(&now); + strflen = strftime(currenttime, 50, "%a, %d-%b-%Y %X GMT", + gmtime_r(&now, &result))...
2008 Feb 16
2
NoMethodError... but its not a method!
...} do |f| -%> <label for="dump_file">Select a Provider CSV File :</label> <%= f.file_field :file -%> <%= submit_tag ''Submit'' -%> <% end -%> Perhaps it is a naming problem? I am not sure. My controller looks like this: def bes @currenttime = Time.now @parsed_file = FasterCSV::parse(params[:dump][:file]) @parsed_file.shift n=0 @parsed_file.each do |row| c=Bes.new c.bes_id=row[0] # There are a bunch more of these lines, but this part works. c.bes_handheldconfigid=row[21] @besnumber = Bes.new params[:bes] if c.sav...
2003 Mar 09
0
ogg123 --end 1:59 patch.ogg
...140,7 @@ opts->nth = 1; opts->ntimes = 1; opts->seekpos = 0.0; + opts->endpos = 0.0; opts->buffer_size = 128 * 1024; opts->prebuffer = 0.0f; opts->input_buffer_size = 64 * 1024; @@ -250,6 +251,18 @@ print_statistics_action(NULL, pstats_arg); } +double currenttime (stat_format_t *stat_format, + data_source_t *source, + decoder_t *decoder) +{ + print_statistics_arg_t *pstats_arg; + + pstats_arg = new_print_statistics_arg(stat_format, + source->transport->statistics(source), + decoder->format->statistics(decoder)); + + return psta...
2019 Aug 02
4
Infrequent but steady NULL-pointer caused segfault in as.POSIXlt.POSIXct (R 3.4.4)
The R script I run daily for hours looks like this: while (!finish) { Sys.sleep(0.1) time = as.integer(format(Sys.time(), "%H%M")) # always crash here if (new.data.timestamp() <= time) next # ... do some jobs for about 2 minutes ... gc() } Basically it waits for new data, which comes in every 10 minutes, and do some jobs, then gc(), then loop again. It
2006 Nov 04
0
weird problem with content type
...avascript_include_tag :defaults %> <%= stylesheet_link_tag ''scaffold'' %> <%= stylesheet_link_tag ''images'' %> </head> <body> <p style="color: green"><%= flash[:notice] %></p> <% newdate = TimeZone.new(0) currenttime = newdate.now %> <p style="color: green"><%= flash[:notice] %></p> <center><h1><%= link_to(("Albums "),:controller => "images",:action => "showimgbyalbum") %><%= link_to(("Tags "),:controller $ <%...
2007 Apr 19
0
[PATCH] Make focusDefaultWindow () take a CompScreen as argument
....h b/include/compiz.h index 4c72dd3..f882b84 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -26,7 +26,7 @@ #ifndef _COMPIZ_H #define _COMPIZ_H -#define ABIVERSION 20070417 +#define ABIVERSION 20070418 #include <stdio.h> #include <sys/time.h> @@ -985,7 +985,7 @@ Time getCurrentTimeFromDisplay (CompDisplay *d); void -focusDefaultWindow (CompDisplay *d); +focusDefaultWindow (CompScreen *s); void forEachWindowOnDisplay (CompDisplay *display, diff --git a/plugins/rotate.c b/plugins/rotate.c index bf6bb95..640c8f4 100644 --- a/plugins/rotate.c +++ b/plugins/rotate.c @@ -...
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...r format */ > adaptor = i; > for(k = 0; k < info[i].num_ports; k++) { > /* try to grab a port */ > if(Success == XvGrabPort(display, > info[i].base_id + k, > CurrentTime)) > { > portNum = info[i].base_id + k; > break; > } > } > } > if(portNum != -1) break; > } >...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...r format */ > adaptor = i; > for(k = 0; k < info[i].num_ports; k++) { > /* try to grab a port */ > if(Success == XvGrabPort(display, > info[i].base_id + k, > CurrentTime)) > { > portNum = info[i].base_id + k; > break; > } > } > } > if(portNum != -1) break; > } >...
2007 Nov 21
0
Cannot join Samba server to the ADS domain
...ng because I can run an ldap query against the domain # ../../bin/ldapsearch -x -Z -h dbmtrdcdev01.emeadev.addev.jpmorganchase.com -s base -b "" "objectclass=*" # extended LDIF # # LDAPv3 # base <> with scope baseObject # filter: objectclass=* # requesting: ALL # # dn: currentTime: 20071121191608.0Z ...... .... And so on... Any help would be much apprehicated. Thanks, Paddy ----------------------------------------- This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or...
2005 Nov 10
2
w32time and Samba PDC Domains
...W32Time: BEGIN:InitAdjIncr W32Time: Adj 100144 , Incr 100144 fAdjust 0 W32Time: END:Line 2503 W32Time: BEGIN:TsUpTheThread W32Time: END Line 1407 W32Time: TimeMMInit() W32Time: Kernel timer : using default maximum resolution W32Time: MaximumTime = 100144 W32Time: CurrentTime = 100144 W32Time: Timer calibrated, looped 1 times W32Time: BEGIN:InitTmCfg W32Time: END:Line 807 W32Time: BEGIN:InitTmCli W32Time: END:Line 2596 W32Time: BEGIN:InitTmData W32Time: END:Line 2618 W32Time: AvoidTimeSyncOnWan 0 W32Time: BEGIN:CMOSSynchSet W32Time: Setting adjustment 100144 - Bool...
2015 Jun 16
0
[ANNOUNCE] xorg-server 1.17.2
...access control on open sockets [CVE-2015-3164 1/3] os: support new implicit local user access mode [CVE-2015-3164 2/3] xwayland: default to local user if no xauth file given. [CVE-2015-3164 3/3] Robert Ancell (1): xwayland: Fix error strings Rui Matos (2): dix/events: Set currentTime to the given time stamp in NoticeTime xwayland: Throttle our cursor surface updates with a frame callback Vicente Olivert Riera (1): backtrace.c: Fix word cast to a pointer git tag: xorg-server-1.17.2 http://xorg.freedesktop.org/archive/individual/xserver/xorg-server-1.17.2.tar.bz2...
2007 May 30
0
[PATCH] added comments
...BlitMemory(ScrnInfoPtr pScrnInfo) } } +/** + * NVVideoTimerCallback + * callback function which perform cleanup tasks (stop overlay, free memory). + * within the driver it is only called once from NVBlockHandler in nv_driver.c + */ static void NVVideoTimerCallback(ScrnInfoPtr pScrnInfo, Time currentTime) { @@ -291,6 +353,27 @@ NVVideoTimerCallback(ScrnInfoPtr pScrnInfo, Time currentTime) pNv->VideoTimerCallback = needCallback ? NVVideoTimerCallback : NULL; } +/** + * NVPutOverlayImage + * program hardware to overlay image into front buffer + * + * @param pScrnInfo screen + * @param src_...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...u_pushbuf_kick(pNv->pushbuf, pNv->pushbuf->channel); +#ifdef XORG_WAYLAND + if (pNv->xwl_screen) + xwl_screen_post_damage(pNv->xwl_screen); +#endif + } static void @@ -399,6 +466,11 @@ NVBlockHandler ( if (pNv->VideoTimerCallback) (*pNv->VideoTimerCallback)(pScrn, currentTime.milliseconds); + +#ifdef XORG_WAYLAND + if (pNv->xwl_screen) + xwl_screen_post_damage(pNv->xwl_screen); +#endif } static Bool @@ -413,6 +485,11 @@ NVCreateScreenResources(ScreenPtr pScreen) return FALSE; pScreen->CreateScreenResources = NVCreateScreenResources; +#ifdef XORG_WA...
2012 Oct 03
3
2.4-beta fixes for MinGW
...) +#else + /* gmtime() on W32 breaks POSIX and IS thread-safe (uses TLS) */ + gmtime_result = gmtime (&now); + if (gmtime_result) + memcpy (&result, gmtime_result, sizeof (result)); +#endif + if (gmtime_result == NULL) + goto fail; strflen = strftime(currenttime, 50, "%a, %d-%b-%Y %X GMT", - gmtime_r(&now, &result)); + &result); httpclient->respcode = 206; type = fserve_content_type (path); bytes = snprintf (httpc...
2006 Dec 28
2
updating the AUTHORS file
...s it so that the sysadmin can override defaults via sabayon or whatever.) fix the gravity handling so self-resizing windows don't dance (although I'm pretty sure this is a symptom of mishandling gravity somewhere else). take a timestamp and pass that to the panel rather than using CurrentTime update for that Author: Jeremy C. Reed <reed@reedmedia.net> Use same autogen.sh as rest of modular Xorg. This allows running it from alternative work directory. Mention "startup-notification" requirement.
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...nouveau_pushbuf_kick(pNv->pushbuf, pNv->pushbuf->channel); + if (pNv->xwl_screen) + xwl_screen_post_damage(pNv->xwl_screen); + } static void @@ -392,6 +449,9 @@ NVBlockHandler (BLOCKHANDLER_ARGS_DECL) if (pNv->VideoTimerCallback) (*pNv->VideoTimerCallback)(pScrn, currentTime.milliseconds); + + if (pNv->xwl_screen) + xwl_screen_post_damage(pNv->xwl_screen); } static Bool @@ -406,6 +466,9 @@ NVCreateScreenResources(ScreenPtr pScreen) return FALSE; pScreen->CreateScreenResources = NVCreateScreenResources; + if (pNv->xwl_screen) + xwl_screen_init(...
2015 Sep 02
0
[ANNOUNCE] xorg-server 1.17.99.901
...2015-3164 2/3] xwayland: default to local user if no xauth file given. [CVE-2015-3164 3/3] Robert Ancell (3): xwayland: Fix error strings xwayland: Fix error strings modesetting: Use correct types for return values of glamor BO exports. Rui Matos (2): dix/events: Set currentTime to the given time stamp in NoticeTime xwayland: Throttle our cursor surface updates with a frame callback Vicente Olivert Riera (1): backtrace.c: Fix word cast to a pointer git tag: xorg-server-1.17.99.901 http://xorg.freedesktop.org/archive/individual/xserver/xorg-server-1.17.99.90...
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers. I just upgraded to samba-3.0.23 and I've noticed an alarming issue with respect to my configuration. I've been using the built-in keytab management and it looks like the updated code no longer creates the userPrincipal in Active Directory. Whether this is an issue for others or not, it would be nice to have