Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 756 for deltaY (0.27 sec)

  1. pkg/apis/core/helper/qos/qos.go

    			if !isSupportedQoSComputeResource(name) {
    				continue
    			}
    			if quantity.Cmp(zeroQuantity) == 1 {
    				delta := quantity.DeepCopy()
    				if _, exists := requests[name]; !exists {
    					requests[name] = delta
    				} else {
    					delta.Add(requests[name])
    					requests[name] = delta
    				}
    			}
    		}
    		// process limits
    		qosLimitsFound := sets.NewString()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/fake.go

    			f.t.Fatalf("failed to create config %v: %v", cfg.Name, err)
    		}
    	}
    
    	// TODO allow passing event handlers for controller
    
    	retry.UntilOrFail(f.t, f.store.HasSynced, retry.Delay(time.Millisecond))
    	retry.UntilOrFail(f.t, f.Registry.HasSynced, retry.Delay(time.Millisecond))
    
    	f.ServiceEntryRegistry.ResyncEDS()
    }
    
    // SetupProxy initializes a proxy for the current environment. This should generally be used when creating
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Count.java

      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      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));
    }
    
    TEST(LegalizeWithCombinedBridge,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/ratelimited_waitgroup.go

    	// then any Add with positive delta will return error.
    	wait bool
    	// number of request(s) currently using the wait group
    	count int
    }
    
    // Add adds delta, which may be negative, similar to sync.WaitGroup.
    // If Add with a positive delta happens after Wait, it will return error,
    // which prevent unsafe Add.
    func (wg *RateLimitedSafeWaitGroup) Add(delta int) error {
    	wg.mu.Lock()
    	defer wg.mu.Unlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 21 14:08:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/sync/waitgroup.go

    // See the WaitGroup example.
    func (wg *WaitGroup) Add(delta int) {
    	if race.Enabled {
    		if delta < 0 {
    			// Synchronize decrements with Wait.
    			race.ReleaseMerge(unsafe.Pointer(wg))
    		}
    		race.Disable()
    		defer race.Enable()
    	}
    	state := wg.state.Add(uint64(delta) << 32)
    	v := int32(state >> 32)
    	w := uint32(state)
    	if race.Enabled && delta > 0 && v == int32(delta) {
    		// The first increment must be synchronized with Wait.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc

      })";
      CreateModule(kMlirModuleStr);
      CellReader<int64_t> reader(kMetricsName);
    
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
      EXPECT_EQ(reader.Delta("tf.ConcatV2"), 1);
      EXPECT_EQ(reader.Delta("func.return"), 1);
      EXPECT_EQ(reader.Delta("func.func"), 0);
    }
    
    TEST_F(LegalizeTfTypesTest, RecordsStreamzNoQuantOps) {
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/internal/trace/mud.go

    	// histogram.
    	mudDegree = 1024
    )
    
    type edge struct {
    	// At x, the function increases by y.
    	x, delta float64
    	// Additionally at x is a Dirac delta function with area dirac.
    	dirac float64
    }
    
    // add adds a uniform function over [l, r] scaled so the total weight
    // of the uniform is area. If l==r, this adds a Dirac delta function.
    func (d *mud) add(l, r, area float64) {
    	if area == 0 {
    		return
    	}
    
    	if r < l {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/expvar/expvar.go

    }
    
    func (v *Float) appendJSON(b []byte) []byte {
    	return strconv.AppendFloat(b, math.Float64frombits(v.f.Load()), 'g', -1, 64)
    }
    
    // Add adds delta to v.
    func (v *Float) Add(delta float64) {
    	for {
    		cur := v.f.Load()
    		curVal := math.Float64frombits(cur)
    		nxtVal := curVal + delta
    		nxt := math.Float64bits(nxtVal)
    		if v.f.CompareAndSwap(cur, nxt) {
    			return
    		}
    	}
    }
    
    // Set sets v to value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top