Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2041 - 2050 of 2,353 for myitem (0.14 seconds)

  1. internal/store/batch_test.go

    	defer batch.Close()
    
    	var wg sync.WaitGroup
    	for i := 0; i < int(limit); i++ {
    		wg.Add(1)
    		go func(key int) {
    			defer wg.Done()
    			if err := batch.Add(testItem); err != nil {
    				t.Errorf("failed to add item %v; %v", key, err)
    				return
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	batchLen := batch.Len()
    	if batchLen != int(limit) {
    		t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

        protected int smbRecvBufferSize = SmbConstants.DEFAULT_RCV_BUF_SIZE;
        /** Buffer size for SMB notification operations */
        protected int smbNotifyBufferSize = SmbConstants.DEFAULT_NOTIFY_BUF_SIZE;
        /** Native operating system name to report */
        protected String nativeOs;
        /** Native LAN Manager string to report */
        protected String nativeLanMan = "jCIFS";
        /** Virtual circuit number for SMB sessions */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/handling-errors.md

    如果用戶端請求 `http://example.com/items/foo`(`item_id` 為 `"foo"`),會收到 200 的 HTTP 狀態碼,以及以下 JSON 回應:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    但如果用戶端請求 `http://example.com/items/bar`(不存在的 `item_id` `"bar"`),會收到 404("not found")的 HTTP 狀態碼,以及以下 JSON 回應:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    在 raise 一個 `HTTPException` 時,你可以將任何可轉為 JSON 的值作為 `detail` 參數,不只限於 `str`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                if (snapshotNodeList.getLength() > 0) {
                    final NodeList nodeList = snapshotNodeList.item(0).getChildNodes();
                    for (int i = 0; i < nodeList.getLength(); i++) {
                        final Node node = nodeList.item(i);
                        if ("timestamp".equalsIgnoreCase(node.getNodeName())) {
                            timestamp = node.getTextContent();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        protected static final String TEXT_SEP = " ";
    
        /** The suggester instance for handling suggest operations. */
        protected Suggester suggester;
    
        /** The Fess configuration for accessing system settings. */
        protected FessConfig fessConfig;
    
        /** The set of field names for content. */
        protected final Set<String> contentFieldNameSet = new HashSet<>();
    
        /** The set of field names for tags. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

        }
    
        // Test helper classes
    
        private static class TestSystemHelper extends SystemHelper {
            long processingTime = 0;
            long currentTime = System.currentTimeMillis();
    
            @Override
            public boolean calibrateCpuLoad() {
                // Do nothing
                return true;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog.jsp

                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item active"><la:link href="/admin/joblog">
                                    <la:message key="labels.joblog_link_list"/>
                                </la:link></li>
                            </ol>
                        </div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/response-directly.md

    ///
    
    ## Returning a custom `Response` { #returning-a-custom-response }
    
    The example above shows all the parts you need, but it's not very useful yet, as you could have just returned the `item` directly, and **FastAPI** would put it in a `JSONResponse` for you, converting it to a `dict`, etc. All that by default.
    
    Now, let's see how you could use that to return a custom response.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/generate-clients.md

    ## TypeScript SDK を作成する { #create-a-typescript-sdk }
    
    まずは簡単な FastAPI アプリから始めます:
    
    {* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *}
    
    ここで、*path operation* はリクエストとレスポンスのペイロードに使用するモデルを定義しており、`Item` と `ResponseMessage` を使っています。
    
    ### API ドキュメント { #api-docs }
    
    `/docs` に移動すると、リクエストで送信・レスポンスで受信するデータの**スキーマ**が表示されます:
    
    <img src="/img/tutorial/generate-clients/image01.png">
    
    これらのスキーマは、アプリ内でモデルとして宣言されているため表示されます。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            try (InputStream stream = cache.getInputStream()) {
                byte[] buffer = new byte[1024];
                int bytesRead = stream.read(buffer);
                byte[] result = new byte[bytesRead];
                System.arraycopy(buffer, 0, result, 0, bytesRead);
                assertArrayEquals(originalData, result);
            }
        }
    
        @Test
        public void testFileBasedCacheConstructor() throws IOException {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
Back to Top