Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for t_long (0.14 sec)

  1. src/crypto/internal/mlkem768/mlkem768_test.go

    		if _, _, err := Encapsulate(ek[:i]); err == nil {
    			t.Errorf("expected error for ek length %d", i)
    		}
    	}
    	ekLong := ek
    	for i := 0; i < 100; i++ {
    		ekLong = append(ekLong, 0)
    		if _, _, err := Encapsulate(ekLong); err == nil {
    			t.Errorf("expected error for ek length %d", len(ekLong))
    		}
    	}
    
    	c, _, err := Encapsulate(ek)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *     and {@link Character#MAX_RADIX}.
       */
      public static String toString(int x, int radix) {
        long asLong = x & INT_MASK;
        return Long.toString(asLong, radix);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedInts.java

       *     and {@link Character#MAX_RADIX}.
       */
      public static String toString(int x, int radix) {
        long asLong = x & INT_MASK;
        return Long.toString(asLong, radix);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isUInt -> KaConstantValue.KaUnsignedIntConstantValue((value as Number).toInt().toUInt(), expression)
                type.isLong -> KaConstantValue.KaLongConstantValue((value as Number).toLong(), expression)
                type.isULong -> KaConstantValue.KaUnsignedLongConstantValue((value as Number).toLong().toULong(), expression)
                type.isString -> KaConstantValue.KaStringConstantValue(value.toString(), expression)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

    /**
     * {@link Long}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class LongConversionUtil {
    
        /**
         * {@link Long}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@link Long}
         */
        public static Long toLong(final Object o) {
            return toLong(o, null);
        }
    
        /**
         * {@link Long}に変換します。
         *
         * @param o
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

                    isInt || isLong || isShort || isByte -> "0"
                    isFloat -> "0.0f"
                    isDouble -> "0.0"
                    isChar -> "'\\u0000'"
                    isBoolean -> "false"
                    isUnit -> "Unit"
                    isString -> "\"\""
                    isUInt -> "0.toUInt()"
                    isULong -> "0.toULong()"
                    isUShort -> "0.toUShort()"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

     * @author higa
     *
     */
    public class LongConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToLong() throws Exception {
            assertEquals(new Long("1000"), LongConversionUtil.toLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveLong() throws Exception {
            assertEquals(1000, LongConversionUtil.toPrimitiveLong("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)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyRead.groovy

                    return "System.getProperty(\"$name\", \"$defaultValue\")?.toLong()"
                }
            }
        }
    
        static SystemPropertyRead longGetLongWithLongDefault(String name, long defaultValue) {
            return new SystemPropertyRead() {
                @Override
                String getJavaExpression() {
                    return "Long.getLong(\"$name\", Long.valueOf($defaultValue))"
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            freshMillis = minOf(freshMillis, SECONDS.toMillis(requestCaching.maxAgeSeconds.toLong()))
          }
    
          var minFreshMillis: Long = 0
          if (requestCaching.minFreshSeconds != -1) {
            minFreshMillis = SECONDS.toMillis(requestCaching.minFreshSeconds.toLong())
          }
    
          var maxStaleMillis: Long = 0
          if (!responseCaching.mustRevalidate && requestCaching.maxStaleSeconds != -1) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                    val long = value as Long
                    if (Int.MIN_VALUE < long && long < Int.MAX_VALUE) KaConstantValue.KaIntConstantValue(long.toInt(), psi)
                    else KaConstantValue.KaLongConstantValue(long, psi)
                }
    
                ConstantValueKind.UnsignedIntegerLiteral -> {
                    val long = value as ULong
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top