Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,333 for multiple (0.05 seconds)

  1. docs/en/docs/tutorial/response-model.md

    The same would happen if you had something like a <dfn title='A union between multiple types means "any of these types".'>union</dfn> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥:
    
    {* ../../docs_src/response_model/tutorial003_04_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  2. internal/grid/handlers.go

    	return &StreamTypeHandler[Payload, Req, Resp]{id: h, InCapacity: 1, OutCapacity: 1}
    }
    
    // Register a handler for two-way streaming with payload, input stream and output stream.
    // An optional subroute can be given. Multiple entries are joined with '/'.
    func (h *StreamTypeHandler[Payload, Req, Resp]) Register(m *Manager, handle func(ctx context.Context, p Payload, in <-chan Req, out chan<- Resp) *RemoteErr, subroute ...string) error {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                assertTrue(true);
            } finally {
                // Restore original ClassLoader
                Thread.currentThread().setContextClassLoader(originalClassLoader);
            }
        }
    
        // Test multiple invocations of hook method
        @Test
        public void test_hook_multipleInvocations() {
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
            // First invocation
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/middleware.md

    /// tip
    
    这里我们使用 [`time.perf_counter()`](https://docs.python.org/3/library/time.html#time.perf_counter) 而不是 `time.time()`,因为在这类场景中它可能更精确。🤓
    
    ///
    
    ## 多个中间件的执行顺序 { #multiple-middleware-execution-order }
    
    当你使用 `@app.middleware()` 装饰器或 `app.add_middleware()` 方法添加多个中间件时,每个新中间件都会包裹应用,形成一个栈。最后添加的中间件是“最外层”的,最先添加的是“最内层”的。
    
    在请求路径上,最外层的中间件先运行。
    
    在响应路径上,它最后运行。
    
    例如:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            assertNotNull(lastParams);
            assertEquals(scriptExecutor, lastParams.get("executor"));
        }
    
        @Test
        public void test_execute_withMultipleEngines() {
            // Setup multiple script engines
            TestScriptEngine engine1 = new TestScriptEngine("engine1");
            TestScriptEngine engine2 = new TestScriptEngine("engine2");
            scriptEngineFactory.add("type1", engine1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            CountDownLatch endLatch = new CountDownLatch(threadCount);
            AtomicInteger successCount = new AtomicInteger(0);
            List<Exception> exceptions = new ArrayList<>();
    
            // When - Multiple threads get and release buffers
            for (int t = 0; t < threadCount; t++) {
                executor.submit(() -> {
                    try {
                        startLatch.await();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/util/LogStreamTest.java

            String output = testOutput.toString();
            assertTrue(output.contains("test message"));
        }
    
        @Test
        void testSetInstanceMultipleTimes() {
            // Test setting instance multiple times
            PrintStream stream1 = new PrintStream(new ByteArrayOutputStream());
            PrintStream stream2 = new PrintStream(new ByteArrayOutputStream());
    
            LogStream.setInstance(stream1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * <pre>
     * new EqualsTester().addEqualityGroup(foo).testEquals();
     * </pre>
     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
     * <p>For more extensive testing, add multiple equality groups. Each group should contain objects
     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/ACETest.java

            }
    
            @Test
            @DisplayName("Should support multiple method invocations")
            void shouldSupportMultipleInvocations() {
                ACE ace = mock(ACE.class);
                when(ace.getAccessMask()).thenReturn(ACE.GENERIC_ALL);
                when(ace.isAllow()).thenReturn(true);
    
                // Multiple calls to same method
                ace.getAccessMask();
                ace.getAccessMask();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Concatenates multiple {@link ByteSource} instances into a single source. Streams returned from
       * the source will contain the concatenated data from the streams of the underlying sources.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
Back to Top