Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for CNT (0.03 sec)

  1. pilot/pkg/xds/monitoring.go

    	model.ClusterUpdate:   pushTriggers.With(typeTag.Value(string(model.ClusterUpdate))),
    }
    
    func recordPushTriggers(reasons model.ReasonStats) {
    	for r, cnt := range reasons {
    		t, f := triggerMetric[r]
    		if f {
    			t.RecordInt(int64(cnt))
    		} else {
    			pushTriggers.With(typeTag.Value(string(r))).Increment()
    		}
    	}
    }
    
    func isUnexpectedError(err error) bool {
    	s, ok := status.FromError(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/runtime/lock_futex.go

    //		Atomically,
    //			if *addr == val { sleep }
    //		Might be woken up spuriously; that's allowed.
    //		Don't sleep longer than ns; ns < 0 means forever.
    //
    //	futexwakeup(addr *uint32, cnt uint32)
    //		If any procs are sleeping on addr, wake up at most cnt.
    
    const (
    	mutex_unlocked = 0
    	mutex_locked   = 1
    	mutex_sleeping = 2
    
    	active_spin     = 4
    	active_spin_cnt = 30
    	passive_spin    = 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

        auto op_count_map = op_dtype_count_[op_with_dialect_name];
        if (!op_count_map.empty()) {
          std::string delim;
          *os_ << "  (";
          for (const auto &[dtype, cnt] : op_count_map) {
            *os_ << delim << absl::StrFormat("%s: %d", dtype, cnt);
            delim = ", ";
          }
          *os_ << ")";
        }
        *os_ << "\n";
      }
    }
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/callback.go

    //export go_callback
    func go_callback() {
    	if e := extraMInUse.Load(); e == 0 {
    		fmt.Printf("in callback extraMInUse got %d want >0\n", e)
    		os.Exit(1)
    	}
    
    	runtime.GC()
    	grow()
    	runtime.GC()
    }
    
    var cnt int
    
    func grow() {
    	x := 10000
    	sum := 0
    	if grow1(&x, &sum) == 0 {
    		panic("bad")
    	}
    }
    
    func grow1(x, sum *int) int {
    	if *x == 0 {
    		return *sum + 1
    	}
    	*x--
    	sum1 := *sum + *x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 14:05:01 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java

    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Optional;
    
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    /*
     * Benchmark                     Mode  Cnt          Score         Error  Units
     * OptionalBenchmark.nullCheck  thrpt   20  107887111.061 ±  882182.482  ops/s
     * OptionalBenchmark.optional   thrpt   20   86746312.090 ± 1150860.296  ops/s
     **/
    @Fork(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. src/runtime/os_dragonfly.go

    		return
    	}
    
    	print("umtx_sleep addr=", addr, " val=", val, " ret=", ret, "\n")
    	*(*int32)(unsafe.Pointer(uintptr(0x1005))) = 0x1005
    }
    
    //go:nosplit
    func futexwakeup(addr *uint32, cnt uint32) {
    	ret := sys_umtx_wakeup(addr, int32(cnt))
    	if ret >= 0 {
    		return
    	}
    
    	systemstack(func() {
    		print("umtx_wake_addr=", addr, " ret=", ret, "\n")
    		*(*int32)(unsafe.Pointer(uintptr(0x1006))) = 0x1006
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top