Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Short (0.03 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                }
                this.name.length = (short) _src.dec_ndr_short();
                this.name.maximum_length = (short) _src.dec_ndr_short();
                int _name_bufferp = _src.dec_ndr_long();
                _src.align(4);
                if ( this.dns_domain == null ) {
                    this.dns_domain = new rpc.unicode_string();
                }
                this.dns_domain.length = (short) _src.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                }
                name.length = (short)_src.dec_ndr_short();
                name.maximum_length = (short)_src.dec_ndr_short();
                int _name_bufferp = _src.dec_ndr_long();
                _src.align(4);
                if (dns_domain == null) {
                    dns_domain = new rpc.unicode_string();
                }
                dns_domain.length = (short)_src.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Encdec.java

            dst[ di ] = (byte) ( ( i >> 24 ) & 0xFF );
            return 4;
        }
    
    
        /*
         * Decode integers
         */
    
        public static short dec_uint16be ( byte[] src, int si ) {
            return (short) ( ( ( src[ si ] & 0xFF ) << 8 ) | ( src[ si + 1 ] & 0xFF ) );
        }
    
    
        public static int dec_uint32be ( byte[] src, int si ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        protected static final short SMB2_READ = 0x0008;
        protected static final short SMB2_WRITE = 0x0009;
        protected static final short SMB2_LOCK = 0x000A;
        protected static final short SMB2_IOCTL = 0x000B;
        protected static final short SMB2_CANCEL = 0x000C;
        protected static final short SMB2_ECHO = 0x000D;
        protected static final short SMB2_QUERY_DIRECTORY = 0x000E;
        protected static final short SMB2_CHANGE_NOTIFY = 0x000F;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        }
    
        /**
         * {@literal short}配列の末尾に{@literal short}の値を追加した配列を返します。
         *
         * @param array
         *            配列。{@literal null}であってはいけません
         * @param value
         *            値
         * @return 値が追加された結果の配列
         */
        public static short[] add(final short[] array, final short value) {
            assertArgumentNotNull("array", array);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            } else if (key.equals(alternatingKeysAndValues[keyIndex])) {
              return alternatingKeysAndValues[keyIndex ^ 1];
            }
          }
        } 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. 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 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. internal/dsync/dsync_test.go

    	dm1.Unlock(context.Background())
    	dm2.Unlock(context.Background())
    }
    
    // Test refreshing lock - refresh should always return true
    func TestSuccessfulLockRefresh(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	dm := NewDRWMutex(ds, "aap")
    	dm.refreshInterval = testDrwMutexRefreshInterval
    
    	ctx, cancel := context.WithCancel(context.Background())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top