- Sort Score
- Num 10 results
- Language All
Results 2591 - 2600 of 2,945 for methods (0.08 seconds)
-
docs/zh/docs/advanced/generate-clients.md
如果你为使用了标签的 FastAPI 应用生成客户端,通常也会根据标签来拆分客户端代码。 这样你就可以在客户端代码中把内容正确地组织和分组: <img src="/img/tutorial/generate-clients/image06.png"> 在这个例子中,你会有: * `ItemsService` * `UsersService` ### 客户端方法名 { #client-method-names } 现在,像 `createItemItemsPost` 这样的生成方法名看起来不太简洁: ```TypeScript ItemsService.createItemItemsPost({name: "Plumbus", price: 5}) ``` ...这是因为客户端生成器会把每个*路径操作*的 OpenAPI 内部**操作 ID(operation ID)**用作方法名的一部分。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md
Nous pouvons alors remplacer la dépendance « dependable » `common_parameters` ci‑dessus par la classe `CommonQueryParams` : {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *} Faites attention à la méthode `__init__` utilisée pour créer l'instance de la classe : {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *} ... il a les mêmes paramètres que notre précédent `common_parameters` :Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 }; PacDataInputStream pdis = createInputStream(data); SID sid = pdis.readId(); // The readId method creates a SID with authority 5 and the RID value // Expected format: S-1-5-305419896 String sidString = sid.toString(); assertNotNull(sidString); assertEquals("S-1-5-305419896", sidString);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
Then, we can change the dependency "dependable" `common_parameters` from above to the class `CommonQueryParams`: {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *} Pay attention to the `__init__` method used to create the instance of the class: {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *} ...it has the same parameters as our previous `common_parameters`:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
* Verifies that the new implementation correctly reads entire resource content. */ @Test public void testResourceReading_readAllBytesCorrectness() throws Exception { // Read using the new method (readAllBytes) String contentNew; try (InputStream is = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")) { assertNotNull("Resource should exist", is);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.SmbSession; /** * Tests for SmbTransportInternal interface using Mockito mocks to * exercise method contracts, checked exceptions, and interactions. */ @ExtendWith(MockitoExtension.class) public class SmbTransportInternalTest { @Mock private SmbTransportInternal transport; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
docs/en/docs/environment-variables.md
Hello Wade Wilson ``` </div> //// ## Read env vars in Python { #read-env-vars-in-python } You could also create environment variables **outside** of Python, in the terminal (or with any other method), and then **read them in Python**. For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
@SuppressWarnings("Interruption") public void run() { // If either of these reads return null then we must be after a successful cancel or another // call to this method. TimeoutFuture<V> timeoutFuture = timeoutFutureRef; if (timeoutFuture == null) { return; } @RetainedLocalRef ListenableFuture<V> delegate = timeoutFuture.delegateRef;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
src/main/java/jcifs/ACE.java
* * @return descriptive text for the ACE scope */ String getApplyToText(); /** * Returns the flags for this ACE. The <code>isInherited()</code> * method checks the <code>FLAGS_INHERITED</code> bit in these flags. * * @return the ACE flags */ int getFlags(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// When int bytesRead = transCallNamedPipe.readDataWireFormat(buffer, 0, buffer.length); // Then assertEquals(0, bytesRead); } @Test @DisplayName("Test toString method") void testToString() { // Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0)