Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,353 for genValue (0.12 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

            BigDecimal sumSquares = BigDecimal.ZERO;
            Units<Q> baseUnits = average.getUnits().getBaseUnits();
            BigDecimal averageValue = average.toUnits(baseUnits).getValue();
            for (Amount<Q> amount : this) {
                BigDecimal diff = amount.toUnits(baseUnits).getValue();
                diff = diff.subtract(averageValue);
                diff = diff.multiply(diff);
                sumSquares = sumSquares.add(diff);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

        def "rule can create a map of model elements"() {
            when:
            buildScript '''
                @Managed
                interface Thing extends Named {
                  void setValue(String value)
                  String getValue()
                }
    
                @Managed
                interface Container {
                  ModelMap<Thing> getThings();
                }
    
                class Rules extends RuleSource {
    
                  @Model
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeSet.java

        if (ceilingEntry != null
            && ceilingEntry.getValue().isConnected(range)
            && !ceilingEntry.getValue().intersection(range).isEmpty()) {
          return true;
        }
        Entry<Cut<C>, Range<C>> priorEntry = rangesByLowerBound.lowerEntry(range.lowerBound);
        return priorEntry != null
            && priorEntry.getValue().isConnected(range)
            && !priorEntry.getValue().intersection(range).isEmpty();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolutionResultProvider.java

                    return transformer.apply(ResolutionResultProvider.this.getTaskDependencyValue());
                }
    
                @Override
                public E getValue() {
                    return transformer.apply(ResolutionResultProvider.this.getValue());
                }
            };
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java

        }
    
        public static Number getDifferenceRatio(DataSeries<Duration> baselineVersion, DataSeries<Duration> currentVersion) {
            double base = baselineVersion.getMedian().getValue().doubleValue();
            double current = currentVersion.getMedian().getValue().doubleValue();
            return (current - base) / base;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractTable.java

          @Override
          @ParametricNullness
          V transform(Cell<R, C, V> cell) {
            return cell.getValue();
          }
        };
      }
    
      Spliterator<V> valuesSpliterator() {
        return CollectSpliterators.map(cellSpliterator(), Table.Cell::getValue);
      }
    
      @WeakOuter
      class Values extends AbstractCollection<V> {
        @Override
        public Iterator<V> iterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

      if (!padding) {
        return func_.emitWarning() << "'padding' attribute for " << kMaxUnpooling
                                   << " is not set or not a string";
      }
      if (padding.getValue() != "VALID" && padding.getValue() != "SAME") {
        return func_.emitWarning()
               << "Padding for " << kMaxUnpooling << " must be 'SAME' or 'VALID'";
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

    void MoveFuncOp(FlatSymbolRefAttr &symbol_ref, SymbolTable &from,
                    SymbolTable &to) {
      if (to.lookup<func::FuncOp>(symbol_ref.getValue())) return;
      func::FuncOp callee = from.lookup<func::FuncOp>(symbol_ref.getValue());
      callee.getOperation()->getBlock()->getOperations().remove(
          callee.getOperation());
      to.insert(callee);
    }
    
    void TPUBridgeExecutorIslandOutlining::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc

          const TF::ResourceDataflowState *latticeElement =
              solver.lookupState<TF::ResourceDataflowState>(val);
          if (!latticeElement || latticeElement->getValue().ops.size() != 1)
            continue;
    
          // Don't freeze mutable tensors.
          Operation *op = *latticeElement->getValue().ops.begin();
          GlobalTensorOp globalTensor = llvm::dyn_cast<GlobalTensorOp>(op);
    
          if (!globalTensor)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/ParsedCommandLineOptionSpec.groovy

    import spock.lang.Specification
    
    class ParsedCommandLineOptionSpec extends Specification {
    
        final option = new ParsedCommandLineOption();
    
        def "reports no value"() {
            when:
            option.getValue()
    
            then:
            thrown(IllegalStateException)
            !option.hasValue()
        }
    
        def "reports single value"() {
            when:
            option.addArgument("foo")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top