- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 332 for SMALL (0.02 seconds)
-
docs/en/docs/tutorial/background-tasks.md
But if you need to access variables and objects from the same **FastAPI** app, or you need to perform small background tasks (like sending an email notification), you can simply just use `BackgroundTasks`. ## Recap { #recap }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; /** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small * helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.UniAddress; /** * Very small test suite that exercises the most important state-changing * behaviour of {@link SmbSession}. The tests use Mockito to stub the * heavy network interactions through {@link SmbTransport}. */ @ExtendWith(MockitoExtension.class)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
And all of them (or any portion of them that you want) can take advantage of re-using these dependencies or any other dependencies you create. And all these thousands of *path operations* can be as small as 3 lines: {* ../../docs_src/security/tutorial002_an_py310.py hl[30:32] *} ## Recap { #recap } You can now get the current user directly in your *path operation function*. We are already halfway there.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Verify we can acquire the tree tree.acquire(); successCount.incrementAndGet(); // Small delay to increase chance of race conditions Thread.yield(); } } catch (Exception e) { exceptions.add(e); } finally {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
resetWithHole(); assertEquals(c, navigableSet.higher(a)); assertEquals(c, navigableSet.higher(b)); assertEquals(null, navigableSet.higher(c)); } /* * TODO(cpovirk): make "too small" and "too large" elements available for better navigation * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that * ContiguousSet's tests would no longer need to suppress them. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
## Order the parameters as you need, tricks { #order-the-parameters-as-you-need-tricks } /// tip This is probably not as important or necessary if you use `Annotated`. /// Here's a **small trick** that can be handy, but you won't need it often. If you want to: * declare the `q` query parameter without a `Query` nor any default value * declare the path parameter `item_id` using `Path`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
@Test @DisplayName("Should throw exception when buffer too small for path") void testBufferTooSmallForPath() throws Exception { // Given String longPath = "\\\\server\\very_long_share_name_that_exceeds_buffer"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath); byte[] smallBuffer = new byte[20]; // Too small for header + path // When & ThenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
assertEscaping(xmlEscaper, "\uFFFD", ch); } } // Test _all_ allowed characters (including surrogate values). for (char ch = 0x20; ch <= 0xFFFD; ch++) { // There are a small number of cases to consider, so just do it manually. if (ch == '&') { assertEscaping(xmlEscaper, "&", ch); } else if (ch == '<') { assertEscaping(xmlEscaper, "<", ch);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 22:03:28 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
assertEquals(sourceData.length, result); assertArrayEquals(sourceData, smallOutputBuffer); } @Test void testReadDataWireFormatExceedsBufferSize() { // Create a response with small output buffer byte[] smallOutputBuffer = new byte[5]; TransCallNamedPipeResponse smallResponse = new TransCallNamedPipeResponse(mockConfig, smallOutputBuffer); byte[] buffer = new byte[100];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0)