Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Adds (0.03 sec)

  1. android/guava/src/com/google/common/base/MoreObjects.java

        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.add()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper add(String name, boolean value) {
          return addUnconditionalHolder(name, String.valueOf(value));
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

        }
      }
    
      /**
       * Adds the given values to the dataset.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
      public void addAll(Iterable<? extends Number> values) {
        for (Number value : values) {
          add(value.doubleValue());
        }
      }
    
      /**
       * Adds the given values to the dataset.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          double prev = 0.0;
          for (double x : VALUES) {
            assertBitEquals(prev, aa.getAndSet(i, x));
            prev = x;
          }
        }
      }
    
      /** getAndAdd returns previous value and adds given value */
      public void testGetAndAdd() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          apply {
            headers = Headers.Builder()
          }
    
        /**
         * Adds [header] as an HTTP header. For well-formed HTTP [header] should contain a name followed
         * by a colon and a value.
         */
        fun addHeader(header: String) =
          apply {
            headers.add(header)
          }
    
        /**
         * Adds a new header with the name and value. This may be used to add multiple headers with the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      }
    
      /** getAndAdd returns previous value and adds given value */
      public void testGetAndAdd() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
            double z = a.getAndAdd(y);
            assertBitEquals(x, z);
            assertBitEquals(x + y, a.get());
          }
        }
      }
    
      /** addAndGet adds given value to current, and returns current value */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ADDS	$0xff, R6, RSP                                   // ERROR "illegal destination register"
    	ADDS	$0xffff0, R6, RSP                                // ERROR "illegal destination register"
    	ADDS	$0x1000100010001000, R6, RSP                     // ERROR "illegal destination register"
    	ADDS	$0x10001000100011, R6, RSP                       // ERROR "illegal destination register"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 08 03:28:17 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RangeSet.java

       * #add(Range) add} any range not {@linkplain Range#encloses(Range) enclosed} by {@code view}.
       */
      RangeSet<C> subRangeSet(Range<C> view);
    
      // Modification
    
      /**
       * Adds the specified range to this {@code RangeSet} (optional operation). That is, for equal
       * range sets a and b, the result of {@code a.add(range)} is that {@code a} will be the minimal
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    /**
     * A map containing {@code long} values that can be atomically updated. While writes to a
     * traditional {@code Map} rely on {@code put(K, V)}, the typical mechanism for writing to this map
     * is {@code addAndGet(K, long)}, which adds a {@code long} to the value currently associated with
     * {@code K}. If a key has not yet been associated with a value, its implicit value is zero.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

          if (newCapacity < 0) {
            newCapacity = Integer.MAX_VALUE;
            // guaranteed to be >= newCapacity
          }
          return newCapacity;
        }
    
        Builder() {}
    
        /**
         * Adds {@code element} to the {@code ImmutableCollection} being built.
         *
         * <p>Note that each builder class covariantly returns its own type from this method.
         *
         * @param element the element to add
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TopKSelector.java

        this.buffer = (T[]) new Object[IntMath.checkedMultiply(k, 2)];
        this.bufferSize = 0;
        this.threshold = null;
      }
    
      /**
       * Adds {@code elem} as a candidate for the top {@code k} elements. This operation takes amortized
       * O(1) time.
       */
      public void offer(@ParametricNullness T elem) {
        if (k == 0) {
          return;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top