Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,790 for NOTE (0.02 seconds)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            block.uid = 0x1234;
            block.useUnicode = true;
    
            byte[] buf = new byte[256];
            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
            // Note: In actual implementation, uid is NOT propagated for non-AndX SMBs
            // uid is only set for AndXServerMessageBlock instances (line 167 in AndXServerMessageBlock.java)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. docs/zh/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note | 注意
    
    命令 `uvicorn main:app` 的含义如下:
    
    * `main`:指的是 `main.py` 文件(即 Python “模块”)。
    * `app`:指的是 `main.py` 文件中通过 `app = FastAPI()` 创建的对象。
    
    它等价于以下导入语句:
    
    ```Python
    from main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/body.md

    函数参数按如下规则进行识别:
    
    * 如果该参数也在**路径**中声明了,它就是路径参数。
    * 如果该参数是(`int`、`float`、`str`、`bool` 等)**单一类型**,它会被当作**查询**参数。
    * 如果该参数的类型声明为 **Pydantic 模型**,它会被当作请求**体**。
    
    /// note | 注意
    
    FastAPI 会根据默认值 `= None` 知道 `q` 的值不是必填的。
    
    `str | None` 并不是 FastAPI 用来判断是否必填的依据;是否必填由是否有默认值 `= None` 决定。
    
    但添加这些类型注解可以让你的编辑器提供更好的支持并检测错误。
    
    ///
    
    ## 不使用 Pydantic { #without-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  4. docs/kms/IAM.md

    ```sh
    export MINIO_KMS_SECRET_KEY=my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    ```
    
    > You can choose an arbitrary name for the key - instead of `my-minio-key`.
    > Please note that losing the `MINIO_KMS_SECRET_KEY` will cause data loss
    > since you will not be able to decrypt the IAM/configuration data anymore.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            String message = "SSO complex failure";
            IllegalStateException innerException = new IllegalStateException("Invalid state");
            OutOfMemoryError middleError = new OutOfMemoryError("Memory exhausted");
            // Note: OutOfMemoryError constructor doesn't accept cause, so we create a wrapper
            RuntimeException outerException = new RuntimeException("Wrapper", middleError);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
        }
    
        @Test
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
            // For now, we test that the method signature is correct and can be called
    
            AtomicInteger callbackCount = new AtomicInteger(0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                }
            }
    
            try {
                // Create SmbFile with cached attributes
                SmbFile file = new SmbFile(filePath, context);
                // Note: We would need to add a method to SmbFile to set cached attributes
                // For now, just return the file object
                return file;
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            repo = new LocalRepository(
                    new File(delegate.getBasedir()),
                    (layout != null) ? layout.getClass().getSimpleName() : "legacy");
    
            /*
             * NOTE: "invoker:install" vs "appassembler:assemble": Both mojos use the artifact installer to put an artifact
             * into a repository. In the first case, the result needs to be a proper local repository that one can use for
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/stream-data.md

    ### 模拟文件 { #simulate-a-file }
    
    在这个示例中,我们用 `io.BytesIO` 模拟了一个文件,它是只驻留在内存中的类文件对象,但提供相同的接口。
    
    例如,我们可以像对文件那样迭代它来消费其内容。
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[1:27] hl[3,12:13,25] *}
    
    /// note | 技术细节
    
    另外两个变量 `image_base64` 和 `binary_image` 表示一张图像,先用 Base64 编码,再转换为 bytes,最后传给 `io.BytesIO`。
    
    只是为了让它们能和示例放在同一个文件里,便于你直接复制运行。🥚
    
    ///
    
    通过使用 `with` 代码块,我们确保在生成器函数(带有 `yield` 的函数)完成后关闭这个类文件对象。也就是在发送完响应之后。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            assertNull(sambaHelper.getAccountId(createMockSID(7, "Invalid Account")));
        }
    
        @Test
        public void test_getAccountId_smb1_basic() throws SmbException {
            // Note: SMB1 SID testing is limited due to interface constraints
            // This test verifies the method exists and handles the SMB1 SID parameter type
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
Back to Top