Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 987 for deltas (0.2 sec)

  1. src/internal/runtime/atomic/atomic_arm64.s

    	CBNZ	R3, load_store_loop
    ok:
    	CSET	EQ, R0
    	MOVB	R0, ret+24(FP)
    	RET
    #endif
    
    // uint32 xadd(uint32 volatile *ptr, int32 delta)
    // Atomically:
    //      *val += delta;
    //      return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVD	ptr+0(FP), R0
    	MOVW	delta+8(FP), R1
    #ifndef GOARM64_LSE
    	MOVBU	internal∕cpu·ARM64+const_offsetARM64HasATOMICS(SB), R4
    	CBZ 	R4, load_store_loop
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_ppc64x.s

    // uint32 xadd(uint32 volatile *ptr, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVD	ptr+0(FP), R4
    	MOVW	delta+8(FP), R5
    	LWSYNC
    	LWAR	(R4), R3
    	ADD	R5, R3
    	STWCCC	R3, (R4)
    	BNE	-3(PC)
    	MOVW	R3, ret+16(FP)
    	RET
    
    // uint64 Xadd64(uint64 volatile *val, int64 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. 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)
  4. src/time/sleep_test.go

    	t.Parallel()
    	const Count = 10
    	Delta := 100 * Millisecond
    	if testing.Short() {
    		Delta = 10 * Millisecond
    	}
    	t0 := Now()
    	for i := 0; i < Count; i++ {
    		<-After(Delta)
    	}
    	t1 := Now()
    	d := t1.Sub(t0)
    	target := Delta * Count
    	if d < target*9/10 {
    		t.Fatalf("%d ticks of %s too fast: took %s, expected %s", Count, Delta, d, target)
    	}
    	if !testing.Short() && d > target*30/10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. 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)
  6. src/hash/crc32/crc32_test.go

    	testGoldenIEEE(t, ChecksumIEEE)
    
    	// Some implementations have special code to deal with misaligned
    	// data; test that as well.
    	for delta := 1; delta <= 7; delta++ {
    		testGoldenIEEE(t, func(b []byte) uint32 {
    			ieee := NewIEEE()
    			d := delta
    			if d >= len(b) {
    				d = len(b)
    			}
    			ieee.Write(b[:d])
    			ieee.Write(b[d:])
    			return ieee.Sum32()
    		})
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/net/http/pprof/pprof_test.go

    		{"/debug/pprof/block?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="block-delta"`, nil},
    		{"/debug/pprof/goroutine?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="goroutine-delta"`, nil},
    		{"/debug/pprof/", Index, http.StatusOK, "text/html; charset=utf-8", "", []byte("Types of profiles available:")},
    	}
    	for _, tc := range testCases {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          ) {
            var index = index
            headerList.add(entry)
    
            var delta = entry.hpackSize
            if (index != -1) { // Index -1 == new header.
              delta -= dynamicTable[dynamicTableIndex(index)]!!.hpackSize
            }
    
            // if the new or replacement header is too big, drop all entries.
            if (delta > maxDynamicTableByteCount) {
              clearDynamicTable()
              return
            }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_386.s

    	MOVL	old+4(FP), AX
    	MOVL	new+8(FP), CX
    	LOCK
    	CMPXCHGL	CX, 0(BX)
    	SETEQ	ret+12(FP)
    	RET
    
    // uint32 Xadd(uint32 volatile *val, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-12
    	MOVL	ptr+0(FP), BX
    	MOVL	delta+4(FP), AX
    	MOVL	AX, CX
    	LOCK
    	XADDL	AX, 0(BX)
    	ADDL	CX, AX
    	MOVL	AX, ret+8(FP)
    	RET
    
    TEXT ·Xadd64(SB), NOSPLIT, $0-20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public long decrementAndGet(K key) {
        return addAndGet(key, -1);
      }
    
      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
      public long addAndGet(K key, long delta) {
        return accumulateAndGet(key, delta, Long::sum);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top