Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for val (0.12 sec)

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

        // TODO(lowasser): make this GWT-compatible
        return fromIntBits(value * checkNotNull(val).value);
      }
    
      /**
       * Returns the result of dividing this by {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
       * @since 14.0
       */
      public UnsignedInteger dividedBy(UnsignedInteger val) {
        return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ConverterTest.java

          };
    
      private static final Long LONG_VAL = 12345L;
      private static final String STR_VAL = "12345";
    
      private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456");
      private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L);
    
      public void testConverter() {
        assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
        assertEquals(STR_VAL, STR_TO_LONG.reverse().convert(LONG_VAL));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            advance(1);
        }
        public int dec_ndr_small() {
            int val = buf[index] & 0xFF;
            advance(1);
            return val;
        }
        public void enc_ndr_short(int s) {
            align(2);
            Encdec.enc_uint16le((short)s, buf, index);
            advance(2);
        }
        public int dec_ndr_short() {
            align(2);
            int val = Encdec.dec_uint16le(buf, index);
            advance(2);
            return val;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionServicePacket.java

    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 16 ) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                String val = (String) value;
    
                int exprStartDelimiter = val.indexOf("${");
    
                if (exprStartDelimiter >= 0) {
                    if (exprStartDelimiter > 0) {
                        value = val.substring(0, exprStartDelimiter) + evaluate(val.substring(exprStartDelimiter));
                    } else {
                        value = evaluate(val.substring(exprStartDelimiter));
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            List<String> updatedList = getPropList(searchBody, "permissions");
            for (String val : updatedList) {
                assertEquals(val, "{role}admin-api2");
            }
        }
    
        private void testPermission() {
            // Create access token
            final String name = NAME_PREFIX + 0;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
          return UNSAFE.compareAndSwapLong(this, valueOffset, cmp, val);
        }
    
        // Unsafe mechanics
        private static final sun.misc.Unsafe UNSAFE;
        private static final long valueOffset;
    
        static {
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
            if (val instanceof Boolean) {
                return (Boolean) val;
            } else if (val != null) {
                return Boolean.parseBoolean(val.toString());
            } else {
                return def;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 13:04:57 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/Tokenizer.java

            }
        }
    
        /**
         * 単語用の文字として設定します。
         *
         * @param ctype2
         *            文字のタイプの配列
         * @param val
         *            文字コード
         */
        protected static void wordChar(final byte[] ctype2, final int val) {
            ctype2[val] |= CT_ALPHA;
        }
    
        /**
         * 空白用の文字として設定します。
         *
         * @param ctype2
         *            文字のタイプの配列
         * @param low
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Hexdump.java

                    dst[ i ] = HEX_DIGITS[ val & 0x000F ];
                }
                if ( val != 0 ) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
    
        /**
         * @param val
         * @param dst
         * @param dstIndex
         * @param size
         */
        public static void toHexChars ( long val, char dst[], int dstIndex, int size ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
Back to top