- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,333 for multiple (0.06 seconds)
-
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
final boolean[] observedValues = new boolean[10]; final Thread[] threads = new Thread[10]; // Call stop() in main thread dataStore.stop(); // Multiple threads read the alive field for (int i = 0; i < 10; i++) { final int index = i; threads[i] = new Thread(() -> { observedValues[index] = dataStore.alive; });Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
docs/en/docs/tutorial/extra-models.md
If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing). /// ## Multiple models { #multiple-models } Here's a general idea of how the models could look like with their password fields and the places where they are used: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
cmd/service.go
argv0, err := exec.LookPath(os.Args[0]) if err != nil { return err } // Invokes the execve system call. // Re-uses the same pid. This preserves the pid over multiple server-respawns. return syscall.Exec(argv0, os.Args, os.Environ()) } // freezeServices will freeze all incoming S3 API calls. // For each call, unfreezeServices must be called once. func freezeServices() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertEquals(0x12345678, ((AvFlags) pair).getFlags(), "Flags value should match"); } /** * Test decode with multiple AvPairs */ @Test @DisplayName("Decode multiple AvPairs with EOL") void testDecodeMultiplePairs() throws CIFSException { // Create multiple AvPairs byte[] flagData = new byte[4]; SMBUtil.writeInt4(0xAABBCCDD, flagData, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
// Then assertFalse(result, "isSigningEnforced should return false when signing is not enforced"); verify(negotiationRequest, times(1)).isSigningEnforced(); } @Test @DisplayName("Test multiple calls to isSigningEnforced") void testMultipleCallsToIsSigningEnforced() { // Given when(negotiationRequest.isSigningEnforced()).thenReturn(true).thenReturn(false).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
fastapi/security/api_key.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 9.6K bytes - Click Count (1) -
fastapi/security/oauth2.py
each OAuth2 flow. You normally would not create a new class inheriting from it but use one of the existing subclasses, and maybe compose them if you want to support multiple flows. Read more about it in the [FastAPI docs for Security](https://fastapi.tiangolo.com/tutorial/security/). """ def __init__( self, *, flows: Annotated[Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
} @Test @DisplayName("Test NotifyResponse consistency across multiple calls") void testNotifyResponseConsistency() { List<FileNotifyInformation> notifications = Arrays.asList(mockNotifyInfo1, mockNotifyInfo2); MockNotifyResponse response = new MockNotifyResponse(notifications); // Call getNotifyInformation multiple times List<FileNotifyInformation> result1 = response.getNotifyInformation();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
// Test that serialVersionUID is accessible (inherited from parent) assertNotNull(exception); // Create a new instance to verify it can be created multiple times LdapConfigurationException exception2 = new LdapConfigurationException(message); assertEquals(exception.getMessage(), exception2.getMessage()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Test multiple selections to ensure it works for (int i = 0; i < 10; i++) { ChannelInfo selected = loadBalancer.selectChannel(mockMessage); assertTrue(Arrays.asList(channel1, channel2).contains(selected));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0)