Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1871 - 1880 of 3,272 for VALUE (0.03 seconds)

  1. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        @Override
        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())));
    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)
  2. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        @Override
        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())));
    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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         */
        @Nullable
        RequestTrace getTrace();
    
        /**
         * Returns a hashcode value for this request, based on all significant fields.
         * Implementations must ensure that if two requests are equal according to
         * {@link #equals(Object)}, they have the same hashcode.
         *
         * @return a hash code value for this request
         */
        @Override
        int hashCode();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/main/webapp/js/chat.js

            scrollToBottom();
            return id;
        }
    
        /**
         * Set a filter value based on checked state (add if checked, remove if unchecked)
         */
        function setFilter(array, value, checked) {
            var index = array.indexOf(value);
            if (checked && index === -1) {
                array.push(value);
            } else if (!checked && index !== -1) {
                array.splice(index, 1);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        Entry<K, V> oldEntry = array[nullKeyLocation];
        array[nullKeyLocation] = mapEntry(null, oldEntry.getValue());
        return array;
      }
    
      /**
       * @return an array of the proper size with {@code null} as the value of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullValue() {
        Entry<K, V>[] array = createSamplesArray();
        int nullValueLocation = getNullLocation();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

         * on his discretion, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return The user properties, never {@code null}.
         */
        Properties getUserProperties();
    
        /**
         * Sets the user properties to use for interpolation. The user properties have been configured directly by the user
         * on his discretion, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      private static final class RepeatedStringValueOfFunction
          implements Function<Integer, List<String>> {
        @Override
        public List<String> apply(Integer from) {
          String value = String.valueOf(from);
          return ImmutableList.of(value, value);
        }
      }
    
      public void testTransformAndConcat() {
        List<Integer> input = asList(1, 2, 3);
        Iterable<String> result =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceValueInMatch.java

    import com.fasterxml.jackson.databind.node.ObjectNode;
    import org.elasticsearch.gradle.internal.test.rest.transform.ReplaceByKey;
    import org.gradle.api.tasks.Internal;
    
    /**
     * A transformation to replace the value of a match. For example, change from "match":{"_type": "foo"} to "match":{"_type": "bar"}
     */
    public class ReplaceValueInMatch extends ReplaceByKey {
    
        public ReplaceValueInMatch(String replaceKey, JsonNode replacementNode) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                if (query != null) {
                    for (String param: query.tokenize('&')) {
                        def (String name, String value) = param.tokenize('=')
                        if (value == null) {
                            value = ''
                        }
                        current.println("        $name: \"$value\"")
                    }
                }
                if (body != null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_supportedPresent() {
        assertEquals(
            "computeIfPresent(present, function) should return new value",
            v3(),
            getMap()
                .computeIfPresent(
                    k0(),
                    (k, v) -> {
                      assertEquals(k0(), k);
                      assertEquals(v0(), v);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
Back to Top