Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 2,974 for value0 (0.04 seconds)

  1. android/guava/src/com/google/common/collect/CollectCollectors.java

        EnumMapAccumulator(BinaryOperator<V> mergeFunction) {
          this.mergeFunction = mergeFunction;
        }
    
        void put(K key, V value) {
          if (map == null) {
            map = new EnumMap<>(singletonMap(key, value));
          } else {
            map.merge(key, value, mergeFunction);
          }
        }
    
        EnumMapAccumulator<K, V> combine(EnumMapAccumulator<K, V> other) {
          if (this.map == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CollectCollectors.java

        EnumMapAccumulator(BinaryOperator<V> mergeFunction) {
          this.mergeFunction = mergeFunction;
        }
    
        void put(K key, V value) {
          if (map == null) {
            map = new EnumMap<>(singletonMap(key, value));
          } else {
            map.merge(key, value, mergeFunction);
          }
        }
    
        EnumMapAccumulator<K, V> combine(EnumMapAccumulator<K, V> other) {
          if (this.map == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * undefined which (if any) of these modifications will be reflected in the result.
       */
      @Override
      public int size() {
        long sum = 0L;
        for (AtomicInteger value : countMap.values()) {
          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * We override the toArray methods for two reasons:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

      /**
       * Creates a {@code ListenableFuture} which has its value set immediately upon construction. The
       * getters just return the value. This {@code Future} can't be canceled or timed out and its
       * {@code isDone()} method always returns {@code true}.
       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture(
          @ParametricNullness V value) {
        if (value == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            assertTrue(queryCommand.lowercaseWildcard);
        }
    
        @Test
        public void test_convertWildcardQuery_withBoost() throws Exception {
            // Test with different boost values
            QueryContext queryContext = new QueryContext("test*", false);
            WildcardQuery wildcardQuery = new WildcardQuery(new Term("title", "test*"));
    
            // Test with boost = 0.5
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                    builder.field("value", 123);
                    builder.field("enabled", true);
                    builder.startArray("items");
                    builder.value("item1");
                    builder.value("item2");
                    builder.endArray();
                    builder.startObject("nested");
                    builder.field("inner", "value");
                    builder.endObject();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param key the context key
         * @param value the context value
         * @return this exception for chaining
         */
        public SmbOperationException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Add multiple context values
         *
         * @param contextMap the context map to add
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          }
        }
      }
    
      /** Read a value as bytes without interpretation of its contents. */
      fun readUnknown(): ByteString = source.readByteString(bytesLeft)
    
      override fun toString(): String = path.joinToString(separator = " / ")
    
      companion object {
        /**
         * A synthetic value that indicates there's no more bytes. Values with equivalent data may also
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top