Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 530 for enum_ (0.11 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        testers.add(BiMapPutTester.class);
        testers.add(BiMapInverseTester.class);
        testers.add(BiMapRemoveTester.class);
        testers.add(BiMapClearTester.class);
        return testers;
      }
    
      enum NoRecurse implements Feature<Void> {
        INVERSE;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/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)
  9. src/test/java/jcifs/DialectVersionTest.java

        }
    
        @Test
        @DisplayName("Should return consistent ordinal values")
        void testOrdinalValues() {
            // Ordinal values should be consistent with enum declaration order
            assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
            assertTrue(DialectVersion.SMB202.ordinal() < DialectVersion.SMB210.ordinal());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        ctor.setAccessible(true);
        testParameter(null, Invokable.from(ctor), paramIndex, ctor.getDeclaringClass());
      }
    
      /** Visibility of any method or constructor. */
      public enum Visibility {
        PACKAGE {
          @Override
          boolean isVisible(int modifiers) {
            return !Modifier.isPrivate(modifiers);
          }
        },
    
        PROTECTED {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top