Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for ordinary (0.07 sec)

  1. src/test/java/jcifs/ResolverTypeTest.java

        }
    
        /**
         * Tests the ordinal values of the enum constants.
         */
        @Test
        void testEnumOrdinals() {
            // Verify the ordinal values, which can be important if they are used in logic
            assertEquals(0, ResolverType.RESOLVER_WINS.ordinal());
            assertEquals(1, ResolverType.RESOLVER_BCAST.ordinal());
            assertEquals(2, ResolverType.RESOLVER_DNS.ordinal());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/DialectVersion.java

            return ordinal() >= v.ordinal();
        }
    
        /**
         * Check if this dialect version is at most the specified version
         *
         * @param v the version to compare against
         * @return whether this version is a most the given one
         */
        public boolean atMost(final DialectVersion v) {
            return ordinal() <= v.ordinal();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals("LOGOUT", SsoResponseType.LOGOUT.name());
        }
    
        public void test_ordinal() {
            // Test ordinal() method returns correct position
            assertEquals(0, SsoResponseType.METADATA.ordinal());
            assertEquals(1, SsoResponseType.LOGOUT.ordinal());
        }
    
        public void test_toString() {
            // Test toString() method (default implementation returns name)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumMultiset.java

        }
        Enum<?> e = (Enum<?>) element;
        return counts[e.ordinal()];
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int add(E element, int occurrences) {
        checkIsE(element);
        checkNonnegative(occurrences, "occurrences");
        if (occurrences == 0) {
          return count(element);
        }
        int index = element.ordinal();
        int oldCount = counts[index];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. CREDITS

    be placed in a text file included with all distributions of the Covered
    Software under this License. Except to the extent prohibited by statute
    or regulation, such description must be sufficiently detailed for a
    recipient of ordinary skill to be able to understand it.
    
    5. Termination
    --------------
    
    5.1. The rights granted under this License will terminate automatically
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Mar 13 05:29:51 UTC 2025
    - 1.8M bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        }
    
        // Test ProtocolType ordinal
        public void test_protocolTypeOrdinal() {
            assertEquals("WEB.ordinal() should be 0", 0, ProtocolType.WEB.ordinal());
            assertEquals("FILE.ordinal() should be 1", 1, ProtocolType.FILE.ordinal());
        }
    
        // Test protocolType is required
        public void test_protocolTypeIsRequired() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

        default boolean hasProblemsFor(BuilderProblem.Severity severity) {
            requireNonNull(severity, "severity");
            for (BuilderProblem.Severity s : BuilderProblem.Severity.values()) {
                if (s.ordinal() <= severity.ordinal() && problemsReportedFor(s) > 0) {
                    return true;
                }
            }
            return false;
        }
    
        /**
         * Returns total count of problems reported.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDifferentOrderings_noViolations() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
      }
    
      public void testExplicitOrderings_generalCycleDetection() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
    
        lock3.unlock();
        PotentialDeadlockException expected =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDifferentOrderings_noViolations() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
      }
    
      public void testExplicitOrderings_generalCycleDetection() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
    
        lock3.unlock();
        PotentialDeadlockException expected =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * the values are declared dictates the allowed order of lock acquisition. In other words, locks
       * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks
       * with larger ordinals. Example:
       *
       * {@snippet :
       * enum MyLockOrder {
       *   FIRST, SECOND, THIRD;
       * }
       *
       * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top