Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for decrement (0.17 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

        int signum = 1 | (int) ((p ^ q) >> (Long.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
    - 44.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(20, ticker.read());
    
        for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) {
          ticker.setAutoIncrementStep(0, timeUnit);
          assertEquals(
              "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit,
              30,
              ticker.read());
        }
      }
    
      public void testAutoIncrement_negative() {
        FakeTicker ticker = new FakeTicker();
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. internal/s3select/simdj/reader.go

    // Input should be root -> object input. Each root indicates a record.
    // If r.input is closed, it is assumed that no more input will come.
    // When this function returns r.readerWg will be decremented and r.decoded will be closed.
    // On errors, r.err will be set. This should only be accessed after r.decoded has been closed.
    func (r *Reader) startReader() {
    	defer r.onReaderExit()
    	var tmpObj simdjson.Object
    	for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VST1.P	[V4.S4,V5.S4], 48(R1)                            // ERROR "invalid post-increment offset"
    	VST1.P	[V4.S4], 8(R1)                                   // ERROR "invalid post-increment offset"
    	VLD1.P	32(R1), [V8.S4, V9.S4, V10.S4]                   // ERROR "invalid post-increment offset"
    	VLD1.P	48(R1), [V7.S4, V8.S4, V9.S4, V10.S4]            // ERROR "invalid post-increment offset"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  5. callbacks/create.go

    			pkField = db.Statement.Schema.PrioritizedPrimaryField
    			pkFieldName = db.Statement.Schema.PrioritizedPrimaryField.DBName
    		}
    
    		// append @id column with value for auto-increment primary key
    		// the @id value is correct, when: 1. without setting auto-increment primary key, 2. database AutoIncrementIncrement = 1
    		switch values := db.Statement.Dest.(type) {
    		case map[string]interface{}:
    			values[pkFieldName] = insertID
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(20, ticker.read());
    
        for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) {
          ticker.setAutoIncrementStep(0, timeUnit);
          assertEquals(
              "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit,
              30,
              ticker.read());
        }
      }
    
      public void testAutoIncrement_negative() {
        FakeTicker ticker = new FakeTicker();
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    		m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds()
    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    	m.expMovingAvg = exponentialMovingAverage(beta, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. cmd/background-heal-ops.go

    				} else {
    					res, err = objAPI.HealObject(ctx, task.bucket, task.object, task.versionID, task.opts)
    				}
    			}
    
    			if bgSeq != nil {
    				// We increment relevant counter based on the heal result for prometheus reporting.
    				if err != nil {
    					bgSeq.countFailed(res)
    				} else {
    					bgSeq.countHeals(res.Type, false)
    				}
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

      private int hashTableMask() {
        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean add(@ParametricNullness E object) {
        if (needsAllocArrays()) {
          allocArrays();
        }
        Set<E> delegate = delegateOrNull();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

      private int hashTableMask() {
        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean add(@ParametricNullness E object) {
        if (needsAllocArrays()) {
          allocArrays();
        }
        Set<E> delegate = delegateOrNull();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top