Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 889 for found_t (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/tutorial/handling-errors.md

    ```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`。
    
    你可以傳入 `dict`、`list` 等。
    
    **FastAPI** 會自動處理並轉為 JSON。
    
    ///
    
    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)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
            boolean found = false;
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100);
            for (ProtwordsItem item : list) {
                if ("newWord".equals(item.getInput())) {
                    found = true;
                    break;
                }
            }
            assertTrue(found);
        }
    
        @Test
        public void test_update() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    
      companion object {
        /**
         * Reads all stories in the folders provided, asserts if no story found.
         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
          val result = mutableListOf<Any>()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. .github/workflows/arm-ci.yml

            run: |
              running_containers=$(docker ps -q) && \
              if [[ $running_containers == "" ]]; then
                echo "No running containers";
              else
                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
          - name: Clean repository
            shell: bash
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param url the URL to extract filename from
         * @param encoding the character encoding (currently unused in this method)
         * @return the extracted filename, or empty string if none found
         */
        default String getFileName(final String url, final String encoding) {
            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY;
            }
    
            int idx = 0;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. cmd/erasure-healing-common.go

    	modTimes = bootModtimes(len(partsMetadata))
    	for index, metadata := range partsMetadata {
    		if errs[index] != nil {
    			continue
    		}
    		// Once the file is found, save the uuid saved on disk.
    		modTimes[index] = metadata.ModTime
    	}
    	return modTimes
    }
    
    func filterOnlineDisksInplace(fi FileInfo, partsMetadata []FileInfo, onlineDisks []StorageAPI) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. internal/dsync/dsync_test.go

    	dm.Unlock(t.Context())
    }
    
    // Test canceling context while quorum servers report lock not found
    func TestFailedRefreshLock(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	// Simulate Refresh response to return no locking found
    	for i := range lockServers[:3] {
    		lockServers[i].setRefreshReply(false)
    		defer lockServers[i].setRefreshReply(true)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/archive/tar/fuzz_test.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"io"
    	"testing"
    )
    
    func FuzzReader(f *testing.F) {
    	b := bytes.NewBuffer(nil)
    	w := NewWriter(b)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 2.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java

        /**
         * Loads user information from the authentication chain.
         * @param user The user template containing search criteria.
         * @return The loaded user, or null if not found.
         */
        User load(User user);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/lex/stack.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package lex
    
    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Stack is a stack of TokenReaders. As the top TokenReader hits EOF,
    // it resumes reading the next one down.
    type Stack struct {
    	tr []TokenReader
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jan 09 22:33:23 GMT 2017
    - 1.2K bytes
    - Click Count (0)
Back to Top