- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 230 for 26 (0.03 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 1742412320 -0400
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11K bytes - Click Count (0) -
docs/zh/docs/advanced/testing-dependencies.md
对于这些用例,**FastAPI** 应用支持 `app.dependency_overrides` 属性,该属性就是**字典**。 要在测试时覆盖原有依赖项,这个字典的键应当是原依赖项(函数),值是覆盖依赖项(另一个函数)。 这样一来,**FastAPI** 就会调用覆盖依赖项,不再调用原依赖项。 {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip | 提示 **FastAPI** 应用中的任何位置都可以实现覆盖依赖项。 原依赖项可用于*路径操作函数*、*路径操作装饰器*(不需要返回值时)、`.include_router()` 调用等。 FastAPI 可以覆盖这些位置的依赖项。 /// 然后,使用 `app.dependency_overrides` 把覆盖依赖项重置为空**字典**:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/testing-dependencies.md
對這些情況,你的 FastAPI 應用程式有一個屬性 `app.dependency_overrides`,它是一個簡單的 `dict`。 要在測試時覆寫某個相依,把原始相依(函式)作為鍵,並把你的覆寫相依(另一個函式)作為值。 接著 FastAPI 會呼叫這個覆寫,而不是原本的相依。 {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip 你可以為應用程式中任何地方使用到的相依設定覆寫。 原始相依可以用在*路徑操作函式*、*路徑操作裝飾器*(當你不使用其回傳值時)、`.include_router()` 呼叫等。 FastAPI 仍然能夠將其覆寫。 /// 然後你可以將 `app.dependency_overrides` 設為空的 `dict` 以重設(移除)所有覆寫:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(24, encoded); assertEquals(offset, SMBUtil.readInt8(buffer, 10)); assertEquals(length, SMBUtil.readInt8(buffer, 18)); assertEquals(flags, SMBUtil.readInt4(buffer, 26)); assertEquals(0, SMBUtil.readInt4(buffer, 30)); } @Test @DisplayName("Should encode with all lock flags") void testEncodingWithAllFlags() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
internal/s3select/csv/testdata/testdata.zip
,4071702,I,QN18,Rego Park,4108,747,713.06,4,Queens,071306,4071306,I,QN17,Forest Hills,4108^3389324,2,2014-03-18 21:22:23,2014-03-18 21:40:44,N,1,-73.863784790039063,40.732776641845703,-73.936798095703125,40.764118194580078,5,8.70,25.5,0.5,0.5,0,0,,,26.5,2,1,196,193,green,0.00,0.0,0.0,43,28,6.93,1288,717.02,4,Queens,071702,4071702,I,QN18,Rego Park,4108,1419,43,4,Queens,004300,4004300,E,QN68,Queensbridge-Ravenswood-Long Island City,4101^3389325,2,2014-03-22 19:12:44,2014-03-22 19:27:00,N,1,-73.863...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 111.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/DES.java
(byte) 49, (byte) 41, (byte) 33, (byte) 25, (byte) 17, (byte) 9, (byte) 1, (byte) 58, (byte) 50, (byte) 42, (byte) 34, (byte) 26, (byte) 18, (byte) 10, (byte) 2, (byte) 59, (byte) 51, (byte) 43, (byte) 35, (byte) 62, (byte) 54, (byte) 46, (byte) 38, (byte) 30, (byte) 22, (byte) 14, (byte) 6, (byte) 61, (byte) 53, (byte) 45, (byte) 37, (byte) 29, (byte) 21,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 22.7K bytes - Click Count (0) -
src/bytes/buffer_test.go
type negativeReader struct{} func (r *negativeReader) Read([]byte) (int, error) { return -1, nil } func init() { testBytes = make([]byte, N) for i := 0; i < N; i++ { testBytes[i] = 'a' + byte(i%26) } testString = string(testBytes) } // Verify that contents of buf match the string s. func check(t *testing.T, testname string, buf *Buffer, s string) { bytes := buf.Bytes() str := buf.String()Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException { return "z"; } @Override protected String getValueNotInPopulatedMap() throws UnsupportedOperationException { return "26"; } /** Helper assertion comparing two maps */ private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { assertEquals(expected, map); assertEquals(expected.hashCode(), map.hashCode());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/custom-request-and-route.md
## 在路由器中自訂 `APIRoute` 類別 { #custom-apiroute-class-in-a-router } 你也可以在 `APIRouter` 上設定 `route_class` 參數: {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *} 在此範例中,`router` 底下的路徑操作會使用自訂的 `TimedRoute` 類別,並在回應中多加上一個 `X-Response-Time` 標頭,標示產生該回應所花費的時間:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/sts/client-grants.md
</AssumedRoleUser> <Credentials> <AccessKeyId>Y4RJU1RNFGK48LGO9I2S</AccessKeyId> <SecretAccessKey>sYLRKS1Z7hSjluf6gEbb9066hnx315wHTiACPAjg</SecretAccessKey> <Expiration>2019-08-08T20:26:12Z</Expiration>Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.2K bytes - Click Count (0)