Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for increment (0.2 sec)

  1. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

        checkArgument(autoIncrementStep >= 0, "May not auto-increment by a negative amount");
        this.autoIncrementStepNanos = timeUnit.toNanos(autoIncrementStep);
        return this;
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FakeTicker.java

        checkArgument(autoIncrementStep >= 0, "May not auto-increment by a negative amount");
        this.autoIncrementStepNanos = timeUnit.toNanos(autoIncrementStep);
        return this;
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       *
       * @since 28.0
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. cmd/erasure-utils.go

    		return 0, reedsolomon.ErrShortData
    	}
    
    	// Counter to decrement total left to write.
    	write := length
    
    	// Counter to increment total written.
    	var totalWritten int64
    
    	// Write all data blocks to dst.
    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    	if err != nil {
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return fmt.Errorf("get netns: %v", err)
    	}
    	log = log.WithLabels("netns", netns)
    
    	if err := redirectRunningPod(pod, netns); err != nil {
    		log.Errorf("failed to setup redirection: %v", err)
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return err
    	}
    	c.repairedPods[key] = pod.UID
    	log.Infof("pod repaired")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/DoubleMath.java

        }
        // x is positive, finite, and normal
        boolean increment;
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(isPowerOfTwo(x));
            // fall through
          case FLOOR:
            increment = false;
            break;
          case CEILING:
            increment = !isPowerOfTwo(x);
            break;
          case DOWN:
            increment = exponent < 0 & !isPowerOfTwo(x);
            break;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/IntMath.java

        int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1));
        boolean increment;
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(rem == 0);
            // fall through
          case DOWN:
            increment = false;
            break;
          case UP:
            increment = true;
            break;
          case CEILING:
            increment = signum > 0;
            break;
          case FLOOR:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. 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, //
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    	// and we harm no one by doing so.
    	copiedFiles, err := copyBinaries(in.cfg.CNIBinSourceDir, in.cfg.CNIBinTargetDirs)
    	if err != nil {
    		cniInstalls.With(resultLabel.Value(resultCopyBinariesFailure)).Increment()
    		return copiedFiles, fmt.Errorf("copy binaries: %v", err)
    	}
    
    	// Install kubeconfig (if needed) - we write/update this in the shared node CNI netdir,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

        var bias = INITIAL_BIAS
        var h = b
        while (h < input.size) {
          val m = input.minBy { if (it >= n) it else Int.MAX_VALUE }
    
          val increment = (m - n) * (h + 1)
          if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow.
          delta += increment
    
          n = m
    
          for (c in input) {
            if (c < n) {
              if (delta == Int.MAX_VALUE) return false // Prevent overflow.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      private fun readWindowUpdate(
        handler: Handler,
        length: Int,
        flags: Int,
        streamId: Int,
      ) {
        val increment: Long
        try {
          if (length != 4) throw IOException("TYPE_WINDOW_UPDATE length !=4: $length")
          increment = source.readInt() and 0x7fffffffL
          if (increment == 0L) throw IOException("windowSizeIncrement was 0")
        } catch (e: Exception) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top