Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 1,333 for multiple (0.06 seconds)

  1. docs/zh/docs/tutorial/sql-databases.md

    然后在 `/docs` UI 中,你能够看到 **FastAPI** 会用这些**模型**来**记录** API,并且还会用它们来**序列化**和**验证**数据。
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image01.png">
    </div>
    
    ## 使用多个模型更新应用 { #update-the-app-with-multiple-models }
    
    现在让我们稍微**重构**一下这个应用,以提高**安全性**和**多功能性**。
    
    如果你查看之前的应用程序,你可以在 UI 界面中看到,到目前为止,它允许客户端决定要创建的 `Hero` 的 `id`。😱
    
    我们不应该允许这样做,因为他们可能会覆盖我们在数据库中已经分配的 `id`。决定 `id` 的行为应该由**后端**或**数据库**来完成,**而非客户端**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Verify that the configuration was queried for notify buffer size
            verify(mockConfig, atLeastOnce()).getNotifyBufferSize();
        }
    
        @Test
        @DisplayName("Test multiple instances independence")
        void testMultipleInstancesIndependence() {
            NtTransNotifyChange notify1 = new NtTransNotifyChange(mockConfig, 0x1111, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            long expectedFree = (long) free * sectPerAlloc * bytesPerSect;
            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test multiple decode calls on same instance")
        void testMultipleDecodeCalls() throws SMBProtocolDecodingException {
            // First decode
            byte[] buffer1 = new byte[22];
            int offset = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertEquals(8, tokens.get(2).getStartOffset());
            assertEquals(13, tokens.get(2).getEndOffset());
        }
    
        @Test
        public void testMultipleAnalyzersIndependence() {
            // Test that multiple analyzer instances work independently
            SuggestAnalyzer analyzer1 = new TestSuggestAnalyzer();
            SuggestAnalyzer analyzer2 = new TestSuggestAnalyzer();
    
            String text = "test text";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertNotNull(response.getDfsResponse());
                assertEquals(0, response.getDfsResponse().getNumReferrals());
            }
    
            @Test
            @DisplayName("Should handle DFS referral with multiple referrals")
            void testReadDataWireFormatMultipleReferrals() {
                byte[] buffer = createDfsReferralBufferWithMultipleReferrals(3);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     *
     * Note that any other form is unsupported. You may not use asterisks in any position other than
     * the leftmost label.
     *
     * If multiple patterns match a hostname, any match is sufficient. For example, suppose pin A
     * applies to `*.publicobject.com` and pin B applies to `api.publicobject.com`. Handshakes for
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  7. internal/grid/manager.go

    	}
    	m.handlers.init()
    	if ctx == nil {
    		ctx = context.Background()
    	}
    
    	for _, host := range o.Hosts {
    		if host == o.Local {
    			if found {
    				return nil, fmt.Errorf("grid: local host found multiple times")
    			}
    			found = true
    			// No connection to local.
    			continue
    		}
    		m.targets[host] = newConnection(connectionParams{
    			ctx:           ctx,
    			id:            m.ID,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 12 20:41:41 GMT 2024
    - 10.8K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/deployment/docker.md

    /// tip | 提示
    
    用於 HTTPS 的同一個「TLS 終止代理」元件通常也會是「負載平衡器」。
    
    ///
    
    而在使用容器時,你用來啓動與管理它們的系統,已內建把「網路通訊」(例如 HTTP 請求)從該「負載平衡器」(也可能是「TLS 終止代理」)傳遞到你的應用容器的工具。
    
    ### 一個負載平衡器 - 多個工作容器 { #one-load-balancer-multiple-worker-containers }
    
    使用 Kubernetes 或類似的分散式容器管理系統時,使用其內部網路機制可以讓在主「埠口」上監聽的單一「負載平衡器」,把通訊(請求)傳遞給可能的「多個執行你應用的容器」。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        protected boolean httpOnly = true;
    
        /**
         * Retrieves the user code for the current request.
         * The user code is used to uniquely identify users across sessions and requests.
         * It checks multiple sources in order: request attribute, request parameter, cookie, user bean, or generates a new one.
         *
         * @return the user code string, or null if no valid session exists
         */
        public String getUserCode() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("readn should handle multiple read calls")
        void testReadnMultipleCalls() throws IOException {
            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(2) // First read returns 2 bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
Back to Top