Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for getUnits (0.34 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalStatusEvent.java

     *
     * @since 7.3
     */
    public interface InternalStatusEvent extends InternalProgressEvent {
        long getProgress();
    
        long getTotal();
    
        String getUnits();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 912 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. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultStatusEvent.java

        }
    
        @Override
        public long getProgress() {
            return progress;
        }
    
        @Override
        public long getTotal() {
            return total;
        }
    
        @Override
        public String getUnits() {
            return units;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 21 23:09:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

            average = total.div(size());
            this.min = min;
            this.max = max;
    
            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();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/FileDownloadOperationMapper.java

                OperationProgressDetails details = (OperationProgressDetails) progressEvent.getDetails();
                return new DefaultStatusEvent(progressEvent.getTime(), descriptor, details.getProgress(), details.getTotal(), details.getUnits());
            } else {
                return null;
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

        public String toString() {
            if (cachedToString == null) {
                cachedToString = value + " " + units.format(value);
            }
            return cachedToString;
        }
    
        public Units<Q> getUnits() {
            return units;
        }
    
        public BigDecimal getValue() {
            return value;
        }
    
        /**
         * Returns a human consumable string representation of this amount.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

                progressEvent.getEventTime(),
                descriptor,
                progressEvent.getTotal(),
                progressEvent.getProgress(),
                progressEvent.getUnits()));
        }
    
        private void broadcastTaskProgressEvent(InternalProgressEvent event, InternalTaskDescriptor descriptor) {
            TaskProgressEvent taskProgressEvent = toTaskProgressEvent(event, descriptor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  9. fess-crawler-es/src/test/java/org/codelibs/fess/crawler/service/impl/EsUrlQueueServiceTest.java

                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.delete("sessionId");
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
        }
    
        public void test_insert_update_delete_multiTx() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/EsDataService.java

            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
                    if (searchHits.getHits().length == 0) {
                        break;
                    }
    
                    for (final SearchHit searchHit : searchHits) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top