Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 393 for Short (0.32 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

                    },
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(1);
        assertThat(
                Shorts.indexOf(
                    new short[] {(short) 4, (short) 3, (short) 2},
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Short}
         */
        public static Short toShort(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
    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. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

                    },
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(1);
        assertThat(
                Shorts.indexOf(
                    new short[] {(short) 4, (short) 3, (short) 2},
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
        return (short) value;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
        return (short) value;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_deprecate_message.txt

    -- go.mod --
    module use
    
    go 1.16
    
    require (
    	short v0.0.0
    	multiline v0.0.0
    	long v0.0.0
    	unprintable v0.0.0
    )
    
    replace (
    	short v0.0.0 => ./short
    	multiline v0.0.0 => ./multiline
    	long v0.0.0 => ./long
    	unprintable v0.0.0 => ./unprintable
    )
    -- short/go.mod --
    // Deprecated: short
    module short
    
    go 1.16
    -- short/short.go --
    package short
    -- multiline/go.mod --
    // Deprecated: first line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_sync_atomic_import.txt

    go test -short -covermode=atomic -run=TestStoreInt64 sync/atomic
    go test -short -covermode=atomic -run=TestAnd8 internal/runtime/atomic
    
    # Skip remainder if no race detector support.
    [!race] skip
    
    go test -short -cover -race -run=TestStoreInt64 sync/atomic
    go test -short -cover -race -run=TestAnd8 internal/runtime/atomic
    
    -- go.mod --
    module coverdep
    
    go 1.16
    -- p.go --
    package p
    
    import _ "coverdep/p1"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 00:18:30 UTC 2024
    - 1011 bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/PrimitiveTypesTest.groovy

            Byte      | _
            Short     | _
            Integer   | _
            Float     | _
            Long      | _
            Double    | _
        }
    
        def "#type is primitive"() {
            expect:
            PrimitiveTypes.isPrimitiveType(ModelType.of(type))
    
            where:
            type    | _
            boolean | _
            char    | _
            byte    | _
            short   | _
            int     | _
            float   | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ShortsMethodsForWeb.java

    public abstract class ShortsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native short min(short... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native short max(short... array);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PrimitiveKotlinTypeStrings.kt

            "char" to "Char",
            "java.lang.Boolean" to "Boolean",
            "boolean" to "Boolean",
            "java.lang.Byte" to "Byte",
            "byte" to "Byte",
            "java.lang.Short" to "Short",
            "short" to "Short",
            "java.lang.Integer" to "Int",
            "int" to "Int",
            "java.lang.Long" to "Long",
            "long" to "Long",
            "java.lang.Float" to "Float",
            "float" to "Float",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top