Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 430 for spdelta (0.21 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

      ASSERT_THAT(success(), IncrementedOrFiltered(reader.Delta(kOkStatus), 1));
    }
    
    TEST(TestUtil, FilteredDoesntIncrementsOk) {
      CellReader<int64_t> reader(kMetric);
    
      ASSERT_THAT(filtered(), IncrementedOrFiltered(reader.Delta(kOkStatus), 1));
    }
    
    TEST(TestUtil, FailureDoesntMatchIncrement) {
      CellReader<int64_t> reader(kMetric);
    
      ASSERT_THAT(failed(), Not(IncrementedOrFiltered(reader.Delta(kOkStatus), 1)));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

       * Atomically adds the given value to the current value.
       *
       * @param delta the value to add
       * @return the previous value
       */
      @CanIgnoreReturnValue
      public final double getAndAdd(double delta) {
        while (true) {
          long current = value.get();
          double currentVal = longBitsToDouble(current);
          double nextVal = currentVal + delta;
          long next = doubleToRawLongBits(nextVal);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 28 21:00:54 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_amd64.s

    	JMP	·Cas(SB)
    
    // uint32 Xadd(uint32 volatile *val, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVQ	ptr+0(FP), BX
    	MOVL	delta+8(FP), AX
    	MOVL	AX, CX
    	LOCK
    	XADDL	AX, 0(BX)
    	ADDL	CX, AX
    	MOVL	AX, ret+16(FP)
    	RET
    
    // uint64 Xadd64(uint64 volatile *val, int64 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd64(SB), NOSPLIT, $0-24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_riscv64.s

    	RET
    
    // Atomically:
    //      *val += delta;
    //      return *val;
    
    // func Xadd(ptr *uint32, delta int32) uint32
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOV	ptr+0(FP), A0
    	MOVW	delta+8(FP), A1
    	AMOADDW A1, (A0), A2
    	ADD	A2,A1,A0
    	MOVW	A0, ret+16(FP)
    	RET
    
    // func Xadd64(ptr *uint64, delta int64) uint64
    TEXT ·Xadd64(SB), NOSPLIT, $0-24
    	MOV	ptr+0(FP), A0
    	MOV	delta+8(FP), A1
    	AMOADDD A1, (A0), A2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_s390x.go

    //go:noescape
    func Oruintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Xadd(ptr *uint32, delta int32) uint32
    
    //go:noescape
    func Xadd64(ptr *uint64, delta int64) uint64
    
    //go:noescape
    func Xadduintptr(ptr *uintptr, delta uintptr) uintptr
    
    //go:noescape
    func Xchg(ptr *uint32, new uint32) uint32
    
    //go:noescape
    func Xchg64(ptr *uint64, new uint64) uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass_test.cc

          kDynamismFunctionCounterStreamzName);
    
      CreateModule(kMlirModuleStr);
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
      EXPECT_EQ(dynamism_counter.Delta("tf.Where"), 1);
      EXPECT_EQ(dynamism_function_counter.Delta(kDynamicFunctionName), 1);
    }
    
    }  // namespace
    }  // namespace internal
    }  // namespace tf2xla
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 19:42:09 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AtomicDouble.java

       *
       * @param delta the value to add
       * @return the previous value
       */
      @CanIgnoreReturnValue
      public final double getAndAdd(double delta) {
        return getAndAccumulate(delta, Double::sum);
      }
    
      /**
       * Atomically adds the given value to the current value.
       *
       * @param delta the value to add
       * @return the updated value
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param i the index
       * @param delta the value to add
       * @return the previous value
       */
      @CanIgnoreReturnValue
      public final double getAndAdd(int i, double delta) {
        return getAndAccumulate(i, delta, Double::sum);
      }
    
      /**
       * Atomically adds the given value to the element at index {@code i}.
       *
       * @param i the index
       * @param delta the value to add
       * @return the updated value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_mips64x.s

    // uint32 xadd(uint32 volatile *ptr, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVV	ptr+0(FP), R2
    	MOVW	delta+8(FP), R3
    	SYNC
    	LL	(R2), R1
    	ADDU	R1, R3, R4
    	MOVV	R4, R1
    	SC	R4, (R2)
    	BEQ	R4, -4(PC)
    	MOVW	R1, ret+16(FP)
    	SYNC
    	RET
    
    // uint64 Xadd64(uint64 volatile *ptr, int64 delta)
    // Atomically:
    //	*val += delta;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    // when invoked from multiple goroutines.
    type RequestWaitGroup interface {
    	// Add adds delta, which may be negative, similar to sync.WaitGroup.
    	// If Add with a positive delta happens after Wait, it will return error,
    	// which prevent unsafe Add.
    	Add(delta int) error
    
    	// Done decrements the WaitGroup counter.
    	Done()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top