Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 340 for Decrement (0.31 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                put(BEGIN_KEY, ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
                count = new AtomicInteger(1);
            }
    
            public int increment() {
                return count.incrementAndGet();
            }
    
            public int decrement() {
                return count.decrementAndGet();
            }
        }
    
        public enum StatsAction {
            ACCESSED, //
            ACCESS_EXCEPTION, //
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. pkg/monitoring/monitoring.go

    }
    
    // A Metric collects numerical observations.
    type Metric interface {
    	// Increment records a value of 1 for the current measure. For Sums,
    	// this is equivalent to adding 1 to the current value. For Gauges,
    	// this is equivalent to setting the value to 1. For Distributions,
    	// this is equivalent to making an observation of value 1.
    	Increment()
    
    	// Decrement records a value of -1 for the current measure. For Sums,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/interpodaffinity/scoring.go

    	// increment <p.counts> for every node in the cluster with the same <term.TopologyKey>
    	// value as that of <existingPod>'s node by the term's weight.
    	topoScore.processTerms(existingPod.PreferredAffinityTerms, incomingPod, state.namespaceLabels, existingPodNode, 1)
    
    	// For every soft pod anti-affinity term of <existingPod>, if <pod> matches the term,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_libinit_windows.c

    	 if (!InterlockedExchangeAdd(&runtime_init_once_done, 0)) {
    			if (InterlockedIncrement(&runtime_init_once_gate) == 1) {
    				 _cgo_preinit_init();
    				 InterlockedIncrement(&runtime_init_once_done);
    			} else {
    				 // Decrement to avoid overflow.
    				 InterlockedDecrement(&runtime_init_once_gate);
    				 while(!InterlockedExchangeAdd(&runtime_init_once_done, 0)) {
    						Sleep(0);
    				 }
    			}
    	 }
    }
    
    void
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction.go

    					updateDeletionOptions = true
    					return nil
    				}
    			}
    			// default nil and IfHealthyBudget policy
    			if pdb.Status.CurrentHealthy >= pdb.Status.DesiredHealthy && pdb.Status.DesiredHealthy > 0 {
    				// Delete the unhealthy pod, it doesn't count towards currentHealthy and desiredHealthy and we should not decrement disruptionsAllowed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        abstract void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update);
    
        /** Atomic decrement-and-get of the {@link AggregateFutureState#remaining} field. */
        abstract int decrementAndGetRemainingCount(AggregateFutureState<?> state);
      }
    
      private static final class SafeAtomicHelper extends AtomicHelper {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/sync/atomic/doc.go

    // AddUint32 atomically adds delta to *addr and returns the new value.
    // To subtract a signed positive constant value c from x, do AddUint32(&x, ^uint32(c-1)).
    // In particular, to decrement x, do AddUint32(&x, ^uint32(0)).
    // Consider using the more ergonomic and less error-prone [Uint32.Add] instead.
    func AddUint32(addr *uint32, delta uint32) (new uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go

    				// we don't treat it as a violating case.
    				if _, exist := pdb.Status.DisruptedPods[pod.Name]; exist {
    					continue
    				}
    				// Only decrement the matched pdb when it's not in its <DisruptedPods>;
    				// otherwise we may over-decrement the budget number.
    				pdbsAllowed[i]--
    				// We have found a matching PDB.
    				if pdbsAllowed[i] < 0 {
    					pdbForPodIsViolated = true
    				}
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 25 19:36:04 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy

            label.text = "text"
    
            when:
            redraw()
            redraw()
    
            then:
            1 * ansi.a('text')
            0 * ansi._
        }
    
        def "scrolling the label down will decrement the write position rows by #rows"() {
            given:
            int previousWriteRow = label.writePosition.row
    
            when:
            label.scrollDownBy(rows)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s

    	SHUFFLE(X12, X13, X14, X15, M0, M1, M2, M3)
    	ADDV(NONCE, X12, X13, X14, X15)
    
    	// increment counters
    	VAF INC, CTR, CTR
    
    	// xor keystream with plaintext
    	XORV(0*64, R2, R3, X0, X4,  X8, X12)
    	XORV(1*64, R2, R3, X1, X5,  X9, X13)
    	XORV(2*64, R2, R3, X2, X6, X10, X14)
    	XORV(3*64, R2, R3, X3, X7, X11, X15)
    
    	// increment pointers
    	MOVD $256(R2), R2
    	MOVD $256(R3), R3
    
    	CMPBNE  R4, $0, chacha
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top