Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 237 for PRINT (0.18 seconds)

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

  1. internal/ioutil/ioutil.go

    			}
    			return written, nil
    		}
    	}
    }
    
    // SafeClose safely closes any channel of any type
    func SafeClose[T any](c chan<- T) {
    	if c != nil {
    		close(c)
    		return
    	}
    	// Print stack to check who is sending `c` as `nil`
    	// without crashing the server.
    	debug.PrintStack()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/extra-models.md

    ```
    
    接著呼叫:
    
    ```Python
    user_dict = user_in.model_dump()
    ```
    
    此時變數 `user_dict` 會是一個承載資料的 `dict`(也就是 `dict`,而非 Pydantic 模型物件)。
    
    若再呼叫:
    
    ```Python
    print(user_dict)
    ```
    
    我們會得到一個 Python `dict`:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            emptyMappingFile.manager(dictionaryManager);
    
            PagingList<CharMappingItem> result = emptyMappingFile.selectList(0, 10);
    
            // Debug: print what we actually got
            if (result.size() > 0) {
                for (CharMappingItem item : result) {
                    System.out.println("Unexpected item: " + item.toLineString());
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  4. src/main/resources/fess_message.properties

    errors.invalid_header_for_request_file=Invalid header line: {0}
    errors.could_not_delete_logged_in_user=You cannot delete a user who is logged in.
    errors.unauthorized_request=Unauthorized request.
    errors.failed_to_print_thread_dump=Failed to print a thread dump.
    errors.file_is_not_supported={0} is not supported.
    errors.plugin_file_is_not_found={0} is not found.
    errors.failed_to_install_plugin=Failed to install {0}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  5. src/main/resources/fess_message_en.properties

    errors.invalid_header_for_request_file=Invalid header line: {0}
    errors.could_not_delete_logged_in_user=You cannot delete a user who is logged in.
    errors.unauthorized_request=Unauthorized request.
    errors.failed_to_print_thread_dump=Failed to print a thread dump.
    errors.file_is_not_supported={0} is not supported.
    errors.plugin_file_is_not_found={0} is not found.
    errors.failed_to_install_plugin=Failed to install {0}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/python-types.md

    ### `typing` 模組 { #typing-module }
    
    在一些其他情境中,你可能需要從標準程式庫的 `typing` 模組匯入一些東西,比如當你想宣告某個東西可以是「任何型別」時,可以用 `typing` 裡的 `Any`:
    
    ```python
    from typing import Any
    
    
    def some_function(data: Any):
        print(data)
    ```
    
    ### 泛型(Generic types) { #generic-types }
    
    有些型別可以在方括號中接收「型別參數」,以定義其內部元素的型別,例如「字串的 list」可以宣告為 `list[str]`。
    
    這些能接收型別參數的型別稱為「泛型(Generic types)」或「Generics」。
    
    你可以將相同的內建型別用作泛型(使用方括號並在裡面放型別):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    “上下文管理器”是你可以在 `with` 语句中使用的任意 Python 对象。
    
    例如,[你可以用 `with` 来读取文件](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底层,`open("./somefile.txt")` 会创建一个“上下文管理器”对象。
    
    当 `with` 代码块结束时,它会确保文件被关闭,即使期间发生了异常。
    
    当你用 `yield` 创建一个依赖时,**FastAPI** 会在内部为它创建一个上下文管理器,并与其他相关工具结合使用。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. docs/zh/docs/python-types.md

    ### typing 模块 { #typing-module }
    
    在一些额外的用例中,你可能需要从标准库的 `typing` 模块导入内容。比如当你想声明“任意类型”时,可以使用 `typing` 中的 `Any`:
    
    ```python
    from typing import Any
    
    
    def some_function(data: Any):
        print(data)
    ```
    
    ### 泛型类型 { #generic-types }
    
    有些类型可以在方括号中接收“类型参数”(type parameters),用于声明其内部值的类型。比如“字符串列表”可以写为 `list[str]`。
    
    这些能接收类型参数的类型称为“泛型类型”(Generic types)或“泛型”(Generics)。
    
    你可以把相同的内建类型作为泛型使用(带方括号和内部类型):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. ci/official/utilities/code_check_full.bats

    Here are the affected tests:
    EOF
        while read dep; do
          echo "For dependency $dep:"
          # For every missing dependency, find the tests which directly depend on
          # it, and print that list for debugging. Not really clear if this is
          # helpful since the only examples I've seen are enormous.
          bazel cquery "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 28 22:41:17 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. docs/en/docs/_llm-test.md

    ////
    
    //// tab | Info
    
    ... However, quotes inside code snippets must stay as is.
    
    ////
    
    ## code blocks { #code-blocks }
    
    //// tab | Test
    
    A Bash code example...
    
    ```bash
    # Print a greeting to the universe
    echo "Hello universe"
    ```
    
    ...and a console code example...
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top