Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 94 for ordinary (0.15 seconds)

  1. 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
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  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());
    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)
  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();
    
          /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/storage/StorageTypeTest.java

                assertEquals(type, StorageType.valueOf(type.name()));
            }
        }
    
        public void test_ordinal() {
            assertEquals(0, StorageType.S3.ordinal());
            assertEquals(1, StorageType.GCS.ordinal());
            assertEquals(2, StorageType.S3_COMPAT.ordinal());
        }
    
        public void test_name() {
            assertEquals("S3", StorageType.S3.name());
            assertEquals("GCS", StorageType.GCS.name());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  6. 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":
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Test that Method enum ordinal values are sequential ##
    
            // ## Act & Assert ##
            assertEquals(0, Method.GET.ordinal());
            assertEquals(1, Method.POST.ordinal());
            assertEquals(2, Method.PUT.ordinal());
            assertEquals(3, Method.DELETE.ordinal());
            assertEquals(4, Method.HEAD.ordinal());
            assertEquals(5, Method.OPTIONS.ordinal());
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  8. android/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];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. 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();
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

    private fun Stage.getBuildScanCustomValues(): List<String> =
        StageName
            .values()
            .slice(this.stageName.ordinal until StageName.READY_FOR_RELEASE.ordinal + 1)
            .map { it.uuid }
    
    fun Stage.getBuildScanCustomValueParam(testCoverage: TestCoverage? = null): String {
        val customValues =
            if (testCoverage != null) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top