Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for EXIT (0.04 sec)

  1. mvnw

          break
        fi
        # workaround for JBEAP-8937 (on Solaris 10/Sparc)
        if [ -d "${wdir}" ]; then
          wdir=$(
            cd "$wdir/.." || exit 1
            pwd
          )
        fi
        # end of workaround
      done
      printf '%s' "$(
        cd "$basedir" || exit 1
        pwd
      )"
    }
    
    # concatenates all lines of a file
    concat_lines() {
      if [ -f "$1" ]; then
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # 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 Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    # Abhängigkeiten mit yield
    
    FastAPI unterstützt Abhängigkeiten, die nach Abschluss einige <abbr title="Manchmal auch genannt „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontext Manager Exit Code“, usw.">zusätzliche Schritte ausführen</abbr>.
    
    Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach.
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/maven/bin/mvn

          echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" does not exist." >&2
          exit 1
        fi
      fi
    else
      JAVACMD="`\\unset -f command; \\command -v java`"
    
      if [ ! -x "$JAVACMD" ] ; then
        echo "The java(1) command does not exist in PATH nor is JAVA_HOME set, so Apache Maven cannot be started." >&2
        exit 1
      fi
    fi
    
    # traverses directory structure from process work directory to filesystem root
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                StringBuilder tokBuf = new StringBuilder(10);
                String tok;
                boolean inQuote = false;
                boolean tokStarted = false;
                boolean exit = false;
                while ((st.hasMoreTokens()) && (!exit)) {
                    tok = st.nextToken(tokenList);
                    switch (tok) {
                        case "\"":
                            inQuote = !inQuote;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. helm/minio/templates/post-job.yaml

              {{- if .Values.makePolicyJob.exitCommand }}
              command: [ "/bin/sh", "-c" ]
              args: [ "/bin/sh /config/add-policy; EV=$?; {{ .Values.makePolicyJob.exitCommand }} && exit $EV" ]
              {{- else }}
              command: [ "/bin/sh", "/config/add-policy" ]
              {{- end }}
              env:
                - name: MINIO_ENDPOINT
                  value: {{ template "minio.fullname" . }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/maven/bin/mvn.cmd

            exit /b 1
        )
        set "MAVEN_OPTS=-agentpath:%YJPLIB%=onexit=snapshot,onexit=memory,tracing,onlylocal %MAVEN_OPTS%"
    ) else if "%~1"=="--enc" (
        set "MAVEN_MAIN_CLASS=org.apache.maven.cling.MavenEncCling"
    )
    exit /b 0
    
    :processArgs
    if "%~1"=="" exit /b 0
    call :handleArgs %1
    shift
    goto processArgs
    
    :endHandleArgs
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. mvnw.cmd

    :skipRcPost
    
    @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
    if "%MAVEN_BATCH_PAUSE%"=="on" pause
    
    if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                assertTrue(deployedFile.exists());
                assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim());
            } finally {
                sessionScope.exit();
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. docs/bucket/lifecycle/setup_ilm_transition.sh

    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    	rm -rf /tmp/multisiteb
    	if [ $# -ne 0 ]; then
    		exit $#
    	fi
    }
    
    catch
    
    export MINIO_CI_CD=1
    export MINIO_BROWSER=off
    export MINIO_KMS_AUTO_ENCRYPTION=off
    export MINIO_PROMETHEUS_AUTH_TYPE=public
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top