Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 291 for valueDoc (1.08 sec)

  1. test/fixedbugs/issue35073b.go

    	m := make(map[string]string) // ERROR "moved to heap: m" "make\(map\[string\]string\) escapes to heap"
    
    	_ = unsafe.Pointer(reflect.ValueOf(&n).Elem().UnsafeAddr()) // ERROR "inlining call"
    	_ = unsafe.Pointer(reflect.ValueOf(&m).Elem().Pointer())    // ERROR "inlining call"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:12:49 UTC 2023
    - 706 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       *
       * @since 14.0
       */
      public static UnsignedInteger fromIntBits(int bits) {
        return new UnsignedInteger(bits);
      }
    
      /**
       * Returns an {@code UnsignedInteger} that is equal to {@code value}, if possible. The inverse
       * operation of {@link #longValue()}.
       */
      public static UnsignedInteger valueOf(long value) {
        checkArgument(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedInteger.java

       *
       * @since 14.0
       */
      public static UnsignedInteger fromIntBits(int bits) {
        return new UnsignedInteger(bits);
      }
    
      /**
       * Returns an {@code UnsignedInteger} that is equal to {@code value}, if possible. The inverse
       * operation of {@link #longValue()}.
       */
      public static UnsignedInteger valueOf(long value) {
        checkArgument(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

                    File file = artifact.getFile();
                    files.add(file);
                    timestamps.add((file != null) ? Long.valueOf(file.lastModified()) : Long.valueOf(0));
                    sizes.add((file != null) ? Long.valueOf(file.length()) : Long.valueOf(0));
                    ids.add(artifact.getVersion());
                }
    
                this.hashCode =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

            normalised = units.scaleTo(value, units.getBaseUnits());
        }
    
        public static <Q> Amount<Q> valueOf(long value, Units<Q> units) {
            return valueOf(BigDecimal.valueOf(value), units);
        }
    
        /**
         * Returns null if the given value is null.
         */
        @Nullable
        public static <Q> Amount<Q> valueOf(@Nullable BigDecimal value, Units<Q> units) {
            if (value == null) {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. schema/utils.go

    	for _, rel := range rels {
    		reflectResults = reflect.MakeSlice(reflect.SliceOf(reflect.PtrTo(rel.FieldSchema.ModelType)), 0, 1)
    
    		appendToResults := func(value reflect.Value) {
    			if _, isZero := rel.Field.ValueOf(ctx, value); !isZero {
    				result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value))
    				switch result.Kind() {
    				case reflect.Struct:
    					reflectResults = reflect.Append(reflectResults, result.Addr())
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

        for (int a : TEST_INTS) {
          long value = a & 0xffffffffL;
          equalsTester.addEqualityGroup(
              UnsignedInteger.fromIntBits(a),
              UnsignedInteger.valueOf(value),
              UnsignedInteger.valueOf(Long.toString(value)),
              UnsignedInteger.valueOf(Long.toString(value, 16), 16));
        }
        equalsTester.testEquals();
      }
    
      public void testIntValue() {
        for (int a : TEST_INTS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

        for (int a : TEST_INTS) {
          long value = a & 0xffffffffL;
          equalsTester.addEqualityGroup(
              UnsignedInteger.fromIntBits(a),
              UnsignedInteger.valueOf(value),
              UnsignedInteger.valueOf(Long.toString(value)),
              UnsignedInteger.valueOf(Long.toString(value, 16), 16));
        }
        equalsTester.testEquals();
      }
    
      public void testIntValue() {
        for (int a : TEST_INTS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            if (type == int.class) {
                final Integer i = IntegerConversionUtil.toInteger(o);
                if (i != null) {
                    return i;
                }
                return Integer.valueOf(0);
            } else if (type == double.class) {
                final Double d = DoubleConversionUtil.toDouble(o);
                if (d != null) {
                    return d;
                }
                return new Double(0);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

            }
            // This isn't quite right, as we may lose precision when converting to a double
            BigDecimal result = BigDecimal.valueOf(Math.sqrt(sumSquares.divide(BigDecimal.valueOf(size()), RoundingMode.HALF_UP).doubleValue())).setScale(2, RoundingMode.HALF_UP);
    
            standardError = Amount.valueOf(result, baseUnits);
        }
    
        public Amount<Q> getAverage() {
            return average;
        }
    
        public Amount<Q> getMedian() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top