Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 427 for enum (0.03 seconds)

  1. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

      @Param({"20", "200", "2000"})
      int stackDepth;
    
      @Param({"-1", "3", "15"})
      int breakAt;
    
      int recursionCount;
    
      private static final Object duh = new Object();
    
      @Param Mode mode;
    
      enum Mode {
        LAZY_STACK_TRACE {
          @Override
          List<StackTraceElement> getStackTrace(Throwable t) {
            return lazyStackTrace(t);
          }
        },
        GET_STACK_TRACE {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                    (biMap, o) -> {
                      Object unused = biMap.inverse().get(o);
                    },
                    Math::log)));
      }
    
      /** All the ways to create an ImmutableBiMap. */
      enum ConstructionPathway {
        COPY_OF_MAP {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
            Map<Object, Object> sourceMap = new LinkedHashMap<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 28 19:11:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      private static void assertFailsToDecode(
          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
        // We use this somewhat weird pattern with an enum for each assertion we want to make as a way
        // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to
        // have to have duplicate @GwtIncompatible test methods just to make that assertion.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

     *
     */
    @NullUnmarked
    public class SortedCopyBenchmark {
      @Param({"1", "10", "1000", "1000000"})
      int size; // logarithmic triangular
    
      @Param boolean mutable;
    
      @Param InputOrder inputOrder;
    
      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
            sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginValidationManager.java

    import org.eclipse.aether.artifact.Artifact;
    
    /**
     * Component collecting plugin validation issues and reporting them.
     *
     * @since 3.9.2
     */
    public interface PluginValidationManager {
        enum IssueLocality {
            /**
             * Issue is "user actionable", is internal to the currently built project and is reparable from scope of it
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

        }
    
        private static void addError(Map<File, List<Error>> errors, File file, Error error) {
            errors.computeIfAbsent(file, f -> new ArrayList<>()).add(error);
        }
    
        private enum Language { KOTLIN, GROOVY, UNKNOWN }
    
        private static final class Snippet {
            final int line;       // line of the [.multi-language-sample] header
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

     * AbstractSet#iterator()}.
     */
    abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> {
      final N node;
      final ArchetypeGraph<N> graph;
      final EdgeType edgeType;
    
      enum EdgeType {
        INCOMING, // incoming incident edges only
        OUTGOING, // outgoing incident edges only
        BOTH // both incoming and outgoing incident edges
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                                    "in": "query",
                                    "required": False,
                                    "schema": {
                                        "enum": ["created_at", "updated_at"],
                                        "type": "string",
                                        "default": "created_at",
                                        "title": "Order By",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top