Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 237 for lsum (0.02 seconds)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

            // Take newer values from item2
            mergedItem.setTimestamp(item2.getTimestamp());
            mergedItem.setUserBoost(item2.getUserBoost());
            mergedItem.setEmptySource(item2.toEmptyMap());
    
            // Sum frequencies
            mergedItem.setQueryFreq(item1.getQueryFreq() + item2.getQueryFreq());
            mergedItem.setDocFreq(item1.getDocFreq() + item2.getDocFreq());
    
            return mergedItem;
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionAggregation.java

            regA(builder);
            return builder;
        }
    
        protected SumAggregationBuilder regSumA(String name, String field) {
            SumAggregationBuilder builder = AggregationBuilders.sum(name).field(field);
            regA(builder);
            return builder;
        }
    
        protected ExtendedStatsAggregationBuilder regExtendedStatsA(String name, String field) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

      }
    
      public void testToImmutableMapMerging() {
        Collector<Entry<AnEnum, Integer>, ?, ImmutableMap<AnEnum, Integer>> collector =
            toImmutableEnumMap(Entry::getKey, Entry::getValue, Integer::sum);
        Equivalence<ImmutableMap<AnEnum, Integer>> equivalence =
            Equivalence.equals().<Entry<AnEnum, Integer>>pairwise().onResultOf(ImmutableMap::entrySet);
        CollectorTester.of(collector, equivalence)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/util/ScrollOperationHelperTest.java

            }
        }
    
        @Test
        public void testScrollSearch_customAccumulator() {
            createTestIndex();
            indexDocuments(5);
            runner.refresh();
    
            // Use custom accumulator to sum values
            List<Integer> values = new ArrayList<>();
            List<Integer> results = ScrollOperationHelper.scrollSearch(client, suggester.settings(), INDEX_NAME, QueryBuilders.matchAllQuery(),
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

          expectAddFailure(multiset, entry);
        }
      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  6. internal/crypto/error.go

    	ErrSecretKeyMismatch = Errorf("The secret key does not match the secret key used during upload")
    
    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    	// computed MD5 sum. This means that the client provided either the wrong key for
    	// a certain MD5 checksum or the wrong MD5 for a certain key.
    	ErrCustomerKeyMD5Mismatch = Errorf("The provided SSE-C key MD5 does not match the computed MD5 of the SSE-C key")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. cmd/metrics.go

    			nil, nil),
    		prometheus.GaugeValue,
    		float64(offlineDisks.Sum()),
    	)
    
    	// MinIO Total Disks per node
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "drives", "total"),
    			"Total number of drives for current MinIO server instance",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(totalDisks.Sum()),
    	)
    
    	for _, disk := range server.Disks {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

                }
                return endOfData();
              }
            };
          }
        };
      }
    
      /**
       * Returns an unmodifiable view of the sum of two multisets. In the returned multiset, the count
       * of each element is the <i>sum</i> of its counts in the two backing multisets. The iteration
       * order of the returned multiset matches that of the element set of {@code multiset1} followed by
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multisets.java

                }
                return endOfData();
              }
            };
          }
        };
      }
    
      /**
       * Returns an unmodifiable view of the sum of two multisets. In the returned multiset, the count
       * of each element is the <i>sum</i> of its counts in the two backing multisets. The iteration
       * order of the returned multiset matches that of the element set of {@code multiset1} followed by
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/LocalCache.java

            }
            sum -= segment.modCount;
          }
          return sum == 0L;
        }
        return true;
      }
    
      long longSize() {
        Segment<K, V>[] segments = this.segments;
        long sum = 0;
        for (Segment<K, V> segment : segments) {
          sum += segment.count;
        }
        return sum;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(longSize());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
Back to Top