Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 3,473 for Annotations (0.07 seconds)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertNotNull(target);
    
            java.lang.annotation.ElementType[] types = target.value();
            assertEquals(5, types.length);
        }
    
        // Test annotation retention policy
        @Test
        public void test_annotationRetention() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/CollectSpliterators.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.j2objc.annotations.Weak;
    import java.util.Comparator;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.DoubleConsumer;
    import java.util.function.Function;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_01_py310.py hl[7:10,13:14,18] *}
    
    這樣我們能得到工具支援,對於編輯器與 mypy 來說,這段程式碼在型別上是正確的,同時我們也能得到 FastAPI 的資料過濾。
    
    這是怎麼運作的?來看一下。🤓
    
    ### 型別註解與工具支援 { #type-annotations-and-tooling }
    
    先看看編輯器、mypy 與其他工具會怎麼看這件事。
    
    `BaseUser` 有基礎欄位。然後 `UserIn` 繼承自 `BaseUser` 並新增 `password` 欄位,因此它會包含兩個模型的所有欄位。
    
    我們把函式回傳型別註解為 `BaseUser`,但實際上回傳的是 `UserIn` 實例。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body.md

    The `str | None` is not used by FastAPI to determine that the value is not required, it will know it's not required because it has a default value of `= None`.
    
    But adding the type annotations will allow your editor to give you better support and detect errors.
    
    ///
    
    ## Without Pydantic { #without-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. impl/maven-cli/pom.xml

      <description>Maven 4 CLI component, with CLI and logging support.</description>
    
      <dependencies>
        <!--  Maven4 API -->
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-annotations</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-core</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

      <name>PluginDescriptor</name>
      <description><![CDATA[
        Maven 4 Plugin descriptor, stored in {@code META-INF/maven/plugin.xml} in a plugin's jar artifact.
        This descriptor is generally using the information contained in the annotations of the plugin api.
        <p>An XSD is available at <a href="https://maven.apache.org/xsd/plugin-2.0.0.xsd">https://maven.apache.org/xsd/plugin-2.0.0.xsd</a></p>
      ]]></description>
      <classes>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        fun CompilationUnit.findAllIncubating() =
            findAll(Node::class.java).filter { it.isIncubating }
    
        private
        val Node.isIncubating: Boolean
            get() = (this as? NodeWithAnnotations<*>)?.annotations?.any { it.nameAsString == "Incubating" } ?: false
    
        private
        fun CompilationUnit.toVersionIncubating(sourceFile: File, node: Node) =
            Pair(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import static com.google.common.base.Predicates.not;
    import static com.google.common.testing.AbstractPackageSanityTests.Chopper.suffix;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Predicate;
    import com.google.common.collect.HashMultimap;
    import com.google.common.collect.ImmutableList;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
Back to Top