/dports/math/py-statsmodels/statsmodels-0.13.1/examples/python/ |
H A D | statespace_seasonal.py | 324 h1, = ax1.plot(idx[time_s], 327 h2, = ax1.plot(idx[time_s], 330 h3, = ax1.plot(idx[time_s], 342 h21, = ax2.plot(idx[time_s], 345 h22, = ax2.plot(idx[time_s], 348 h23, = ax2.plot(idx[time_s], 357 time_s = np.s_[:100] variable 361 h31, = ax3.plot(idx[time_s], 365 h32, = ax3.plot(idx[time_s], 369 h33, = ax3.plot(idx[time_s], true_sum[time_s], label='True Seasonal 100(2)') [all …]
|
/dports/archivers/pecl-rar/rar-4.2.0/ |
H A D | rar_time.c | 43 struct tm time_s = {0}; in rar_dos_time_convert() local 45 time_s.tm_sec = (dos_time & 0x1f)*2; in rar_dos_time_convert() 46 time_s.tm_min = (dos_time>>5) & 0x3f; in rar_dos_time_convert() 47 time_s.tm_hour = (dos_time>>11) & 0x1f; in rar_dos_time_convert() 48 time_s.tm_mday = (dos_time>>16) & 0x1f; in rar_dos_time_convert() 49 time_s.tm_mon = ((dos_time>>21) & 0x0f) - 1; in rar_dos_time_convert() 50 time_s.tm_year = (dos_time>>25) + 80; in rar_dos_time_convert() 53 if ((*to = timegm(&time_s)) == (time_t) -1) { in rar_dos_time_convert()
|
/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/ |
H A D | util.py | 89 time_s = time.strftime("%H:%M:%S", time.localtime(when)) 90 time_s = time_s + ".%03d" % int(1000*(when - int(when))) 93 time_s = time.strftime("%Y-%m-%d_%H:%M:%S", lt) 94 time_s = time_s + ".%06d" % int(1000000*(when - int(when))) 95 time_s += time.strftime("%z", lt) 97 time_s = time.strftime("%Y-%m-%d_%H:%M:%S", time.gmtime(when)) 98 time_s = time_s + ".%06d" % int(1000000*(when - int(when))) 99 time_s += "Z" 101 time_s = "%.03f" % when 102 return time_s
|
/dports/astro/oskar/OSKAR-2.8.0/oskar/ms/src/ |
H A D | oskar_ms_add_history.cpp | 37 struct tm* time_s = 0; in current_utc_to_mjd() local 41 time_s = std::gmtime(&unix_time); in current_utc_to_mjd() 45 a = (14 - (time_s->tm_mon + 1)) / 12; in current_utc_to_mjd() 46 y = (time_s->tm_year + 1900) + 4800 - a; in current_utc_to_mjd() 47 m = (time_s->tm_mon + 1) + 12 * a - 3; in current_utc_to_mjd() 48 jdn = time_s->tm_mday + (153 * m + 2) / 5 + (365 * y) + (y / 4) - (y / 100) in current_utc_to_mjd() 52 day_fraction = time_s->tm_hour / 24.0 + time_s->tm_min / 1440.0 + in current_utc_to_mjd() 53 time_s->tm_sec / 86400.0; in current_utc_to_mjd()
|
/dports/net/freebsd-uucp/freebsd-uucp-r1_07_4/uucp/contrib/ |
H A D | uusnap.c | 172 char *time_s; in display_status_line() local 194 time_s = ctime(&sys.last); in display_status_line() 195 time_s = time_s + 11; in display_status_line() 196 *(time_s+8)='\0'; in display_status_line() 197 printf("%8s ",time_s); /* time of last poll */ in display_status_line() 198 time_s = ctime(&sys.next); in display_status_line() 199 time_s = time_s + 11; in display_status_line() 200 *(time_s+8)='\0'; in display_status_line() 204 printf("%8s ",time_s); /* time of next poll */ in display_status_line()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/sql/ |
H A D | Timestamp.java | 175 String time_s; in valueOf() local 202 time_s = s.substring(dividingSpace+1); in valueOf() 212 if (time_s == null) in valueOf() 214 firstColon = time_s.indexOf(':'); in valueOf() 215 secondColon = time_s.indexOf(':', firstColon+1); in valueOf() 216 period = time_s.indexOf('.', secondColon+1); in valueOf() 242 (secondColon < time_s.length()-1)) { in valueOf() 243 hour = Integer.parseInt(time_s.substring(0, firstColon)); in valueOf() 246 if ((period > 0) & (period < time_s.length()-1)) { in valueOf() 249 nanos_s = time_s.substring(period+1); in valueOf() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/sql/ |
H A D | Timestamp.java | 175 String time_s; in valueOf() local 202 time_s = s.substring(dividingSpace+1); in valueOf() 212 if (time_s == null) in valueOf() 214 firstColon = time_s.indexOf(':'); in valueOf() 215 secondColon = time_s.indexOf(':', firstColon+1); in valueOf() 216 period = time_s.indexOf('.', secondColon+1); in valueOf() 242 (secondColon < time_s.length()-1)) { in valueOf() 243 hour = Integer.parseInt(time_s.substring(0, firstColon)); in valueOf() 246 if ((period > 0) & (period < time_s.length()-1)) { in valueOf() 249 nanos_s = time_s.substring(period+1); in valueOf() [all …]
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/parallel/ |
H A D | ossimMultiThreadSequencer.cpp | 46 double dt = ossimTimer::instance()->time_s(); //### in run() 55 dt = ossimTimer::instance()->time_s() - dt; //### in run() 257 d_t1 = ossimTimer::instance()->time_s(); in getNextTile() 260 d_idleTime1 += ossimTimer::instance()->time_s() - d_t1; in getNextTile() 291 d_t1 = ossimTimer::instance()->time_s(); in getNextTile() 310 d_t1 = ossimTimer::instance()->time_s(); in getNextTile() 381 d_t1 = ossimTimer::instance()->time_s(); in setTileInCache() 384 d_idleTime4 += ossimTimer::instance()->time_s() - d_t1; in setTileInCache() 433 d_t1 = ossimTimer::instance()->time_s(); in nextJob() 449 d_t1 = ossimTimer::instance()->time_s(); in nextJob() [all …]
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/ |
H A D | progress_text.cpp | 104 double time_s = time / 1000.0; in TimeString() local 105 int time_min = int(time_s) / 60; in TimeString() 106 int time_h = int(time_s) / (60 * 60); in TimeString() 107 int time_d = int(time_s) / (60 * 60 * 24); in TimeString() 111 time_s_str = QString::number(fmod(time_s, 60.0), 'f', 1) + "s"; in TimeString()
|
/dports/math/py-statsmodels/statsmodels-0.13.1/examples/notebooks/ |
H A D | statespace_seasonal.ipynb | 359 …"h1, = ax1.plot(idx[time_s], res_f.freq_seasonal[0].filtered[time_s], label='Double Freq. Seas')\n… 360 "h2, = ax1.plot(idx[time_s], res_tf.seasonal.filtered[time_s], label='Mixed Domain Seas')\n", 361 "h3, = ax1.plot(idx[time_s], true_seasonal_10_3[time_s], label='True Seasonal 10(3)')\n", 376 …"h21, = ax2.plot(idx[time_s], res_f.freq_seasonal[1].filtered[time_s], label='Double Freq. Seas')\… 378 "h23, = ax2.plot(idx[time_s], true_seasonal_100_2[time_s], label='True Seasonal 100(2)')\n", 392 "time_s = np.s_[:100]\n", 396 …"h31, = ax3.plot(idx[time_s], res_f.freq_seasonal[1].filtered[time_s] + res_f.freq_seasonal[0].fil… 397 …"h32, = ax3.plot(idx[time_s], res_tf.freq_seasonal[0].filtered[time_s] + res_tf.seasonal.filtered[… 398 "h33, = ax3.plot(idx[time_s], true_sum[time_s], label='True Seasonal 100(2)')\n", 399 …"h34, = ax3.plot(idx[time_s], res_lf.freq_seasonal[0].filtered[time_s], label='Lazy Freq. Seas')\n… [all …]
|
/dports/sysutils/upower/upower-0.99.13/src/ |
H A D | up-history.c | 127 guint64 time_s = 0; in up_history_array_limit_resolution() local 173 time_s = up_history_item_get_time (item); in up_history_array_limit_resolution() 179 time_s += up_history_item_get_time (item); in up_history_array_limit_resolution() 187 up_history_item_set_time (item_new, time_s / count); in up_history_array_limit_resolution() 293 guint time_s; in up_history_get_profile_data() local 814 if (time_s < 0) in up_history_set_time_full_data() 816 if (history->priv->time_full_last == time_s) in up_history_set_time_full_data() 828 history->priv->time_full_last = time_s; in up_history_set_time_full_data() 847 if (time_s < 0) in up_history_set_time_empty_data() 849 if (history->priv->time_empty_last == time_s) in up_history_set_time_empty_data() [all …]
|
/dports/games/pvpgn/pvpgn-1.8.5/src/common/ |
H A D | util.c | 636 int day_s, time_s, last; in timestr_to_time() local 645 day_s = time_s = 0; in timestr_to_time() 664 time_s = 0; in timestr_to_time() 670 if (time_s == 0) { in timestr_to_time() 672 } else if (time_s == 1) { in timestr_to_time() 674 } else if (time_s == 2) { in timestr_to_time() 678 time_s++; in timestr_to_time() 694 if (time_s == 0) { in timestr_to_time() 696 } else if (time_s == 1) { in timestr_to_time() 698 } else if (time_s == 2) { in timestr_to_time() [all …]
|
/dports/sysutils/toybox/toybox-0.8.5/toys/lsb/ |
H A D | dmesg.c | 50 unsigned long long time_s, time_us; in format_message() local 59 time_s = time_us/1000000; in format_message() 62 &facpri, &time_s, &time_us, &pos) != 3) return; in format_message() 81 time_t t = TT.tea+time_s; in format_message() 85 } else printf("[%5lld.%06lld] ", time_s, time_us); in format_message()
|
/dports/multimedia/vlc/vlc-3.0.16/extras/misc/ |
H A D | mpris.py | 90 time_s.set_range(0, length) 91 time_s.set_sensitive(True) 94 time_s.set_sensitive(False) 182 time_s.get_value(), 191 time_s.set_value(PropGet('Position')) 273 time_s = xml.get_object('time_s') variable 295 time_s.connect('adjust-bounds', timechange) 298 time_s.set_update_policy(gtk.UPDATE_DISCONTINUOUS)
|
/dports/devel/grpc/grpc-1.42.0/test/core/util/ |
H A D | test_config.cc | 140 gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s) { in grpc_timeout_seconds_to_deadline() argument 144 grpc_test_slowdown_factor() * static_cast<int64_t>(1e3) * time_s, in grpc_timeout_seconds_to_deadline() 171 bool grpc_wait_until_shutdown(int64_t time_s) { in grpc_wait_until_shutdown() argument 172 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(time_s); in grpc_wait_until_shutdown()
|
/dports/devel/grpc134/grpc-1.34.1/test/core/util/ |
H A D | test_config.cc | 140 gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s) { in grpc_timeout_seconds_to_deadline() argument 144 grpc_test_slowdown_factor() * static_cast<int64_t>(1e3) * time_s, in grpc_timeout_seconds_to_deadline() 170 bool grpc_wait_until_shutdown(int64_t time_s) { in grpc_wait_until_shutdown() argument 171 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(time_s); in grpc_wait_until_shutdown()
|
/dports/archivers/engrampa/engrampa-1.26.0/src/ |
H A D | fr-command-dpkg.c | 49 mktime_from_string (const char *time_s) in mktime_from_string() argument 53 strptime (time_s, LSDPKG_DATE_FORMAT, &tm); in mktime_from_string() 103 char *time_s; in process_data_line() local 120 time_s = g_strjoin (" ", fields[3], fields[4], NULL); in process_data_line() 121 fdata->modified = mktime_from_string (time_s); in process_data_line() 122 g_free (time_s); in process_data_line()
|
/dports/net-mgmt/driftnet/driftnet-1.3.0/src/common/ |
H A D | log.c | 92 static char time_s[80]; in get_timestring() local 97 strftime (time_s, 80, "%a %b %d %H:%M:%S %Y", timeinfo); in get_timestring() 99 return time_s; in get_timestring()
|
/dports/graphics/libprojectm/projectm-3.1.12/src/MilkDrop2/vis_milk2/ |
H A D | support.cpp | 266 float time_s = nSongPosMS*0.001f; in GetWinampSongPosAsText() local 267 int minutes = (int)(time_s/60); in GetWinampSongPosAsText() 268 time_s -= minutes*60; in GetWinampSongPosAsText() 269 int seconds = (int)time_s; in GetWinampSongPosAsText() 270 time_s -= seconds; in GetWinampSongPosAsText() 271 int dsec = (int)(time_s*100); in GetWinampSongPosAsText()
|
/dports/games/foobillard/foobillard-3.0a/src/ |
H A D | net_socket.c | 169 t0=time_s(); in socket_read() 175 while( bcount<n && (time_s()-t0)<=TIMEOUT ) { /* loop until full buffer */ in socket_read() 197 t0=time_s(); in socket_write() 203 while( bcount<n && (time_s()-t0)<=TIMEOUT ) { /* loop until full buffer */ in socket_write()
|
/dports/ftp/ncftp3/ncftp-3.2.6/sio/ |
H A D | Makefile.in | 108 time_s: time_s/time_s.c $(LIB) 109 ( cd time_s ; $(MAKE) "CFLAGS=$(CFLAGS)" "STRIP=$(STRIP)" "LIBS=$(LIBS)" ) 111 samples: ucase_c ucase_s time_c time_s srltest 125 … $(PCH) $(LIB) $(LIBSO) ucase_c/ucase_c ucase_s/ucase_s time_c/time_c time_s/time_s core *.pch */*…
|
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/cert_reporting_tool/ |
H A D | cert_reporting_tool.cc | 60 std::string subject_s, san_s, serial_s, time_s; in dump_context() local 131 time_s = std::string(data, length); in dump_context() 134 subject_s.c_str(), san_s.c_str(), serial_s.c_str(), time_s.c_str()); in dump_context() 136 … ck_path, subject_s.c_str(), san_s.c_str(), serial_s.c_str(), time_s.c_str()); in dump_context()
|
/dports/www/trafficserver/trafficserver-9.1.1/example/plugins/c-api/client_context_dump/ |
H A D | client_context_dump.cc | 60 std::string subject_s, san_s, serial_s, time_s; in dump_context() local 132 time_s = std::string(data, length); in dump_context() 135 subject_s.c_str(), san_s.c_str(), serial_s.c_str(), time_s.c_str()); in dump_context() 137 … ck_path, subject_s.c_str(), san_s.c_str(), serial_s.c_str(), time_s.c_str()); in dump_context()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/animation/ |
H A D | animation_time_delta.h | 45 static AnimationTimeDelta FromSecondsD(double time_s) { in FromSecondsD() argument 46 DCHECK(!std::isnan(time_s)); in FromSecondsD() 47 return AnimationTimeDelta(time_s); in FromSecondsD()
|
/dports/net/reaver/reaver-wps-fork-t6x-1.6.6/src/ |
H A D | cracker.c | 359 char time_s[256] = { 0 }; in display_status() local 386 strftime(time_s, sizeof(time_s), TIME_FORMAT, tm_p); in display_status() 402 cprintf(INFO, "[+] %.2f%% complete @ %s (%d seconds/pin)\n", percentage, time_s, average); in display_status()
|