Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,087 for main (0.01 seconds)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

            File(projectDir, "settings.gradle.kts").writeText(generateSettingsGradleKts(version))
            File(projectDir, "gradle.properties").writeText(generateGradleProperties())
    
            val manifestDir = File(projectDir, "src/main")
            manifestDir.mkdirs()
            File(manifestDir, "AndroidManifest.xml").writeText(generateAndroidManifest())
        }
    
        private fun generateBuildGradle(version: SdkVersion): String =
            """
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 09:24:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            HttpUrl linkWithoutFragment = link.newBuilder().fragment(null).build();
            if (!queue.offer(linkWithoutFragment)) break; // Queue is full.
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
          System.out.println("Usage: Crawler <cache dir> <root>");
          return;
        }
    
        int threadCount = 20;
        int queueLimit = 1000;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

            // Add a Java module. It should relax the restriction on artifactId.
            projectManager.addSourceRoot(
                    project,
                    new DefaultSourceRoot(
                            ProjectScope.MAIN,
                            Language.JAVA_FAMILY,
                            "org.foo.bar",
                            null,
                            Path.of("myProject"),
                            null,
                            null,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/index.md

    또한 향후에도 참조 자료로 쓰일 수 있도록 작성되었습니다.
    
    그러므로 필요할 때에 다시 돌아와서 원하는 것을 정확히 찾을 수 있습니다.
    
    ## 코드 실행하기
    
    모든 코드 블록은 복사하여 바로 사용할 수 있습니다(실제로 테스트된 파이썬 파일입니다).
    
    예제를 실행하려면 코드를 `main.py` 파일에 복사하고 다음을 사용하여 `uvicorn`을 시작합니다:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

            for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {
              println((peerCertificate as X509Certificate).subjectDN)
            }
          }
      }
    }
    
    fun main() {
      CustomTrust().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

     * Usage: `mvn compile exec:java@update-test-buckets -DinputTestClassDataJson=/path/to/test-class-data.json`.
     * You can get the JSON file as an artifacts of the "autoUpdateTestSplitJsonOnGradleMaster" pipeline in TeamCity.
     */
    fun main() {
        val model =
            CIBuildModel(
                projectId = "Check",
                branch = VersionedSettingsBranch("master"),
                buildScanTags = listOf("Check"),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. docs/es/docs/index.md

    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>Acerca del comando <code>fastapi dev main.py</code>...</summary>
    
    El comando `fastapi dev` lee tu archivo `main.py`, detecta la app **FastAPI** en él y arranca un servidor usando <a href="https://www.uvicorn.dev" class="external-link" target="_blank">Uvicorn</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/index.md

    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>關於指令 <code>uvicorn main:app --reload</code>...</summary>
    
    該指令 `uvicorn main:app` 指的是:
    
    - `main`:`main.py` 檔案(一個 python 的 "模組")。
    - `app`:在 `main.py` 檔案中,使用 `app = FastAPI()` 建立的物件。
    - `--reload`:程式碼更改後會自動重新啟動,請僅在開發時使用此參數。
    
    </details>
    
    ### 檢查
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. src/archive/tar/writer.go

    		var nf int // Bytes written in fragment
    		dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset()
    		if sw.pos < dataStart { // In a hole fragment
    			bf := b[:min(int64(len(b)), dataStart-sw.pos)]
    			nf, err = zeroWriter{}.Write(bf)
    		} else { // In a data fragment
    			bf := b[:min(int64(len(b)), dataEnd-sw.pos)]
    			nf, err = sw.fw.Write(bf)
    		}
    		b = b[nf:]
    		sw.pos += int64(nf)
    		if sw.pos >= dataEnd && len(sw.sp) > 1 {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

         */
        private const val IMGUR_CLIENT_ID = "9199fdef135c122"
        private val MEDIA_TYPE_PNG = "image/png".toMediaType()
      }
    }
    
    fun main() {
      PostMultipart().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top