Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for ordinary (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // IbvSendWR sendWR = new IbvSendWR();
                // sendWR.setWr_id(System.nanoTime());
                // sendWR.setOpcode(IbvSendWR.IbvWrOpcode.IBV_WR_SEND.ordinal());
                // sendWR.setSend_flags(IbvSendWR.IBV_SEND_SIGNALED);
                //
                // LinkedList<IbvSge> sgeList = new LinkedList<>();
                // IbvSge sge = new IbvSge();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops.go

    	lkctx, err := locker.GetLock(ctx, newDiskHealingTimeout)
    	if err != nil {
    		return fmt.Errorf("Healing of drive '%v' on %s pool, belonging to %s erasure set already in progress: %w",
    			disk, humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1), err)
    	}
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    	// Load healing tracker in this disk
    	tracker, err := loadHealingTracker(ctx, disk)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    ### Refactors
    
    * 🎨 Fix typing annotation for semi-internal `FastAPI.add_api_route()`. PR [#10240](https://github.com/fastapi/fastapi/pull/10240) by [@ordinary-jamie](https://github.com/ordinary-jamie).
    * ⬆️ Upgrade version of Ruff and reformat. PR [#12032](https://github.com/fastapi/fastapi/pull/12032) by [@tiangolo](https://github.com/tiangolo).
    
    ### Docs
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top