/dports/devel/p5-Class-Trigger/Class-Trigger-0.15/lib/Class/ |
H A D | Trigger.pm | 40 my $when = $args{'name'}; 43 __validate_triggerpoint( $proto, $when ); 64 my $when = shift; 94 my $when_key = defined $when ? $when : ''; 97 return __cached_triggers($obj, $when) 121 if (defined $when && $Triggers{$c}{$when}) { 144 my($proto, $when) = @_; 153 my($obj, $when) = @_; 156 return $obj->{__triggers}{$when} || []; 162 my ($self, $when) = @_; [all …]
|
/dports/science/cdk/cdk-cdk-2.3/tool/hash/src/test/java/org/openscience/cdk/hash/stereo/ |
H A D | TetrahedralElementEncoderFactoryTest.java | 41 import static org.mockito.Mockito.when; 63 when(container.getAtom(0)).thenReturn(c1); in createExplicitH() 64 when(container.getAtom(1)).thenReturn(o2); in createExplicitH() 65 when(container.getAtom(2)).thenReturn(n3); in createExplicitH() 66 when(container.getAtom(3)).thenReturn(c4); in createExplicitH() 67 when(container.getAtom(4)).thenReturn(h5); in createExplicitH() 72 when(tc.getChiralAtom()).thenReturn(c1); in createExplicitH() 92 when(container.getAtom(0)).thenReturn(c1); in createImplicitH_back() 100 when(tc.getChiralAtom()).thenReturn(c1); in createImplicitH_back() 129 when(tc.getChiralAtom()).thenReturn(c1); in createImplicitH_front() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/app/src/test/java/org/mozilla/gecko/dlc/ |
H A D | TestDownloadAction.java | 89 doReturn(true).when(catalog).hasScheduledDownloads(); in testExistingAndVerifiedFilesAreNotDownloadedAgain() 95 doReturn(true).when(file).exists(); in testExistingAndVerifiedFilesAreNotDownloadedAgain() 117 doReturn(false).when(temporaryFile).exists(); in testServerErrorsAreRecoverable() 137 doReturn(false).when(temporaryFile).exists(); in testClientErrorsAreUnrecoverable() 162 doReturn(true).when(catalog).hasScheduledDownloads(); in testSuccessfulDownloadsAreMarkedAsDownloaded() 482 doReturn(false).when(destinationFile).exists(); in testDiskIOErrorIsCountedAsFailure() 484 doReturn(false).when(parentFile).mkdirs(); in testDiskIOErrorIsCountedAsFailure() 485 doReturn(false).when(parentFile).exists(); in testDiskIOErrorIsCountedAsFailure() 624 doReturn(exists).when(file).exists(); in mockFileWithUsableSpace() 625 doReturn(length).when(file).length(); in mockFileWithUsableSpace() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/features/tab_ui/junit/src/org/chromium/chrome/browser/tasks/pseudotab/ |
H A D | TabAttributeCacheUnitTest.java | 115 doReturn(0).when(mTabModel).index(); in setUp() 116 doReturn(2).when(mTabModel).getCount(); in setUp() 132 doReturn(url).when(mTab1).getUrlString(); in updateUrl() 147 doReturn(url).when(mTab1).getUrlString(); in updateUrl_incognito() 148 doReturn(true).when(mTab1).isIncognito(); in updateUrl_incognito() 157 doReturn(title).when(mTab1).getTitle(); in updateTitle() 172 doReturn(title).when(mTab1).getTitle(); in updateTitle_incognito() 173 doReturn(true).when(mTab1).isIncognito(); in updateTitle_incognito() 198 doReturn(true).when(mTab1).isIncognito(); in updateRootId_incognito() 338 doReturn(title1).when(mTab1).getTitle(); in onTabStateInitialized() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/ |
H A D | TestDownloadAction.java | 93 doReturn(true).when(file).exists(); in testExistingAndVerifiedFilesAreNotDownloadedAgain() 96 doReturn(true).when(action).verify(eq(file), anyString()); in testExistingAndVerifiedFilesAreNotDownloadedAgain() 115 doReturn(false).when(temporaryFile).exists(); in testServerErrorsAreRecoverable() 135 doReturn(false).when(temporaryFile).exists(); in testClientErrorsAreUnrecoverable() 169 doNothing().when(action).download(anyString(), eq(file)); in testSuccessfulDownloadsAreMarkedAsDownloaded() 476 doReturn(false).when(destinationFile).exists(); in testDiskIOErrorIsCountedAsFailure() 478 doReturn(false).when(parentFile).mkdirs(); in testDiskIOErrorIsCountedAsFailure() 479 doReturn(false).when(parentFile).exists(); in testDiskIOErrorIsCountedAsFailure() 589 doReturn(exists).when(file).exists(); in mockFileWithUsableSpace() 590 doReturn(length).when(file).length(); in mockFileWithUsableSpace() [all …]
|
/dports/devel/py-gevent/gevent-21.8.0/src/gevent/tests/ |
H A D | known_failures.py | 114 self.when = when 131 self.when, bool(self.when), 215 when=WIN 219 when=WIN, 297 when=PYPY & LIBUV 307 when=PYPY & TRAVIS 363 when=TRAVIS & OSX 390 when=COVERAGE, 405 when=APPVEYOR 420 when=CI & LEAKTEST [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/libratbox/src/ |
H A D | event.c | 96 ev->when = rb_current_time() + when; in rb_event_add() 97 ev->next = when; in rb_event_add() 98 ev->frequency = when; in rb_event_add() 102 event_time_min = ev->when; in rb_event_add() 105 rb_io_sched_event(ev, when); in rb_event_add() 117 ev->when = rb_current_time() + when; in rb_event_addonce() 118 ev->next = when; in rb_event_addonce() 122 event_time_min = ev->when; in rb_event_addonce() 317 if(ev->when > by) in rb_set_back_events() 318 ev->when -= by; in rb_set_back_events() [all …]
|
/dports/news/fidogate/fidogate-5.10-3-g1c1fd41/tests/common/ |
H A D | test-log-fglog-syslog.c | 29 when(option, is_equal_to(LOG_PID)), in Ensure() 30 when(facility, is_equal_to(FACILITY))); in Ensure() 66 when(priority, is_equal_to(LOG_NOTICE))); in Ensure() 69 when(stream, is_equal_to(NULL)), in Ensure() 82 when(priority, is_equal_to(LOG_NOTICE))); in Ensure() 85 when(stream, is_equal_to(NULL)), in Ensure() 92 when(stream, is_equal_to(NULL)), in Ensure() 93 when(res_str, is_equal_to_string(exp))); in Ensure() 109 when(stream, is_equal_to(NULL)), in Ensure() 124 when(stream, is_equal_to(NULL)), in Ensure() [all …]
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libnghttp2-sys-0.1.7+1.45.0/nghttp2/third-party/mruby/tasks/toolchains/ |
H A D | android.rake | 121 when :gcc 123 when :clang 166 when /darwin/i 168 when /x86_64-linux/i 170 when /linux/i 263 when :gcc 273 when :clang 310 when :gcc 311 when :clang 331 when :gcc [all …]
|
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libnghttp2-sys-0.1.6+1.43.0/nghttp2/third-party/mruby/tasks/toolchains/ |
H A D | android.rake | 121 when :gcc 123 when :clang 166 when /darwin/i 168 when /x86_64-linux/i 170 when /linux/i 263 when :gcc 273 when :clang 310 when :gcc 311 when :clang 331 when :gcc [all …]
|
/dports/www/libnghttp2/nghttp2-1.46.0/third-party/mruby/tasks/toolchains/ |
H A D | android.rake | 121 when :gcc 123 when :clang 166 when /darwin/i 168 when /x86_64-linux/i 170 when /linux/i 263 when :gcc 273 when :clang 310 when :gcc 311 when :clang 331 when :gcc [all …]
|
/dports/www/nghttp2/nghttp2-1.46.0/third-party/mruby/tasks/toolchains/ |
H A D | android.rake | 121 when :gcc 123 when :clang 166 when /darwin/i 168 when /x86_64-linux/i 170 when /linux/i 263 when :gcc 273 when :clang 310 when :gcc 311 when :clang 331 when :gcc [all …]
|
/dports/emulators/qemu/qemu-6.2.0/disas/ |
H A D | meson.build | 4 common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c')) 6 common_ss.add_all(when: 'CONFIG_ARM_A64_DIS', if_true: libvixl_ss) 7 common_ss.add(when: 'CONFIG_ARM_DIS', if_true: files('arm.c')) 8 common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c')) 10 common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c')) 11 common_ss.add(when: 'CONFIG_I386_DIS', if_true: files('i386.c')) 12 common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c')) 14 common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c')) 17 common_ss.add(when: 'CONFIG_PPC_DIS', if_true: files('ppc.c')) 20 common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c')) [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/disas/ |
H A D | meson.build | 4 common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c')) 6 common_ss.add_all(when: 'CONFIG_ARM_A64_DIS', if_true: libvixl_ss) 7 common_ss.add(when: 'CONFIG_ARM_DIS', if_true: files('arm.c')) 8 common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c')) 10 common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c')) 11 common_ss.add(when: 'CONFIG_I386_DIS', if_true: files('i386.c')) 12 common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c')) 14 common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c')) 17 common_ss.add(when: 'CONFIG_PPC_DIS', if_true: files('ppc.c')) 20 common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c')) [all …]
|
/dports/science/cdk/cdk-cdk-2.3/tool/hash/src/test/java/org/openscience/cdk/hash/ |
H A D | SeedGeneratorTest.java | 15 import static org.mockito.Mockito.when; 87 when(m1.getAtom(0)).thenReturn(c1); in testGenerate_SizeSeeding() 88 when(m1.getAtom(1)).thenReturn(c2); in testGenerate_SizeSeeding() 89 when(m1.getAtom(2)).thenReturn(c3); in testGenerate_SizeSeeding() 90 when(m1.getAtom(3)).thenReturn(c4); in testGenerate_SizeSeeding() 91 when(m1.getAtom(4)).thenReturn(c5); in testGenerate_SizeSeeding() 94 when(m2.getAtom(0)).thenReturn(c1); in testGenerate_SizeSeeding() 95 when(m2.getAtom(1)).thenReturn(c2); in testGenerate_SizeSeeding() 96 when(m2.getAtom(2)).thenReturn(c3); in testGenerate_SizeSeeding() 97 when(m2.getAtom(3)).thenReturn(c4); in testGenerate_SizeSeeding() [all …]
|
/dports/www/firefox/firefox-99.0/testing/web-platform/meta/scroll-animations/scroll-timelines/ |
H A D | scroll-animation-effect-phases.tentative.html.ini | 14 [Current times and effect phase after effect endDelay when delay = 0 and endDelay = 500 |] 17 [Current times and effect phase at timeline start when delay = 0 and endDelay = 500 |] 23 [Current times and effect phase before effect delay when delay = 500 and endDelay = 0 |] 26 [Current times and effect phase in timeline range when delay = 0 and endDelay = 500 |] 32 [Current times and effect phase at timeline end when delay = 0 and endDelay = -250 |] 35 [Current times and effect phase at timeline end when delay = -250 and endDelay = 0 |] 56 [Current times and effect phase after timeline end when delay = 0 and endDelay = 0 |] 59 [Current times and effect phase at effect end when delay = 0 and endDelay = 500 |] 65 [Current times and effect phase at timeline end when delay = 500 and endDelay = 0 |] 71 [Current times and effect phase at timeline start when delay = 0 and endDelay = 0 |] [all …]
|
/dports/lang/lfe/lfe-1.3/dev/ |
H A D | test_guard.lfe | 11 ;;((tuple 'ok z) (when z) (d 'z z)) 39 ([x y] (when (if (> (+ x y) 10) 'true 49 ([x y z] (when (and (> x 0) 56 ([x y z] (when 'true) 1) 57 ([x y z] (when 'false) 2) 58 ([x y z] (when 'x 'y) 3) 59 ([x y z] (when (and x y)) 4) 60 ([x y z] (when '67 'z) 5) 61 ([x y z] (when (and '67 'z)) 6) 62 ([x y z] (when 'x '89 'z) 7) [all …]
|
/dports/www/cutelyst/cutelyst-3.2.0/EventLoopEPoll/ |
H A D | timers_p.cpp | 51 when = info->when; in calculateCoarseTimerTimeout() 122 ++when.tv_sec; in calculateCoarseTimerTimeout() 123 when.tv_usec = 0; in calculateCoarseTimerTimeout() 146 struct timeval when; in calculateNextTimeout() local 150 info->when = now; in calculateNextTimeout() 171 when = info->when; in calculateNextTimeout() 175 timeradd(&info->when, &tv_interval, &info->when); in calculateNextTimeout() 180 when = info->when; in calculateNextTimeout() 183 when = now; in calculateNextTimeout() 187 timeradd(&info->when, &tv_interval, &info->when); in calculateNextTimeout() [all …]
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/compiler/test/ |
H A D | lfe_guard_SUITE.core | 76 when try 91 when try 133 when try 161 when try 201 when try 225 when try 668 when try 683 when try 1163 when try 1174 when try [all …]
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/compiler/test/ |
H A D | lfe_guard_SUITE.core | 76 when try 91 when try 133 when try 161 when try 201 when try 225 when try 668 when try 683 when try 1163 when try 1174 when try [all …]
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/compiler/test/ |
H A D | lfe_guard_SUITE.core | 74 when try 89 when try 131 when try 159 when try 199 when try 223 when try 666 when try 681 when try 1161 when try 1172 when try [all …]
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/compiler/test/ |
H A D | lfe_guard_SUITE.core | 76 when try 91 when try 133 when try 161 when try 201 when try 225 when try 668 when try 683 when try 1163 when try 1174 when try [all …]
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/compiler/test/ |
H A D | lfe_guard_SUITE.core | 76 when try 91 when try 133 when try 161 when try 201 when try 225 when try 668 when try 683 when try 1163 when try 1174 when try [all …]
|
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/compiler/test/ |
H A D | lfe_guard_SUITE.core | 76 when try 91 when try 133 when try 161 when try 201 when try 225 when try 668 when try 683 when try 1163 when try 1174 when try [all …]
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/compiler/test/ |
H A D | lfe_guard_SUITE.core | 74 when try 89 when try 131 when try 159 when try 199 when try 223 when try 666 when try 681 when try 1161 when try 1172 when try [all …]
|