/dports/security/py-fail2ban/fail2ban-0.11.2/fail2ban/server/ |
H A D | mytime.py | 33 class MyTime: class 56 MyTime.alternateNowTime = t 57 MyTime.alternateNow = \ 69 MyTime.myTime = t 78 if MyTime.myTime is None: 81 return MyTime.myTime 89 if MyTime.myTime is None: 92 return time.gmtime(MyTime.myTime) 100 if MyTime.myTime is None: 102 if MyTime.myTime == MyTime.alternateNowTime: [all …]
|
H A D | observer.py | 34 from .mytime import MyTime 125 if MyTime.myTime is not None and starttime: 301 e = MyTime.time() + sleeptime 308 if sleeptime is not None and MyTime.time() > e: 323 e = MyTime.time() + sleeptime 325 if sleeptime is not None and MyTime.time() > e: 403 MyTime.time2str(unixTime), banCount, retryCount, 417 failManager.cleanup(MyTime.time()) 464 MyTime.time2str(timeOfBan), 495 MyTime.time2str(bendtime)) [all …]
|
H A D | strptime.py | 26 from .mytime import MyTime 33 def _getYearCentRE(cent=(0,3), distance=3, now=(MyTime.now(), MyTime.alternateNow)): 251 if not now: now = MyTime.now() 272 if not now: now = MyTime.now() 288 if not now: now = MyTime.now() 293 if not now: now = MyTime.now()
|
H A D | filter.py | 40 from .mytime import MyTime 278 value = MyTime.str2seconds(value) 450 self.failManager.cleanup(MyTime.time()) 459 unixTime = MyTime.time() 594 if MyTime.time() < getattr(self, nextLTM, 0): 636 date = MyTime.time() 650 if (date is None or date < MyTime.time() - 60 or date > MyTime.time() + 60): 654 date, MyTime.time(), 60), 658 date = MyTime.time() 688 unixTime = MyTime.time() [all …]
|
/dports/devel/py-yaml/PyYAML-5.4.1/tests/data/ |
H A D | timestamp-bugs.data | 1 - !MyTime 3 - !MyTime 5 - !MyTime 7 - !MyTime 9 - !MyTime 11 - !MyTime
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/basic/qa/vba_tests/ |
H A D | format.vb | 36 Dim myDate, MyTime, TestStr As String 38 MyTime = "17:08:06" 143 Dim myDate, MyTime, TestStr As String 147 MyTime = "05:08:06" 180 TestStr = Format(MyTime, "h") ' 5 184 TestStr = Format(MyTime, "hh") ' 05 188 TestStr = Format(MyTime, "n") ' 8 192 TestStr = Format(MyTime, "nn") ' 08 212 TestStr = Format(MyTime, "s") ' 6 216 TestStr = Format(MyTime, "ss") ' 06 [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/basic/qa/vba_tests/ |
H A D | format.vb | 28 const MyTime = "17:08:06" 51 TestStr = Format(MyTime, "Long Time") ' 5:08:06 PM 55 TestStr = Format(MyTime, "Medium Time") ' 05:08 PM 59 TestStr = Format(MyTime, "Short Time") ' 17:08 90 const MyTime = "05:08:06" 103 …TestUtil.AssertEqual(Format(MyTime, "h"), "5", "Format(MyTi… 104 …TestUtil.AssertEqual(Format(MyTime, "hh"), "05", "Format(MyTi… 105 …TestUtil.AssertEqual(Format(MyTime, "n"), "8", "Format(MyTi… 106 …TestUtil.AssertEqual(Format(MyTime, "nn"), "08", "Format(MyTi… 111 …TestUtil.AssertEqual(Format(MyTime, "s"), "6", "Format(MyTi… [all …]
|
/dports/devel/yaegi/yaegi-0.9.23/_test/ |
H A D | method17.go | 8 type MyTime struct { struct 13 func (m MyTime) Foo() { argument 18 func (m *MyTime) Bar() { argument 24 t := MyTime{}
|
/dports/security/py-fail2ban/fail2ban-0.11.2/fail2ban/tests/ |
H A D | databasetestcase.py | 33 from ..server.mytime import MyTime 394 ticket = FailTicket("127.0.0.1", MyTime.time() - i, data=f) 443 ticket = FailTicket("127.0.0.1", MyTime.time() - 40, ["abc\n"]) 446 ticket = FailTicket("127.0.0.1", MyTime.time() - 30, ["123\n"]) 449 ticket = FailTicket("127.0.0.2", MyTime.time() - 20, ["ABC\n"]) 516 fromtime=MyTime.time()) 520 fromtime=MyTime.time() + MyTime.str2seconds("1year")) 524 fromtime=MyTime.time() + MyTime.str2seconds("1year")) 531 fromtime=MyTime.time() + MyTime.str2seconds("1year")) 538 fromtime=MyTime.time() + MyTime.str2seconds("1year")) [all …]
|
H A D | fail2banclienttestcase.py | 44 from ..server.mytime import MyTime 84 MyTime.setTime(MyTime.time() + shift*60) 1007 (str(int(MyTime.time())) + " error 403 from 192.0.2.2: test 2",) * 3 + 1008 (str(int(MyTime.time())) + " error 403 from 192.0.2.3: test 2",) * 3 + 1009 (str(int(MyTime.time())) + " failure 401 from 192.0.2.4: test 2",) * 3 + 1010 (str(int(MyTime.time())) + " failure 401 from 192.0.2.8: test 2",) * 3 1188 (str(int(MyTime.time())) + " error 403 from 192.0.2.5: test 5",) * 3 + 1189 (str(int(MyTime.time())) + " failure 401 from 192.0.2.6: test 5",) * 3 1345 str(int(MyTime.time())) + ' failure "125-000-001" - 192.0.2.1', 1346 str(int(MyTime.time())) + ' failure "125-000-002" - 192.0.2.1', [all …]
|
H A D | actionstestcase.py | 34 from .utils import LogCaptureTestCase, with_alt_time, with_tmpdir, MyTime 190 MyTime.setTime(0); # avoid "expired bantime" (in 0.11) 200 MyTime.setTime(200); # unban time for 20 tickets reached 434 MyTime.setTime(MyTime.time() + 4) 456 MyTime.setTime(MyTime.time() + 4)
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | mytime.h | 30 class MyTime 39 MyTime() 65 int etime (MyTime a) in etime()
|
H A D | StopWatch.h | 74 MyTime startTime; 75 MyTime stopTime;
|
/dports/graphics/librtprocess/librtprocess-0.11.0/src/include/ |
H A D | mytime.h | 30 class MyTime 39 MyTime() 65 int etime (MyTime a) in etime()
|
H A D | StopWatch.h | 74 MyTime startTime; 75 MyTime stopTime;
|
/dports/astro/siril/siril/subprojects/librtprocess/src/include/ |
H A D | mytime.h | 30 class MyTime 39 MyTime() 65 int etime (MyTime a) in etime()
|
H A D | StopWatch.h | 63 MyTime startTime; 64 MyTime stopTime;
|
/dports/astro/siril/siril/src/rt/ |
H A D | mytime.h | 29 class MyTime 38 MyTime() 64 int etime (const MyTime &a) const in etime()
|
H A D | StopWatch.h | 63 MyTime startTime; 64 MyTime stopTime;
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/ |
H A D | mytime.h | 30 class MyTime 39 MyTime() 65 int etime (MyTime a) in etime()
|
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/ |
H A D | mytime.h | 33 class MyTime 42 MyTime() 68 int etime (MyTime a) in etime()
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | mytime.h | 29 class MyTime 38 MyTime() 64 int etime (const MyTime &a) const in etime()
|
H A D | StopWatch.h | 63 MyTime startTime; 64 MyTime stopTime;
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/librtprocess/src/include/ |
H A D | mytime.h | 30 class MyTime 39 MyTime() 65 int etime (MyTime a) in etime()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/benchmarks/ |
H A D | matrix-3x3.cc | 41 MyTime startTime; in process() 42 MyTime stopTime; in process() 134 MyTime startTime; in process_sse2() 135 MyTime stopTime; in process_sse2() 241 MyTime startTime; in process_sse2_shuffle() 242 MyTime stopTime; in process_sse2_shuffle() 349 MyTime startTime; in process_sse2_alt() 350 MyTime stopTime; in process_sse2_alt()
|