Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 487 for pcdelta (0.14 sec)

  1. 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)
  2. 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)
  3. src/sync/atomic/type.go

    func (x *Int32) CompareAndSwap(old, new int32) (swapped bool) {
    	return CompareAndSwapInt32(&x.v, old, new)
    }
    
    // Add atomically adds delta to x and returns the new value.
    func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
    
    // And atomically performs a bitwise AND operation on x using the bitmask
    // provided as mask and returns the old value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/dump_test.go

    				types.UID("delta"):   deltaNode(),
    				types.UID("foxtrot"): foxtrotNode(),
    				types.UID("golf"):    golfNode(),
    			},
    			uids: []types.UID{types.UID("delta")},
    			expectNodes: []*dotVertex{
    				NewDOTVertex(deltaNode()),
    				NewDOTVertex(foxtrotNode()),
    				NewDOTVertex(golfNode()),
    			},
    			expectEdges: []dotEdge{
    				{F: types.UID("delta"), T: types.UID("foxtrot")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. 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)
  6. pkg/controller/garbagecollector/testdata/simple.dot

        name=""
        uid="charlie"
        missing="false"
        beingDeleted="false"
        deletingDependents="false"
        virtual="false"
      ];
      "delta" [
        label="uid=delta\nnamespace=\n./\n"
        group=""
        version=""
        kind=""
        namespace=""
        name=""
        uid="delta"
        missing="false"
        beingDeleted="false"
        deletingDependents="false"
        virtual="false"
      ];
      "foxtrot" [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 17:12:33 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top