Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 419 for Annotated (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java

    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Benchmark)
    @SuppressWarnings("unused") // invoked by benchmarking framework
    public class AllocationBenchmark {
        // Do NOT make any field final (even if it is not annotated with @Param)! See also
        // http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/JMHSample_10_ConstantFold.java
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 13 08:33:41 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import org.jspecify.annotations.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:
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. android/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.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. 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)}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

      ':plugins:discovery-ec2',
      ':plugins:discovery-ec2:qa:amazon-ec2',
      ':plugins:discovery-gce',
      ':plugins:discovery-gce:qa:gce',
      ':plugins:ingest-attachment',
      ':plugins:mapper-annotated-text',
      ':plugins:mapper-murmur3',
      ':plugins:mapper-size',
      ':plugins:repository-azure',
      ':plugins:repository-gcs',
      ':plugins:repository-hdfs',
      ':plugins:repository-hdfs:hadoop-common',
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        )
    
        nullawayEnabled.convention(false)
    }
    
    nullaway {
        // NullAway can use NullMarked instead, but for the adoption process it is more effective to assume that all gradle code is already annotated.
        // This way we can catch discrepancies in modules easier. We should make all packages NullMarked eventually too, but this is a separate task.
        annotatedPackages.add("org.gradle")
    }
    
    dependencies {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
      /** A cache of annotated objects (typically a Class or Method) to its set of annotations. */
      private static final Map<AnnotatedElement, List<Annotation>> annotationCache = new HashMap<>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            return exportedPackages;
        }
    
        /**
         * Note: overriding this method should be avoided. Preferred way to replace Maven components is the "normal" way
         * where the components are on index (are annotated with JSR330 annotations and Sisu index is created) and, they
         * have priorities set.
         */
        protected Module getCustomModule(C context, CoreExports exports) {
            return new AbstractModule() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

       * the bridge method in addition to the original method, which causes both the original and bridge
       * methods to be subscribed (since both are annotated @Subscribe) without specifically checking
       * for bridge methods.
       */
      // We use an anonymous class to be sure that we generate two methods (bridge and original).
      @SuppressWarnings("AnonymousToLambda")
    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)
  10. guava-tests/test/com/google/common/eventbus/EventBusTest.java

       * the bridge method in addition to the original method, which causes both the original and bridge
       * methods to be subscribed (since both are annotated @Subscribe) without specifically checking
       * for bridge methods.
       */
      // We use an anonymous class to be sure that we generate two methods (bridge and original).
      @SuppressWarnings("AnonymousToLambda")
    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)
Back to Top