- Sort Score
- Result 10 results
- Languages All
Results 7841 - 7850 of 7,967 for the (0.02 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.DfsReferralData; /** * Test class for DfsReferralDataInternal interface * Tests the interface contract using mock implementations and concrete class */ @DisplayName("DfsReferralDataInternal Interface Tests") class DfsReferralDataInternalTest { @MockRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/request-files.md
* `seek(offset)`: Переміщується до позиції `offset` (`int`) у файлі. * Наприклад, `await myfile.seek(0)` поверне курсор на початок файлу. * This is especially useful if you run `await myfile.read()` once and then need to read the contents again. Це особливо корисно, якщо Ви виконуєте await `await myfile.read()` один раз, а потім потрібно знову прочитати вміст. * `close()`: Закриває файл.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 22 22:01:44 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/ja/docs/deployment/server-workers.md
ここでは<a href="https://gunicorn.org/" class="external-link" target="_blank">**Gunicorn**</a>が**Uvicornのワーカー・プロセス**を管理する場合の使い方について紹介していきます。 /// info <!-- NOTE: the current version of docker.md is outdated compared to English one. --> DockerやKubernetesなどのコンテナを使用している場合は、次の章で詳しく説明します: [コンテナ内のFastAPI - Docker](docker.md){.internal-link target=_blank}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
outputBuffer = new byte[1024]; response = new TransCallNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properly byte[] testData = new byte[] { 1, 2, 3, 4, 5 }; TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData); assertNotNull(testResponse);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
@Mock private SmbResource parent; @Mock private SmbResource resource; @Mock private FileEntry fileEntry; /** * Test implementation that always returns the same mock resource */ private class TestIterator extends FileEntryAdapterIterator { TestIterator(ResourceFilter filter) { super(parent, delegate, filter); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class FileEntryTest { @Mock FileEntry mockEntry; // Simple fake implementation to exercise the interface without mocks private static final class TestFileEntry implements FileEntry { private final String name; private final int type; private final int attributes;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params-numeric-validations.md
Si vous avez une version plus ancienne, vous obtiendrez des erreurs en essayant d'utiliser `Annotated`. Assurez-vous de [Mettre à jour la version de FastAPI](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} à la version 0.95.1 à minima avant d'utiliser `Annotated`. /// ## Déclarer des métadonnées Vous pouvez déclarer les mêmes paramètres que pour `Query`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(config); when(config.getPid()).thenReturn(1234); // Stub send to populate the provided response instance via reflection Mockito.doAnswer(inv -> { Object resp = inv.getArgument(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
int encodedLength = request.encode(buffer, 0); assertEquals(26, encodedLength); // Verify dialect count assertEquals(1, SMBUtil.readInt2(buffer, 22)); // Verify the single dialect assertEquals(0x0311, SMBUtil.readInt2(buffer, 24)); } @Test @DisplayName("Test encode with maximum capabilities value") void testEncodeWithMaxCapabilities() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0)