Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 540 for enums (0.04 seconds)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

                    ", descriptor='" + descriptor + '\'' +
                    ", binaryCompatibility='" + binaryCompatibility + '\'' +
                    '}';
            }
        }
    
        public enum BinaryCompatibility {
            ACCESSORS_REMOVED,
            ACCESSORS_KEPT
        }
    
        public static class AccessorKey {
            private final String containingType;
            private final String methodName;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 13 19:17:41 GMT 2024
    - 8K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java

                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible // reflection
    @NullUnmarked
    public class ImmutableListCopyOfConcurrentlyModifiedInputTest extends TestCase {
      enum WrapWithIterable {
        WRAP,
        NO_WRAP
      }
    
      private static void runConcurrentlyMutatedTest(
          Collection<Integer> initialContents,
          Iterable<ListFrobber> actionsToPerformConcurrently,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        private volatile long lastHeartbeat;
        private volatile int heartbeatFailures;
        private int flags;
    
        /**
         * Enumeration of possible witness registration states.
         */
        public enum WitnessRegistrationState {
            /** Registration is in progress */
            REGISTERING,
            /** Registration is active and confirmed */
            REGISTERED,
            /** Unregistration is in progress */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/query-params.md

    У цьому випадку є 3 параметри query:
    
    * `needy`, обов’язковий `str`.
    * `skip`, `int` зі значенням за замовчуванням `0`.
    * `limit`, необов’язковий `int`.
    
    /// tip | Порада
    
    Ви також можете використовувати `Enum` так само, як і з [Параметри шляху](path-params.md#predefined-values).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/query-params.md

    本例中有 3 个查询参数:
    
    * `needy`,必选的 `str` 类型参数
    * `skip`,默认值为 `0` 的 `int` 类型参数
    * `limit`,可选的 `int` 类型参数
    
    /// tip | 提示
    
    还可以像在[路径参数](path-params.md#predefined-values)中那样使用 `Enum`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top