Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,147 for type2 (0.02 seconds)

  1. .github/workflows/latest-changes.yml

    name: Latest Changes
    
    on:
      pull_request_target:
        branches:
          - master
        types:
          - closed
      workflow_dispatch:
        inputs:
          number:
            description: PR number
            required: true
          debug_enabled:
            description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
            required: false
            default: 'false'
    
    jobs:
      latest-changes:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 14:58:32 GMT 2025
    - 1.4K bytes
    - Click Count (1)
  2. scripts/tests/test_translation_fixer/conftest.py

    import shutil
    import sys
    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    skip_on_windows = pytest.mark.skipif(
        sys.platform == "win32", reason="Skipping on Windows"
    )
    
    
    THIS_DIR = Path(__file__).parent.resolve()
    
    
    def pytest_collection_modifyitems(config, items: list[pytest.Item]) -> None:
        if sys.platform != "win32":
            return
    
        for item in items:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 25 10:37:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  3. cmd/object-api-errors.go

    type BucketRemoteIdenticalToSource struct {
    	GenericError
    	Endpoint string
    }
    
    func (e BucketRemoteIdenticalToSource) Error() string {
    	return fmt.Sprintf("Remote service endpoint %s is self referential to current cluster", e.Endpoint)
    }
    
    // BucketRemoteAlreadyExists remote already exists for this target type.
    type BucketRemoteAlreadyExists GenericError
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 09 02:05:14 GMT 2024
    - 22.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor with domain and server types")
        void testConstructor() {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
    
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Interners.java

            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
                // The compiler would know this is safe if not for our use of raw types (see above).
                @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/query-params.md

    Also notice that **FastAPI** is smart enough to notice that the path parameter `item_id` is a path parameter and `q` is not, so, it's a query parameter.
    
    ///
    
    ## Query parameter type conversion { #query-parameter-type-conversion }
    
    You can also declare `bool` types, and they will be converted:
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    In this case, if you go to:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. internal/s3select/json/preader.go

    				in.input = nil
    				in.err = d.Err()
    				in.dst <- all
    			}
    		}()
    	}
    }
    
    // NewPReader - creates new parallel JSON reader using readCloser.
    // Should only be used for LINES types.
    func NewPReader(readCloser io.ReadCloser, args *ReaderArgs) *PReader {
    	r := &PReader{
    		args:       args,
    		buf:        bufio.NewReaderSize(readCloser, jsonSplitSize*2),
    		readCloser: readCloser,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/query-params-str-validations.md

    在使用 `Annotated` 之前,请确保先[升级 FastAPI 版本](../deployment/versions.md#upgrading-the-fastapi-versions)到至少 0.95.1。
    
    ///
    
    ## 在 `q` 参数的类型中使用 `Annotated` { #use-annotated-in-the-type-for-the-q-parameter }
    
    还记得我之前在[Python 类型简介](../python-types.md#type-hints-with-metadata-annotations)中说过可以用 `Annotated` 给参数添加元数据吗?
    
    现在正是与 FastAPI 搭配使用它的时候。🚀
    
    我们之前的类型标注是:
    
    ```Python
    q: str | None = None
    ```
    
    我们要做的是用 `Annotated` 把它包起来,变成:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        // ==================== Tests for getExtensionFromMimeType method ====================
    
        // Tests for GIF MIME type
        @Test
        public void test_getExtensionFromMimeType_gif() {
            assertEquals(".gif", generator.getExtensionFromMimeType("image/gif"));
        }
    
        // Tests for TIFF MIME type
        @Test
        public void test_getExtensionFromMimeType_tiff() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            ComponentUtil.getPathMappingHelper().init();
        }
    
        /**
         * Gets the path mapping list by process types.
         *
         * @param processTypeList the process type list
         * @return the path mapping list
         */
        public List<PathMapping> getPathMappingList(final Collection<String> processTypeList) {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top