Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for theshort (0.29 sec)

  1. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
            assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000"));
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

         * @return 変換された{@link Short}
         */
        public static Short toShort(final Object o) {
            return toShort(o, null);
        }
    
        /**
         * {@link Short}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Short}
         */
        public static Short toShort(final Object o, final String pattern) {
            if (o == null) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/debug/dwarf/testdata/typedef.c

    gcc -gdwarf-4 -m64 -c typedef.c -o typedef.macho4
    */
    #include <complex.h>
    
    typedef volatile int* t_ptr_volatile_int;
    typedef const char *t_ptr_const_char;
    typedef long t_long;
    typedef unsigned short t_ushort;
    typedef int t_func_int_of_float_double(float, double);
    typedef int (*t_ptr_func_int_of_float_double)(float, double);
    typedef int (*t_ptr_func_int_of_float_complex)(float complex);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 02 19:56:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

                return LongConversionUtil.toLong(o);
            } else if (type == Float.class) {
                return FloatConversionUtil.toFloat(o);
            } else if (type == Short.class) {
                return ShortConversionUtil.toShort(o);
            } else if (type == BigInteger.class) {
                return BigIntegerConversionUtil.toBigInteger(o);
            } else if (type == Byte.class) {
                return ByteConversionUtil.toByte(o);
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

            writeInt(`val`)
        }
    
        override fun writeBoolean(`val`: Boolean) = record {
            writeBoolean(`val`)
        }
    
        override fun writeShort(`val`: Int) = record {
            this.writeShort(`val`.toShort())
        }
    
        override fun writeLong(`val`: Long) = record {
            writeLong(`val`)
        }
    
        override fun writeFloat(`val`: Float) = record {
            this.writeFloat(`val`)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/debug/dwarf/type_test.go

    )
    
    var typedefTests = map[string]string{
    	"t_ptr_volatile_int":                    "*volatile int",
    	"t_ptr_const_char":                      "*const char",
    	"t_long":                                "long int",
    	"t_ushort":                              "short unsigned int",
    	"t_func_int_of_float_double":            "func(float, double) int",
    	"t_ptr_func_int_of_float_double":        "*func(float, double) int",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top