- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 281 for exit (0.02 sec)
- 
				
				src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.javatry { ByteArrayOutputStream errContent = new ByteArrayOutputStream(); System.setErr(new PrintStream(errContent)); String[] args = { "--help" }; // Note: main calls System.exit, so we can't test it directly // Instead, we test the parsing logic separately System.setErr(originalErr); } catch (Exception e) { System.setErr(originalErr); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0)
- 
				
				docs/en/docs/tutorial/dependencies/dependencies-with-yield.md# Dependencies with yield { #dependencies-with-yield } FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>. To do this, use `yield` instead of `return`, and write the extra steps (code) after. /// tip Make sure to use `yield` one single time per dependency. /// /// note | Technical DetailsRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.7K bytes - Viewed (0)
- 
				
				gradlewAPP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum warn () { echo "$*" } >&2 die () { echo echo "$*" echo exit 1 } >&2 # OS specific support (must be 'true' or 'false'). cygwin=false msys=false darwin=falseRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 8.5K bytes - Viewed (0)
- 
				
				android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.javaThread.interrupted(); if (interruptingThread.isAlive()) { // This will be hidden by test-output redirection: logger.severe("InterruptenatorTask did not exit; future tests may be affected"); /* * This won't do any good under JUnit 3, but I'll leave it around in * case we ever switch to JUnit 4: */ fail(); Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0)
- 
				
				tests/compose.ymlRegistered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 04 04:07:30 UTC 2025 - 1.9K bytes - Viewed (0)
- 
				
				.teamcity/scripts/configure_build_env_on_ec2.shcurl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id" IS_EC2_INSTANCE=$? if [ $IS_EC2_INSTANCE -ne 0 ]; then echo "Not running on an EC2 instance, skipping the configuration" exit 0 fi # TAG EC2_INSTANCE_TYPE=$(curl -s "http://169.254.169.254/latest/meta-data/instance-type") echo "##teamcity[addBuildTag 'ec2-instance-type=$EC2_INSTANCE_TYPE']" Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Aug 27 08:28:30 UTC 2025 - 2K bytes - Viewed (0)
- 
				
				.github/workflows/check-commits.ymlexit 1 fiRegistered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Sep 04 22:13:34 UTC 2025 - 3K bytes - Viewed (0)
- 
				
				cmd/metacache-set.godefer ticker.Stop() var exit bool for !exit { select { case <-ticker.C: case <-ctx.Done(): exit = true } metaMu.Lock() meta := *mc.meta meta, err = o.updateMetacacheListing(meta, rpc) if err == nil && time.Since(meta.lastHandout) > metacacheMaxClientWait { cancel() exit = true meta.status = scanStateError Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.7K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb1/smb1/TestLocking.java*/ public static void main(final String[] args) throws Exception { if (args.length < 1) { logger.error("usage: TestLocking [-t <numThreads>] [-i <numIter>] [-d <delay>] url"); System.exit(1); } final TestLocking t = new TestLocking(); t.ltime = System.currentTimeMillis(); for (int ai = 0; ai < args.length; ai++) { if (args[ai].equals("-t")) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java// Cannot directly test main as it calls System.exit // Test argument parsing instead SuggestCreator.Options options = new SuggestCreator.Options(); assertNotNull(options); } // Test main method with valid arguments public void test_main_validArguments() { // Cannot directly test main as it calls System.exit // Test options parsing insteadRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0)