Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for _ordinal (0.06 sec)

  1. src/main/webapp/js/admin/moment-with-locales.min.js

    rCase()];return a||!t?a:(this._longDateFormat[e]=t.match(j).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},pt.invalidDate=function(){return this._invalidDate},pt.ordinal=function(e){return this._ordinal.replace("%d",e)},pt.preparse=ft,pt.postformat=ft,pt.relativeTime=function(e,a,t,s){var n=this._relativeTime[t];return v(n)?n(e,a,t,s):n.replace(/%d/i,e)},pt.pastFuture=function(e,a){var t=this._relativeTime[0<e?"future":"past"];return...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 360.5K bytes
    - Viewed (2)
  2. 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());
            assertTrue(DialectVersion.SMB210.ordinal() < DialectVersion.SMB300.ordinal());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

        int dataLength = -1;
        try {
          DataInputStream din = new DataInputStream(in);
          // currently this assumes there is no negative ordinal; will have to be updated if we
          // add non-stateless strategies (for which we've reserved negative ordinals; see
          // Strategy.ordinal()).
          strategyOrdinal = din.readByte();
          numHashFunctions = toUnsignedInt(din.readByte());
          dataLength = din.readInt();
    
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/RequestParamTest.java

            // Ordinal is consistent with declaration order
            switch (name) {
            case "NONE":
                assertEquals(0, rp.ordinal());
                break;
            case "NO_TIMEOUT":
                assertEquals(1, rp.ordinal());
                break;
            case "NO_RETRY":
                assertEquals(2, rp.ordinal());
                break;
            case "RETAIN_PAYLOAD":
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            currentStatus = CrawlerStatus.DONE;
            assertEquals(CrawlerStatus.DONE, currentStatus);
    
            // Verify ordinal progression
            assertTrue(CrawlerStatus.INITIALIZING.ordinal() < CrawlerStatus.RUNNING.ordinal());
            assertTrue(CrawlerStatus.RUNNING.ordinal() < CrawlerStatus.DONE.ordinal());
        }
    
        /**
         * Test usage in conditional statements
         */
        public void test_conditionalStatements() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top