Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for lazySet (0.19 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        }
      }
    
      /** get returns the last value lazySet at index by same thread */
      public void testGetLazySet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES.length);
        for (int i = 0; i < VALUES.length; i++) {
          assertBitEquals(0.0, aa.get(i));
          aa.lazySet(i, VALUES[i]);
          assertBitEquals(VALUES[i], aa.get(i));
          aa.lazySet(i, -3.0);
          assertBitEquals(-3.0, aa.get(i));
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        }
      }
    
      /** get returns the last value lazySet at index by same thread */
      public void testGetLazySet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES.length);
        for (int i = 0; i < VALUES.length; i++) {
          assertBitEquals(0.0, aa.get(i));
          aa.lazySet(i, VALUES[i]);
          assertBitEquals(VALUES[i], aa.get(i));
          aa.lazySet(i, -3.0);
          assertBitEquals(-3.0, aa.get(i));
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          at.set(x);
          assertBitEquals(x, at.get());
        }
      }
    
      /** get returns the last value lazySet in same thread */
      public void testGetLazySet() {
        AtomicDouble at = new AtomicDouble(1.0);
        assertBitEquals(1.0, at.get());
        for (double x : VALUES) {
          at.lazySet(x);
          assertBitEquals(x, at.get());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       * Eventually sets the element at position {@code i} to the given value.
       *
       * @param i the index
       * @param newValue the new value
       */
      public final void lazySet(int i, double newValue) {
        long next = doubleToRawLongBits(newValue);
        longs.lazySet(i, next);
      }
    
      /**
       * Atomically sets the element at position {@code i} to the given value and returns the old value.
       *
       * @param i the index
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/compile.cc

    static std::string InterpolateErrorMessage(std::string message) {
      // See _NAME_REGEX in tensorflow/python/framework/error_interpolation.py
      // Change "prefix {{node tag.name}} suffix" to "prefix tag.name suffix".
      static LazyRE2 pattern{"(.*){{node (.*)}}(.*)"};
      RE2::GlobalReplace(&message, *pattern, "\\1\\2\\3");
    
      return message;
    }
    
    Status Main(const MainFlags& flags) {
      absl::call_once(targets_init, &InitializeTargets);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

          return;
        }
      }
    
      // Dimension equals to -1 means per-channel quantization is not supported for
      // the op. Therefore check whether the return value is positive integer as
      // well.
      static const LazyRE2 per_channel_support_regex = {
          "int GetQuantizationDimIndex\\(\\) \\{ return (\\d*); \\}"};
    
      for (const auto *def : defs) {
        Operator op(def);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top