Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 1,643 for ways (0.21 sec)

  1. fastapi/applications.py

                        ExceptionMiddleware, handlers=exception_handlers, debug=debug
                    ),
                    # Add FastAPI-specific AsyncExitStackMiddleware for closing files.
                    # Before this was also used for closing dependencies with yield but
                    # those now have their own AsyncExitStack, to properly support
                    # streaming responses while keeping compatibility with the previous
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                    // this is so damn unreliable, needs another race-prone query if required
                    haveAttributes = false;
    
                    // This seems to be the only way to obtain a reliable (with respect to locking) file size here
                    // It is more critical than other attributes because append mode depends on it.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. docs/zh-hant/docs/async.md

        return burgers
    ```
    
    使用 `async def`,Python Python 知道在該函式內需要注意 `await`,並且它可以「暫停」 ⏸ 執行該函式,然後執行其他任務 🔀 後回來。
    
    當你想要呼叫 `async def` 函式時,必須使用「await」。因此,這樣寫將無法運行:
    
    ```Python
    # This won't work, because get_burgers was defined with: async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    如果你正在使用某個函式庫,它告訴你可以使用 `await` 呼叫它,那麼你需要用 `async def` 定義*路徑操作函式*,如:
    
    ```Python hl_lines="2-3"
    @app.get('/burgers')
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  4. docs/zh/docs/async.md

        return burgers
    ```
    
    使用 `async def`,Python 就知道在该函数中,它将遇上 `await`,并且它可以"暂停" ⏸ 执行该函数,直至执行其他操作 🔀 后回来。
    
    当你想调用一个 `async def` 函数时,你必须"等待"它。因此,这不会起作用:
    
    ```Python
    # This won't work, because get_burgers was defined with: async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    因此,如果你使用的库告诉你可以使用 `await` 调用它,则需要使用 `async def` 创建路径操作函数 ,如:
    
    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) && addr.equals(this.address)
                    && (prt == 0 || prt == this.port ||
                    /* port 139 is ok if 445 was requested */
                            prt == 445 && this.port == 139)
                    && (laddr == this.localAddr || laddr != null && laddr.equals(this.localAddr)) && lprt == this.localPort;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

                .put(10, 0)
                .build();
    
        assertThrows(IllegalArgumentException.class, () -> Maps.subMap(map, Range.closed(4, 8)));
    
        // These results are all incorrect, but there's no way (short of iterating over the result)
        // to verify that with an arbitrary ordering or comparator.
        assertEquals(ImmutableSortedMap.of(2, 0, 4, 0), Maps.subMap(map, Range.atLeast(4)));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    	// Create "obj" under "bucket".
    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), opts)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Object was uploaded with 4 known bad drives, so we should still be able to lose 3 drives and still write to the object.
    	erasureDisks = xl.getDisks()
    	z.serverPools[0].erasureDisksMu.Lock()
    	xl.getDisks = func() []StorageAPI {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    				}
    			}
    		}()
    	}
    
    	return nil
    }
    
    func newPoolMeta(z *erasureServerPools, prevMeta poolMeta) poolMeta {
    	newMeta := poolMeta{} // to update write poolMeta fresh.
    	// looks like new pool was added we need to update,
    	// or this is a fresh installation (or an existing
    	// installation with pool removed)
    	newMeta.Version = poolMetaVersion
    	for idx, pool := range z.serverPools {
    		var skip bool
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 42.2K bytes
    - Viewed (1)
  9. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/extensions/panache/hibernate-reactive-panache/runtime/pom.xml
    	quarkus/extensions/reactive-pg-client/runtime/pom.xml
    	quarkus/test-framework/junit5/pom.xml
    quarkus/integration-tests/kubernetes/maven-invoker-way/pom.xml
    	quarkus/extensions/container-image/container-image-docker/runtime/pom.xml
    	quarkus/extensions/container-image/container-image-jib/runtime/pom.xml
    	quarkus/test-framework/maven/pom.xml
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 224K bytes
    - Viewed (0)
  10. src/main/webapp/css/admin/adminlte.min.css

    .375rem) calc(.75em + .375rem) no-repeat}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 0 rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custo...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 1.3M bytes
    - Viewed (0)
Back to top