Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 2,455 for Klasse (0.04 seconds)

  1. docs/zh-hant/docs/python-types.md

    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    使用 `str | None` 而不是單純的 `str`,可以讓編輯器幫你偵測錯誤,例如你以為某個值一定是 `str`,但它其實也可能是 `None`。
    
    ### 類別作為型別 { #classes-as-types }
    
    你也可以用類別來宣告變數的型別。
    
    假設你有一個 `Person` 類別,帶有名稱:
    
    {* ../../docs_src/python_types/tutorial010_py310.py hl[1:3] *}
    
    接著你可以宣告一個變數為 `Person` 型別:
    
    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)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("plugin", artifact.getName());
            assertEquals("", artifact.getVersion());
        }
    
        // Test inner classes
        @Test
        public void test_Artifact_constructor() {
            Artifact artifact = new Artifact("test", "1.0.0", "http://test.com/test.jar");
            assertEquals("test", artifact.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

    /**
     * Derived suite generators, split out of the suite builders so that they are available to GWT.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public final class DerivedCollectionGenerators {
      public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestSetGenerator<Entry<K, V>>, DerivedGenerator {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            for (String query : uniqueQueries) {
                assertTrue(testFacetInfo.getAddedQueries().contains(query));
            }
        }
    
        // Helper classes for testing
        private static class TestFacetInfo extends FacetInfo {
            private final List<String> addedQueries = new ArrayList<>();
    
            @Override
            public void addQuery(String s) {
                addedQueries.add(s);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

        }
    
        // Helper methods for creating mock objects
        private SearchRequestParams createMockSearchRequestParams() {
            return new MockSearchRequestParams();
        }
    
        // Mock classes
        private static class MockFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
    
            @Override
            public String getCookieSearchParameterRequiredKeys() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.testDistributionServerUrl: Provider<String>
        get() = gradleProperty(TEST_DISTRIBUTION_SERVER_URL)
    
    
    // Controls the test distribution partition size. The test classes smaller than this value will be merged into a "partition"
    val Project.maxTestDistributionPartitionSecond: Long?
        get() = systemProperty(TEST_DISTRIBUTION_PARTITION_SIZE).orNull?.toLong()
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
  7. fastapi/openapi/utils.py

                else:
                    # It would probably make more sense for all response classes to have an
                    # explicit default status_code, and to extract it from them, instead of
                    # doing this inspection tricks, that would probably be in the future
                    # TODO: probably make status_code a default class attribute for all
                    # responses in Starlette
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

     * which may be a subtype of the declaring class. For example:
     *
     * {@snippet :
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
     * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType());
     * }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * bufferIndex, and thus headerStart, would be 4).(NOTE: If one where
         * looking for a way to improve perfomance this is precisly what you
         * would want to do as the jcifs.smb1.netbios.SocketXxxputStream classes
         * arraycopy all data read or written into a new buffer shifted over 4!)
         */
    
        byte command, flags;
        int headerStart, length, batchLevel, errorCode, flags2, tid, pid, uid, mid, wordCount, byteCount;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

        @Nonnull
        PathScope getPathScope();
    
        /**
         * Returns a filter for the types of path (class-path, module-path, …) accepted by the tool.
         * For example, if a Java tools accepts only class-path elements, then the filter should return
         * {@code true} for {@link JavaPathType#CLASSES} and {@code false} for {@link JavaPathType#MODULES}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
Back to Top