- Sort Score
- Num 10 results
- Language All
Results 3111 - 3120 of 3,306 for _value (0.09 seconds)
-
cmd/erasure-metadata_test.go
t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index) } } } // Test objectPartIndex(). generates a sample FileInfo data and asserts // the output of objectPartIndex() with the expected value. func TestObjectPartIndex(t *testing.T) { testCases := []struct { partNum int expectedIndex int }{ {2, 1}, {1, 0}, {5, 3}, {4, 2}, {7, 4}, } // Setup.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
src/archive/tar/writer_test.go
*/ }, { file: "testdata/trailing-slash.tar", tests: []testFnc{ testHeader{Header{Name: strings.Repeat("123456789/", 30)}, nil}, testClose{nil}, }, }, { // Automatically promote zero value of Typeflag depending on the name. file: "testdata/file-and-dir.tar", tests: []testFnc{ testHeader{Header{Name: "small.txt", Size: 5}, nil}, testWrite{"Kilts", 5, nil}, testHeader{Header{Name: "dir/"}, nil},Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
commandField.setAccessible(true); int command = (int) commandField.get(req); assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value // Verify path is set correctly Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path"); pathField.setAccessible(true); String actualPath = (String) pathField.get(req);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
docs/zh/docs/features.md
"name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info | 信息 `**second_user_data` 意思是: 直接将 `second_user_data` 字典的键和值作为 key-value 参数传入,等同于:`User(id=4, name="Mary", joined="2018-11-30")` /// ### 编辑器支持 { #editor-support } 整个框架都被设计得易于使用且直观,所有的决定都在开发之前就在多个编辑器上进行了测试,来确保最佳的开发体验。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ListeningScheduledExecutorService service = listeningDecorator(delegate); ListenableFuture<Integer> future = service.schedule(Callables.returning(42), 1, MILLISECONDS); /* * Wait not just until the Future's value is set (as in future.get()) but * also until ListeningScheduledExecutorService's wrapper task is done * executing listeners, as detected by yielding control to afterExecute. */ completed.await();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
* </p> * <p> * If the source object is a {@link Date}, {@link Calendar}, or {@link java.sql.Date}, the converted object is created using the millisecond value of the source. * For other types, the converted object is created from the string representation of the source object. * </p> * <p>Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertArrayEquals(expectedName, actualName); verify(request, times(1)).getName(); } @Test @DisplayName("getName() should handle null return value") void testGetNameWithNull() { CreateContextRequest request = mock(CreateContextRequest.class); when(request.getName()).thenReturn(null); byte[] actualName = request.getName();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
docs/zh-hant/docs/python-types.md
* 變數 `items_s` 是一個 `set`,而其中每個項目都是 `bytes` 型別。 #### Dict { #dict } 定義 `dict` 時,你需要傳入 2 個以逗號分隔的型別參數。 第一個型別參數是 `dict` 的鍵(key)。 第二個型別參數是 `dict` 的值(value): {* ../../docs_src/python_types/tutorial008_py310.py hl[1] *} 這代表: * 變數 `prices` 是個 `dict`: * 這個 `dict` 的鍵是 `str`(例如每個項目的名稱)。 * 這個 `dict` 的值是 `float`(例如每個項目的價格)。 #### Union { #union }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.7K bytes - Click Count (0) -
fastapi/params.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.7K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle.go
func (lc Lifecycle) Eval(obj ObjectOpts) Event { return lc.eval(obj, time.Now().UTC(), 0) } // eval returns the lifecycle event applicable at the given now. If now is the // zero value of time.Time, it returns the upcoming lifecycle event. func (lc Lifecycle) eval(obj ObjectOpts, now time.Time, remainingVersions int) Event { var events []Event if obj.ModTime.IsZero() { return Event{} }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 03 06:45:06 GMT 2025 - 18.2K bytes - Click Count (0)