Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,364 for main (0.14 seconds)

  1. src/main/java/jcifs/smb/MultiChannelManager.java

            try {
                // Get available network interfaces
                List<NetworkInterface> availableInterfaces = getAvailableNetworkInterfaces();
    
                int channelsToCreate = Math.min(maxChannels, Math.min(serverAddresses.size(), availableInterfaces.size()));
                log.debug("Creating {} channels for session {}", channelsToCreate, sessionId);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  2. PULL_REQUESTS_ETIQUETTE.md

    2. **Commits**:
       - Write clear messages: what changed and why (e.g., “Refactor S3 API handler to reduce latency so that requests process 20% faster”).
       - Rebase to tidy commits before submitting (e.g., `git rebase -i main` to squash typos or reword messages), unless multiple contributors worked on the branch.
       - Keep PRs focused—one feature or fix. Split large changes into multiple PRs.
    
    3. **Testing**:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun May 25 16:32:03 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        }
    
        @Test
        public void test_suppressedExceptions() {
            // Test suppressed exceptions functionality
            ResultOffsetExceededException mainException = new ResultOffsetExceededException("Main exception");
            ResultOffsetExceededException suppressedException = new ResultOffsetExceededException("Suppressed exception");
    
            mainException.addSuppressed(suppressedException);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  4. fastapi/.agents/skills/fastapi/SKILL.md

    @router.get("/")
    async def list_items():
        return []
    
    
    # In main.py
    app.include_router(router)
    ```
    
    instead of this:
    
    ```python
    # DO NOT DO THIS
    from fastapi import APIRouter, FastAPI
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("/")
    async def list_items():
        return []
    
    
    # In main.py
    app.include_router(router, prefix="/items", tags=["items"])
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. docs/en/docs/deployment/server-workers.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/settings.md

    注意現在我們不再建立預設實例 `settings = Settings()`。
    
    ### 主應用程式檔案 { #the-main-app-file }
    
    現在我們建立一個相依,回傳新的 `config.Settings()`。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[6,12:13] *}
    
    /// tip
    
    我們稍後會討論 `@lru_cache`。
    
    現在你可以先把 `get_settings()` 視為一般函式。
    
    ///
    
    接著我們可以在*路徑操作函式 (path operation function)* 中將它宣告為相依,並在需要的地方使用它。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

                processor.init();
    
                final ExecutorService executor = Executors.newFixedThreadPool(2);
                try {
                    // Thread 1: Repeatedly set main searcher
                    executor.submit(() -> {
                        try {
                            startLatch.await();
                            for (int i = 0; i < numIterations; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  8. doc/asm.html

    (the actual output may differ from what you see here):
    </p>
    
    <pre>
    $ cat x.go
    package main
    
    func main() {
    	println(3)
    }
    $ GOOS=linux GOARCH=amd64 go tool compile -S x.go        # or: go build -gcflags -S x.go
    "".main STEXT size=74 args=0x0 locals=0x10
    	0x0000 00000 (x.go:3)	TEXT	"".main(SB), $16-0
    	0x0000 00000 (x.go:3)	MOVQ	(TLS), CX
    	0x0009 00009 (x.go:3)	CMPQ	SP, 16(CX)
    	0x000d 00013 (x.go:3)	JLS	67
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

         * code may someday upset Error Prone. We want the test, though, in case that changes in the
         * future, so we will suppress any such future Error Prone reports.
         */
        assertWithMessage(
                "Can't test the main listenInPoolThread path "
                    + "if the input is already a ListenableFuture")
            .that(input)
            .isNotInstanceOf(ListenableFuture.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. benchmarks/README.md

    Before adding a new microbenchmark, make yourself familiar with the JMH API. You can check our existing microbenchmarks and also the
    [JMH samples](http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/).
    
    In contrast to tests, the actual name of the benchmark class is not relevant to JMH. However, stick to the naming convention and
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
Back to Top