Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,290 for costs (0.1 sec)

  1. src/runtime/mgcpacer.go

    	// marking as a fraction of GOMAXPROCS.
    	//
    	// Increasing the goal utilization will shorten GC cycles as the GC
    	// has more resources behind it, lessening costs from the write barrier,
    	// but comes at the cost of increasing mutator latency.
    	gcGoalUtilization = gcBackgroundUtilization
    
    	// gcBackgroundUtilization is the fixed CPU utilization for background
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	var lastKey []byte
    	var hasMore bool
    	var getResp *clientv3.GetResponse
    	var numFetched int
    	var numEvald int
    	// Because these metrics are for understanding the costs of handling LIST requests,
    	// get them recorded even in error cases.
    	defer func() {
    		numReturn := v.Len()
    		metrics.RecordStorageListMetrics(s.groupResourceString, numFetched, numEvald, numReturn)
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                    n++;
                    int size = chain.size();
                    int cost = chain.getCreditCost();
                    CommonServerMessageBlockRequest next = chain.getNext();
                    if ( log.isTraceEnabled() ) {
                        log.trace(
                            String.format("%s costs %d avail %d (%s)", chain.getClass().getName(), cost, this.credits.availablePermits(), this.name));
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  4. src/net/hosts.go

    			}
    		}
    	}
    	// Update the data cache.
    	hosts.expire = now.Add(cacheMaxAge)
    	hosts.path = hp
    	hosts.byName = hs
    	hosts.byAddr = is
    	hosts.mtime = mtime
    	hosts.size = size
    }
    
    // lookupStaticHost looks up the addresses and the canonical name for the given host from /etc/hosts.
    func lookupStaticHost(host string) ([]string, string) {
    	hosts.Lock()
    	defer hosts.Unlock()
    	readHosts()
    	if len(hosts.byName) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/runtime/mpagealloc.go

    // entries in the next level which each represent 256 MiB regions, and so on.
    //
    // Thus, this design only scales to heaps so large, but can always be extended to
    // larger heaps by simply adding levels to the radix tree, which mostly costs
    // additional virtual address space. The choice of managing large arrays also means
    // that a large amount of virtual address space may be reserved by the runtime.
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/common/cost.h

    namespace mlir {
    namespace TFL {
    namespace tac {
    
    // Cost attribute string on the TFL dialect.
    constexpr char kCost[] = "tac.cost";
    
    inline void UpdateCost(Operation* op, float cost, OpBuilder* builder) {
      op->setAttr(kCost, builder->getF32FloatAttr(cost));
    }
    
    // Get the cost annotated with kCost.
    inline bool GetCostOnOp(Operation* op, float* cost) {
      auto cost_type = op->getAttrOfType<FloatAttr>(kCost);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 21 01:22:53 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    		var cost uint64
    		if len(args) > 0 {
    			cost += traversalCost(args[0]) // these O(n) operations all cost roughly the cost of a single traversal
    		}
    		return &cost
    	case "url", "lowerAscii", "upperAscii", "substring", "trim":
    		if len(args) >= 1 {
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "replace", "split":
    		if len(args) >= 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/tests/get-op-cost.mlir

    // RUN: tac-opt-all-backends -tfl-get-op-cost %s -split-input-file -verify-diagnostics | FileCheck %s
    
    func.func @func_0_CPU(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32> attributes {tac.device = "CPU", tac.interface_name = "func_0"} {
      // CHECK: tac.cost = 7.864320e+05
      %0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "RELU", tac.device = "CPU"} : (tensor<256x32x32x3xf32>, tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:29:10 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/dist/test.go

    // On any error, it conservatively returns true.
    //
    // This exists just to eliminate work on the builders, since compiling
    // a test in race mode just to discover it has no benchmarks costs a
    // second or two per package, and this function returns false for
    // about 100 packages.
    func (t *tester) packageHasBenchmarks(pkg string) bool {
    	pkgDir := filepath.Join(goroot, "src", pkg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/tests/compute-cost.mlir

    // RUN: tac-opt-all-backends -tfl-compute-cost %s -split-input-file -verify-diagnostics | FileCheck %s
    
    // CHECK: tac.cost = 7.864320e+05
    func.func @func_0_CPU(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32> attributes {tac.device = "CPU", tac.interface_name = "func_0"} {
      %0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "RELU", tac.device = "CPU"} : (tensor<256x32x32x3xf32>, tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:29:10 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top