Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 1,944 for field (0.02 seconds)

  1. docs/zh/docs/advanced/custom-response.md

    ### `StreamingResponse` { #streamingresponse }
    
    采用异步生成器或普通生成器/迭代器(带有 `yield` 的函数),然后流式传输响应主体。
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | 技术细节
    
    一个 `async` 任务只有在到达 `await` 时才能被取消。如果没有 `await`,生成器(带有 `yield` 的函数)无法被正确取消,即使已请求取消也可能继续运行。
    
    由于这个小示例不需要任何 `await` 语句,我们添加 `await anyio.sleep(0)`,给事件循环一个处理取消的机会。
    
    对于大型或无限流,这一点更为重要。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/crawlinginfo/admin_crawlinginfo_details.jsp

                                        </la:info>
                                        <la:errors/>
                                    </div>
                                        <%-- Form Fields --%>
                                    <table class="table table-bordered" aria-label="<la:message key="labels.crawling_info_details" />">
                                        <tbody>
                                        <tr>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  3. cmd/sts-errors.go

    func (e stsErrorCodeMap) ToSTSErr(errCode STSErrorCode) STSError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		return e[ErrSTSInternalError]
    	}
    	return apiErr
    }
    
    // error code to STSError structure, these fields carry respective
    // descriptions for all the error responses.
    var stsErrCodes = stsErrorCodeMap{
    	ErrSTSAccessDenied: {
    		Code:           "AccessDenied",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 05 00:29:41 GMT 2025
    - 6K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

        /** Version number for optimistic locking. */
        public String versionNo;
    
        /**
         * Clears all pagination state and filter parameters.
         * Resets pagination counters to default values and clears all filter fields.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java

                Arrays.stream(BuildParams.class.getDeclaredFields()).filter(f -> Modifier.isStatic(f.getModifiers())).forEach(f -> {
                    try {
                        // Since we are mutating private static fields from a public static inner class we need to suppress
                        // accessibility controls here.
                        f.setAccessible(true);
                        f.set(null, null);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // When
            SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime);
    
            // Then
            assertEquals(ServerMessageBlock.SMB_COM_CLOSE, smbComClose.getCommand());
            // Private fields are not directly accessible, but we can check their effect in other methods.
        }
    
        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeParameterWordsWireFormat(byte[], int)}.
         */
        @Test
    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)
  7. src/test/java/jcifs/util/transport/ResponseTest.java

        @Mock
        private Response mockResponse;
    
        @BeforeEach
        void setUp() {
            // Reset mock before each test to ensure clean state
            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
            // Test initial state (should be false by default for a fresh mock)
            assertFalse(mockResponse.isReceived());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            PopularWordsRequest request = new PopularWordsRequest();
            request.setIndex("test-index");
            request.addTag("tag1");
            request.addRole("role1");
            request.addField("field1");
            request.addLanguage("ja");
            request.addExcludeWord("exclude");
            request.setQueryFreqThreshold(5);
    
            assertNotNull(request.buildQuery());
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/custom-response.md

    Recebe um gerador assíncrono ou um gerador/iterador comum (uma função com `yield`) e transmite (stream) o corpo da resposta.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | Detalhes Técnicos
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  10. internal/grid/handlers.go

    // The response may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewResponse() Resp {
    	return h.newResp()
    }
    
    // NewRequest creates a new request.
    // Handlers can use this to create a reusable request.
    // The request may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewRequest() Req {
    	return h.newReq()
    }
    
    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)
Back to Top