Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,111 for main (0.02 seconds)

  1. .idea/scopes/Gradle_public_API.xml

    <component name="DependencyValidationManager">
        <!-- The source of truth for this pattern is `build-logic/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt` file, please keep them in sync -->
        <scope name="Gradle public API"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 18 15:08:47 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.curl.Main
    import okhttp3.internal.http.StatusLine
    import okio.sink
    
    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001_py39.py hl[48:52] *}
    
    Puedes recibir y enviar datos binarios, de texto y JSON.
    
    ## Pruébalo { #try-it }
    
    Si tu archivo se llama `main.py`, ejecuta tu aplicación con:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/environment-variables.md

    然後你可以呼叫這個 Python 程式:
    
    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    ```console
    // 這裡我們還沒有設定環境變數
    $ python main.py
    
    // 因為我們沒有設定環境變數,所以我們得到的是預設值
    
    Hello World from Python
    
    // 但是如果我們事先建立過一個環境變數
    $ export MY_NAME="Wade Wilson"
    
    // 然後再次呼叫程式
    $ python main.py
    
    // 現在就可以讀取到環境變數了
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 12:17:55 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note | 참고
    
    `uvicorn main:app` 명령은 다음을 의미합니다:
    
    * `main`: 파일 `main.py` (파이썬 "모듈").
    * `app`: `main.py` 내부의 `app = FastAPI()` 줄에서 생성한 오브젝트.
    * `--reload`: 코드 변경 시 자동으로 서버 재시작. 개발 시에만 사용.
    
    ///
    
    출력되는 줄들 중에는 아래와 같은 내용이 있습니다:
    
    ```hl_lines="4"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/pom.xml

                  <goal>java</goal>
                  <goal>xpp3-reader</goal>
                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
                    <model>src/main/mdo/remote-resources.mdo</model>
                  </models>
                </configuration>
              </execution>
              <execution>
                <id>supplemental-models</id>
                <goals>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/debugging.md

    ## Llama a `uvicorn` { #call-uvicorn }
    
    En tu aplicación de FastAPI, importa y ejecuta `uvicorn` directamente:
    
    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### Acerca de `__name__ == "__main__"` { #about-name-main }
    
    El objetivo principal de `__name__ == "__main__"` es tener algo de código que se ejecute cuando tu archivo es llamado con:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. buildscripts/test-timeout.sh

    	send_put_object_request 1 1 || exit -1
    	"${PWD}/mc" stat minio/testbucket/testobject || exit -1
    }
    
    function main() {
    	export start_port=$(shuf -i 10000-65000 -n 1)
    	export srv_hdr_timeout=5
    	export srv_idle_timeout=5
    	export -f gen_put_request
    
    	test_minio_with_timeout ${start_port}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  9. docs/iam/access-manager-plugin.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"strings"
    )
    
    var (
    	keyFile  string
    	certFile string
    )
    
    func init() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. buildscripts/resolve-right-versions.sh

    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" stat minio/bucket/testobj
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_5drive ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 16 14:51:33 GMT 2023
    - 1.5K bytes
    - Click Count (0)
Back to Top