Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 597 for retValue (0.22 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. tensorflow/c/eager/gradient_checker_test.cc

                              &numerical_grad_raw);
        ASSERT_EQ(errors::OK, s.code()) << s.message();
        numerical_grad.reset(numerical_grad_raw);
      }
    
      TF_Tensor* numerical_tensor;
      s = GetValue(numerical_grad.get(), &numerical_tensor);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
      auto num_elem_numerical = TF_TensorElementCount(numerical_tensor);
      ASSERT_EQ(num_elem_numerical, num_grad);
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

                    }
                }
            }
    
            String result = sb.toString();
            for (final Map.Entry<String, String> entry : substitutions.entrySet()) {
                result = result.replace(entry.getKey(), entry.getValue());
            }
            return result;
        }
    
        /**
         * Loads a JSON resource file with the default dictionary path substitution.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            for (final Map.Entry<String, String> entry : metaConfigMap.entrySet()) {
                final String key = entry.getKey();
                final String[] values = entry.getValue().split(",");
                for (final String value : values) {
                    putResultDataWithTemplate(dataMap, key, metaDataMap.get(value), scriptConfigMap.get(key), scriptType);
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

          for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) {
            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(%s, %s)", input, mode)
                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            final Map<String, List<String>> params = new HashMap<>();
            for (final Map.Entry<String, String[]> e : request.getParameterMap().entrySet()) {
                if (e.getValue().length > 0) {
                    params.put(e.getKey(), Arrays.asList(e.getValue()));
                }
            }
            if (logger.isDebugEnabled()) {
                logger.debug("process authentication: url: {}, params: {}", urlBuf, params);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

          case 1:
            // requireNonNull is safe because the first `size` elements have been filled in.
            Entry<K, V> onlyEntry = requireNonNull(entryArray[0]);
            return of(comparator, onlyEntry.getKey(), onlyEntry.getValue());
          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                        if (logger.isDebugEnabled()) {
                            logger.debug("Loaded KeyMatch doc: {}", doc);
                        }
                        return DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class);
                    }).forEach(docId -> {
                        boolQuery.should(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
                    });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

        Map<Element, Element> map = mapToTest;
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          for (Map.Entry<Element, Element> entry : map.entrySet()) {
            dummy ^= entry.getKey() != entry.getValue();
          }
        }
        return dummy;
      }
    
      @Benchmark
      boolean iterateWithKeySetAndGet(int reps) {
        Map<Element, Element> map = mapToTest;
    
        boolean dummy = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

          BiMap<Country, String> result = EnumHashBiMap.create(Country.class);
          for (Object o : entries) {
            Entry<Country, String> entry = (Entry<Country, String>) o;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, String>> samples() {
          return new SampleElements<>(
              immutableEntry(Country.CANADA, "DOLLAR"),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top