Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for DECIMAL (0.05 sec)

  1. docs/ja/docs/tutorial/extra-data-types.md

            * 生成されたスキーマは`set`の値が一意であることを指定します(JSON Schemaの`uniqueItems`を使用します)。
    * `bytes`:
        * Pythonの標準的な`bytes`です。
        * リクエストとレスポンスでは`str`として扱われます。
        * 生成されたスキーマは`str`で`binary`の「フォーマット」持つことを指定します。
    * `Decimal`:
        * Pythonの標準的な`Decimal`です。
        * リクエストやレスポンスでは`float`と同じように扱います。
    
    * Pydanticの全ての有効な型はこちらで確認できます: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic data types</a>。
    ## 例
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/extra-data-types.md

    * `bytes`:
        * O `bytes` padrão do Python.
        * Em requisições e respostas será representado como uma `str`.
        * O esquema gerado vai especificar que é uma `str` com o "formato" `binary`.
    * `Decimal`:
        * O `Decimal` padrão do Python.
        * Em requisições e respostas será representado como um `float`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

            return normalize(s, LocaleUtil.getDefault());
        }
    
        /**
         * Normalizes the string representation of a number by removing grouping separators
         * and representing the decimal point with '.'.
         *
         * @param s
         *            A string representing a number
         * @param locale
         *            The locale. Must not be {@literal null}.
         * @return The normalized string
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

        int decimal = 0;
        int max = Integer.MAX_VALUE / 10; // for int overflow detection
        for (int i = start; i < end; i++) {
          if (decimal > max) {
            return -1;
          }
          decimal *= 10;
          int digit = Character.digit(string.charAt(i), 10);
          if (digit < 0) {
            return -1;
          }
          decimal += digit;
        }
        return decimal;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        int decimal = 0;
        int max = Integer.MAX_VALUE / 10; // for int overflow detection
        for (int i = start; i < end; i++) {
          if (decimal > max) {
            return -1;
          }
          decimal *= 10;
          int digit = Character.digit(string.charAt(i), 10);
          if (digit < 0) {
            return -1;
          }
          decimal += digit;
        }
        return decimal;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            assertEquals(0, resp.getCount(), "Initial count should be zero");
        }
    
        @Test
        public void testReadParameterWordsUpdatesCount() {
            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
            byte[] buf = new byte[12];
            buf[0] = 0x34; // Low byte
            buf[1] = 0x12; // High byte
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

        /**
         * Ensures toString contains key fields with expected formatting.
         */
        @Test
        void testToStringContainsExpectedFields() {
            // Given
            int sid = 4660; // 0x1234, printed as decimal
            int resumeKey = 0x01020304; // shows only low 4 hex digits per implementation
            String name = "name";
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

     */
    @ExtendWith(MockitoExtension.class)
    class SmbComFindClose2Test {
    
        @Mock
        private Configuration mockConfig;
    
        private SmbComFindClose2 instance;
        private final int TEST_SID = 0x1234; // 4660 decimal
    
        @BeforeEach
        void setUp() {
            instance = new SmbComFindClose2(mockConfig, TEST_SID);
        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        long rem = dividend - quotient * divisor;
        return rem - (compare(rem, divisor) >= 0 ? divisor : 0);
      }
    
      /**
       * Returns the unsigned {@code long} value represented by the given decimal string.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    		}
    		expectedSql := []string{
    			`ALTER TABLE "migrate_decimal_columns" ALTER COLUMN "recid1" decimal(8) NOT NULL`,
    			`ALTER TABLE "migrate_decimal_columns" ALTER COLUMN "recid2" decimal(9,1) NOT NULL`,
    			`ALTER TABLE "migrate_decimal_columns" ALTER COLUMN "recid3" decimal(9,2) NOT NULL`,
    		}
    		decimalColumnsTest[MigrateDecimalColumn, MigrateDecimalColumn2](t, expectedSql)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
Back to top