Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 461 for enums (0.02 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

         * <p>
         * The validation levels are cumulative, with higher versions including all validations
         * from lower versions plus additional checks specific to that version.
         */
        enum Version {
            /**
             * Base validation level that applies to all POM versions.
             * Includes fundamental structural validations.
             */
            BASE,
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. 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)
  3. tests/test_tutorial/test_query_param_models/test_tutorial002.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
    - 8K 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. tests/test_application.py

                },
                "/enum-status-code": {
                    "get": {
                        "responses": {
                            "201": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                        },
                        "summary": "Get Enum Status Code",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

      ) {
        val builder = "http://host/".toHttpUrl().newBuilder()
        component[builder] = codePointString
        val url = builder.build()
        assertThat(url.host).startsWith(Punycode.PREFIX_STRING)
      }
    
      enum class Encoding {
        IDENTITY {
          override fun encode(codePoint: Int): String = String(codePoint)
        },
        PERCENT {
          override fun encode(codePoint: Int): String {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

     *
     * @author Osvaldo Doederlein
     */
    @NullUnmarked
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top