Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 526 for short (0.19 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.constrainToRange((short) 1, (short) 0, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 1, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 3, (short) 5)).isEqualTo((short) 3);
        assertThat(Shorts.constrainToRange((short) 0, (short) -5, (short) -1)).isEqualTo((short) -1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.constrainToRange((short) 1, (short) 0, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 1, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 3, (short) 5)).isEqualTo((short) 3);
        assertThat(Shorts.constrainToRange((short) 0, (short) -5, (short) -1)).isEqualTo((short) -1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  4. 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();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                ConstantValueKind.Long -> KtConstantValue.KtLongConstantValue(value as Long, psi)
                ConstantValueKind.Short -> KtConstantValue.KtShortConstantValue(value as Short, psi)
    
                ConstantValueKind.UnsignedByte -> KtConstantValue.KtUnsignedByteConstantValue(value as UByte, psi)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/minio-bucket.json

          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "mode": "time",
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "$$hashKey": "object:331",
              "format": "short",
              "logBase": 1,
              "show": true
            },
    Json
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Tue Feb 20 09:45:00 GMT 2024
    - 71.4K bytes
    - Viewed (1)
  7. istioctl/pkg/dashboard/dashboard.go

    func promDashCmd(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "prometheus",
    		Short: "Open Prometheus web UI",
    		Long:  `Open Istio's Prometheus dashboard`,
    		Example: `  istioctl dashboard prometheus
    
      # with short syntax
      istioctl dash prometheus
      istioctl d prometheus`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. .github/workflows/mint.yml

            uses: actions/setup-go@v5
            with:
              go-version: 1.21.x
    
          - name: github sha short
            id: vars
            run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
    
          - name: build-minio
            run: |
              TAG="quay.io/minio/minio:${{ steps.vars.outputs.sha_short }}" make docker
    
          - name: multipart uploads test
            run: |
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            }
          }
        } else if (hashTableObject instanceof short[]) {
          short[] hashTable = (short[]) hashTableObject;
          int mask = hashTable.length - 1;
          for (int h = Hashing.smear(key.hashCode()); ; h++) {
            h &= mask;
            int keyIndex = hashTable[h] & SHORT_MASK; // unsigned read
            if (keyIndex == SHORT_MASK) { // -1 signed becomes 65_535 unsigned
              return null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            public long used;
            public long committed;
            public long max;
            public short percent;
        }
    
        public static class JvmMemoryNonHeapObj {
            public long used;
            public long committed;
            public long max;
            public short percent;
        }
    
        public static class JvmPoolObj {
            public String key;
            public long count;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.1K bytes
    - Viewed (0)
Back to top