Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 987 for deltas (0.13 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass_test.cc

      })";
    
      CellReader<int64_t> error(kHasTpuPartitionedCallStreamzName);
      CreateModule(kMlirModuleStr);
    
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
    
      EXPECT_EQ(error.Delta("true"), 1);
      EXPECT_EQ(error.Delta("false"), 0);
    }
    
    TEST_F(InferenceMetricsPassTest, RecordsFalseForNonTPUPartitionedCallOp) {
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      }
    
      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
      public long addAndGet(K key, long delta) {
        outer:
        while (true) {
          AtomicLong atomic = map.get(key);
          if (atomic == null) {
            atomic = map.putIfAbsent(key, new AtomicLong(delta));
            if (atomic == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/metrics/metrics.go

    	ScrapeTypeEnvoy = "envoy"
    	ScrapeTypeApp   = "application"
    	ScrapeTypeAgent = "agent"
    )
    
    var processStartTime = time.Now()
    
    func RecordStartupTime() {
    	delta := time.Since(processStartTime)
    	startupTime.Record(delta.Seconds())
    	log.Infof("Readiness succeeded in %v", delta)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/MonotonicClockTest.groovy

            then:
            clock.currentTime == START_MILLIS + 15
        }
    
        def "provides current time based on nanoTime delta"() {
            when:
            setNanos(delta)
    
            then:
            clock.currentTime == START_MILLIS + Math.max(0, delta)
    
            where:
            delta << [0, 100, -100]
        }
    
        def "resyncs with system wall clock"() {
            when:
            setNanos(10)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/img/javaPluginTasks.graphml

              <y:Arrows source="delta" target="none"/>
            </y:QuadCurveEdge>
          </data>
        </edge>
        <edge id="e1" source="n3" target="n6">
          <data key="d9">
            <y:QuadCurveEdge straightness="0.1">
              <y:Path sx="70.0" sy="7.5" tx="-70.0" ty="-0.0"/>
              <y:LineStyle color="#000000" type="line" width="1.0"/>
              <y:Arrows source="delta" target="none"/>
            </y:QuadCurveEdge>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/scalaPluginTasks.graphml

              <y:Arrows source="delta" target="none"/>
            </y:QuadCurveEdge>
          </data>
        </edge>
        <edge id="e1" source="n5" target="n4">
          <data key="d9">
            <y:QuadCurveEdge straightness="0.1">
              <y:Path sx="70.0" sy="-0.0" tx="-70.0" ty="-10.0"/>
              <y:LineStyle color="#000000" type="line" width="1.0"/>
              <y:Arrows source="delta" target="none"/>
            </y:QuadCurveEdge>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. src/image/jpeg/writer_test.go

    	if _, ok := m1.(*image.Gray); !ok {
    		t.Errorf("got %T, want *image.Gray", m1)
    	}
    	// Compare the average delta to the tolerance level.
    	want := int64(2 << 8)
    	if got := averageDelta(m0, m1); got > want {
    		t.Errorf("average delta too high; got %d, want <= %d", got, want)
    	}
    }
    
    // averageDelta returns the average delta in RGB space. The two images must
    // have the same bounds.
    func averageDelta(m0, m1 image.Image) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. src/sync/atomic/doc.go

    func AddUint32(addr *uint32, delta uint32) (new uint32)
    
    // AddInt64 atomically adds delta to *addr and returns the new value.
    // Consider using the more ergonomic and less error-prone [Int64.Add] instead
    // (particularly if you target 32-bit platforms; see the bugs section).
    func AddInt64(addr *int64, delta int64) (new int64)
    
    // AddUint64 atomically adds delta to *addr and returns the new value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_arm.go

    }
    
    // Atomic add and return new value.
    //
    //go:nosplit
    func Xadd(val *uint32, delta int32) uint32 {
    	for {
    		oval := *val
    		nval := oval + uint32(delta)
    		if Cas(val, oval, nval) {
    			return nval
    		}
    	}
    }
    
    //go:noescape
    func Xadduintptr(ptr *uintptr, delta uintptr) uintptr
    
    //go:nosplit
    func Xchg(addr *uint32, v uint32) uint32 {
    	for {
    		old := *addr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/prove.go

    				//    if delta < 0 and x+delta cannot underflow, then x > w
    				// This is useful for loops with bounds "len(slice)-K" (delta = -K)
    				if delta < 0 && !underflow {
    					ft.update(parent, x, w, signed, r)
    				}
    			} else {
    				// With w,delta constants, we want to derive: x+delta > w  ⇒  x > w-delta
    				//
    				// We compute (using integers of the correct size):
    				//    min = w - delta
    				//    max = MaxInt - delta
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top