Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 111 for getUnit (0.26 sec)

  1. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, new Integer(testData));
            assertThat(FieldUtil.getInt(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntFieldObject() throws Exception {
            final Field field = getClass().getField("INT_DATA");
            assertThat(FieldUtil.getInt(field), is(INT_DATA));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PrettyCalculator.groovy

        }
    
        static <Q> Number percentChange(Amount<Q> current, Amount<Q> previous) {
            if (previous == Amount.valueOf(0, previous.getUnits())) {
                return 100 as Integer
            }
            BigDecimal result = (current - previous) / previous * 100
            return result.setScale(2, RoundingMode.HALF_UP)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/OperationProgressDetails.java

            this.units = units;
        }
    
        public long getProgress() {
            return progress;
        }
    
        public long getTotal() {
            return total;
        }
    
        public String getUnits() {
            return units;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        return success();
      }
      return op->emitOpError() << "module already contains an attribute "
                               << attr_name << "=" << ex_attr_value.getInt()
                               << ", overwritting to a new value "
                               << attr_value.getInt() << " is not allowed.";
    }
    
    LogicalResult SetCollectiveInfo(IntegerAttr group_size, IntegerAttr group_key,
                                    Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

        fbb.Add(static_cast<int32_t>(
            mlir::dyn_cast<IntegerAttr>(*(hash_seed.getValue().data() + i))
                .getInt()));
      }
      fbb.EndVector(vector_start, /*typed=*/true, /*fixed=*/false);
    
      auto buckets = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get("buckets"));
      fbb.Int("buckets", buckets.getInt());
    
      fbb.EndMap(start_map);
      fbb.Finish();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                final Response response = checkMethodBase(requestBody).post("/api/admin/scheduler/" + schedulerId + "/start");
                if (response.getBody().jsonPath().getInt("response.status") == 0) {
                    logger.info("Start scheduler \"{}\"", schedulerId);
                    return;
                }
                ThreadUtil.sleep(1000L);
            }
            fail("could not start job.");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      ArrayAttr stride = mlir::dyn_cast<ArrayAttr>(identifier_to_attr["strides"]);
      const int stride_h = mlir::cast<IntegerAttr>(stride[1]).getInt();
      const int stride_w = mlir::cast<IntegerAttr>(stride[2]).getInt();
      return rewriter.getI64ArrayAttr({stride_h, stride_w});
    }
    
    Attribute GetLhsDilationValue(PatternRewriter& rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      int n;
      if (point.isParent()) {
        // The op itself branches to `init` first.
        regions.push_back(
            RegionSuccessor(&getInit(), getInit().front().getArguments()));
      } else if (point.getRegionOrNull() == &getInit()) {
        // `init` branches to `next`, passing along the arguments given to `init`'s
        // yield. Said arguments precede the "other args".
        n = getInitFuncOtherArgs().size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    		PluginLogLevel:        istiolog.LevelToString(istiolog.FindScope(constants.CNIPluginLogScope).GetOutputLevel()),
    		KubeconfigFilename:    viper.GetString(constants.KubeconfigFilename),
    		KubeconfigMode:        viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:            viper.GetString(constants.KubeCAFile),
    		SkipTLSVerify:         viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol:    os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

          padding_nums.push_back(padding_elem.getInt());
        }
      } else if (conv_padding.strref() == "VALID") {
        padding_nums.resize(padding_nums_size, 0);
      } else {
        padding_nums.resize(padding_nums_size);
        for (int i = 0; i < dnums.input_spatial_dimensions_size(); ++i) {
          const int64_t stride =
              mlir::cast<IntegerAttr>(op.getWindowStridesAttr()[i]).getInt();
          const int64_t lhs_size_dilated =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top