Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 617 for Annotated (0.18 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

     */
    public class FeatureEnumTest extends TestCase {
      private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) {
        assertNotNull(
            rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass),
            annotationClass.getAnnotation(TesterAnnotation.class));
        final Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertNotNull(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

            // all, the definition of subscribers on a particular class is totally static
            throw new IllegalArgumentException(
                "missing event subscriber for an annotated method. Is " + listener + " registered?");
          }
    
          // don't try to remove the set if it's empty; that can't be done safely without a lock
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/security/first-steps.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/security/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python
    {!> ../../docs_src/security/tutorial001.py!}
    ```
    
    ////
    
    ## 运行
    
    /// info | "说明"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
       * <ul>
       *   <li>All non-private static methods are checked such that passing null for any parameter
       *       that's not annotated nullable should throw {@link NullPointerException}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return type.getSimpleName() + '@' + i;
      }
    
      /**
       * Annotates a method to be the instance generator of a certain type. The return type is the
       * generated type. The method parameters correspond to the generated type's type parameters. For
       * example, if the annotated method returns {@code Map<K, V>}, the method signature should be:
       * {@code Map<K, V> generateMap(K key, V value)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/settings.md

    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="6  12-13"
    {!> ../../docs_src/settings/app02_an/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ 非注解版本
    
    /// tip
    
    如果可能,请尽量使用 `Annotated` 版本。
    
    ///
    
    ```Python hl_lines="5  11-12"
    {!> ../../docs_src/settings/app02/main.py!}
    ```
    
    ////
    
    /// tip
    
    我们稍后会讨论 `@lru_cache`。
    
    目前,您可以将 `get_settings()` 视为普通函数。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
         * that NullPointerTester wants.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

          .selectors(selectors)
          .build()
      return request
    }
    
    /**
     * Flattens a test filter into a list of specific test descriptors, usually individual method in a
     * test class annotated with @Test.
     */
    fun findTests(selectors: List<DiscoverySelector>): List<TestDescriptor> {
      val request: LauncherDiscoveryRequest = buildRequest(selectors)
      val testEngine = buildTestEngine()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. cni/pkg/util/podutil.go

    		return false
    	}
    	return true
    }
    
    // PodRedirectionActive reports on whether the pod _has_ actually been configured for traffic redirection.
    //
    // That is, have we annotated it after successfully sending it to the node proxy and set up iptables rules.
    //
    // If you just want to know if the pod _should be_ configured for traffic redirection, see PodRedirectionEnabled
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top