Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 294 for Mounts (0.23 sec)

  1. guava/src/com/google/common/collect/EnumMultiset.java

      @Override
      public int setCount(E element, int count) {
        checkIsE(element);
        checkNonnegative(count, "count");
        int index = element.ordinal();
        int oldCount = counts[index];
        counts[index] = count;
        size += count - oldCount;
        if (oldCount == 0 && count > 0) {
          distinctElements++;
        } else if (oldCount > 0 && count == 0) {
          distinctElements--;
        }
        return oldCount;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/encoding/json/example_text_marshaling_test.go

    		log.Fatal(err)
    	}
    
    	counts := make(map[Size]int)
    	for _, size := range inventory {
    		counts[size] += 1
    	}
    
    	fmt.Printf("Inventory Counts:\n* Small:        %d\n* Large:        %d\n* Unrecognized: %d\n",
    		counts[Small], counts[Large], counts[Unrecognized])
    
    	// Output:
    	// Inventory Counts:
    	// * Small:        3
    	// * Large:        2
    	// * Unrecognized: 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 14:18:06 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumMultiset.java

      @Override
      public int setCount(E element, int count) {
        checkIsE(element);
        checkNonnegative(count, "count");
        int index = element.ordinal();
        int oldCount = counts[index];
        counts[index] = count;
        size += count - oldCount;
        if (oldCount == 0 && count > 0) {
          distinctElements++;
        } else if (oldCount > 0 && count == 0) {
          distinctElements--;
        }
        return oldCount;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tfl-get-arithmetic-count %s | FileCheck %s
    
    func.func @testConv2D(tensor<256x32x32x3xf32>, tensor<16x3x3x3xf32>, tensor<16xf32>) -> tensor<256x32x32x16xf32> {
    ^bb0(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<16x3x3x3xf32>, %arg2: tensor<16xf32>):
      // CHECK: _arithmetic_count = 230686720 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. operator/pkg/metrics/monitoring.go

    		"reconcile_request_total",
    		"Number of times requesting Reconcile",
    	)
    
    	// GetCRErrorTotal counts the number of times fetching
    	// CR fails from API server.
    	GetCRErrorTotal = monitoring.NewSum(
    		"get_cr_error_total",
    		"Number of times fetching CR from apiserver failed",
    	)
    
    	// CRMergeFailureTotal counts number of CR merge failures.
    	CRMergeFailureTotal = monitoring.NewSum(
    		"cr_merge_failure_total",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. src/runtime/histogram.go

    	// separately as underflow, so fill that in manually and then iterate
    	// over the rest.
    	hist.counts[0] = h.underflow.Load()
    	for i := range h.counts {
    		hist.counts[i+1] = h.counts[i].Load()
    	}
    	hist.counts[len(hist.counts)-1] = h.overflow.Load()
    }
    
    const (
    	fInf    = 0x7FF0000000000000
    	fNegInf = 0xFFF0000000000000
    )
    
    func float64Inf() float64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker_test.go

    			count:         0,
    			countExpected: 0,
    			errExpected:   nil,
    		},
    		{
    			name:          "object count is more than zero",
    			count:         799,
    			countExpected: 799,
    			errExpected:   nil,
    		},
    		{
    			name:          "object count stale",
    			count:         799,
    			countExpected: 799,
    			lastUpdated:   staleTolerationThreshold + time.Millisecond,
    			errExpected:   ObjectCountStaleErr,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 19:36:14 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      CellReader<int64_t> counts(kBridgeStatusCounter);
    
      auto result = CompileMlirModule(kMlirModuleStr);
    
      ASSERT_THAT(result, IsOkOrFiltered());
      EXPECT_EQ(mlir_bridge_legalize_count.Delta("tf.Acos"), 0);
      EXPECT_THAT(result,
                  IncrementedOrFiltered(counts.Delta(kMlirCombinedMlirSuccess), 1));
      EXPECT_THAT(result,
                  IncrementedOrFiltered(counts.Delta(kMlirCombinedOldSuccess), 1));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker.go

    		// the given resource will will eventually be removed from
    		// the cache by the pruner.
    		return
    	}
    
    	now := t.clock.Now()
    
    	// lock for writing
    	t.lock.Lock()
    	defer t.lock.Unlock()
    
    	if item, ok := t.counts[groupResource]; ok {
    		item.count = count
    		item.lastUpdatedAt = now
    		return
    	}
    
    	t.counts[groupResource] = &timestampedCount{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 09:12:00 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go

    				&testVariable{
    					name:       "count",
    					expression: "object.subsets[114514].addresses.size()", // array index out of bound
    				},
    			},
    			attributes:           endpointCreateAttributes(),
    			expression:           "variables.count == 810",
    			expectErr:            true,
    			expectedErrorMessage: `composited variable "count" fails to evaluate: index out of bounds: 114514`,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top