Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 359 for Decrement (0.3 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. src/internal/fuzz/minimize.go

    		copy(candidate[i:], v[i+1:])
    		if !try(candidate) {
    			continue
    		}
    		// Update v to delete the value at index i.
    		copy(v[i:], v[i+1:])
    		v = v[:len(candidate)]
    		// v[i] is now different, so decrement i to redo this iteration
    		// of the loop with the new value.
    		i--
    	}
    
    	// Then, try to remove each possible subset of bytes.
    	for i := 0; i < len(v)-1; i++ {
    		copy(tmp, v[:i])
    		for j := len(v); j > i+1; j-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 21:15:51 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top