Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 174 for incremented (0.13 seconds)

  1. android/guava/src/com/google/common/cache/LongAddables.java

      }
    
      public static LongAddable create() {
        return SUPPLIER.get();
      }
    
      private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
        @Override
        public void increment() {
          getAndIncrement();
        }
    
        @Override
        public void add(long x) {
          getAndAdd(x);
        }
    
        @Override
        public long sum() {
          return get();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. migrator/column_type.go

    // PrimaryKey returns the column is primary key or not.
    func (ct ColumnType) PrimaryKey() (isPrimaryKey bool, ok bool) {
    	return ct.PrimaryKeyValue.Bool, ct.PrimaryKeyValue.Valid
    }
    
    // AutoIncrement returns the column is auto increment or not.
    func (ct ColumnType) AutoIncrement() (isAutoIncrement bool, ok bool) {
    	return ct.AutoIncrementValue.Bool, ct.AutoIncrementValue.Valid
    }
    
    // Length returns the column type length for variable length column types
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

                "errorprone",
                project.objects.property<Boolean>()
            ).apply {
                // Enable it only for the main source set by default, as incremental Groovy
                // joint-compilation doesn't work with the Error Prone annotation processor
                enabled.convention(isMainSourceSet)
            }
    
            if (isMainSourceSet) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
                builder.append(buffer, 0, bufIndex);
                buffer = null; // release for gc
                CharStreams.copy(reader, builder);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
                builder.append(buffer, 0, bufIndex);
                buffer = null; // release for gc
                CharStreams.copy(reader, builder);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. .teamcity/performance-tests-ci.json

        "groups" : [ {
          "testProject" : "largeJavaMultiProject",
          "comment" : "We only test the multi-project here since for the monolithic project we would have no cache hits. This would mean we actually would test incremental compilation.",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 21:56:33 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

              nanos -= System.nanoTime() - now; // subtract the actual time we waited
            }
          }
        }
      }
    
      /**
       * Checks if the executor has been shut down and increments the running task count.
       *
       * @throws RejectedExecutionException if the executor has been previously shutdown
       */
      private void startTask() {
        synchronized (lock) {
          if (shutdown) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 14:23:59 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         */
        public void updateHeartbeat() {
            this.lastHeartbeat = System.currentTimeMillis();
            this.heartbeatFailures = 0;
        }
    
        /**
         * Increments the heartbeat failure count.
         */
        public void incrementHeartbeatFailures() {
            this.heartbeatFailures++;
        }
    
        /**
         * Gets the number of consecutive heartbeat failures.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

          totalLoadTime += i;
        }
        for (int i = 0; i < 41; i++) {
          counter2.recordMisses(1);
        }
        for (int i = 0; i < 43; i++) {
          counter2.recordEviction();
        }
    
        counter1.incrementBy(counter2);
        assertThat(counter1.snapshot()).isEqualTo(new CacheStats(38, 60, 44, 54, totalLoadTime, 66));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * {@code key}.
       */
      public long get(K key) {
        AtomicLong atomic = map.get(key);
        return atomic == null ? 0L : atomic.get();
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long incrementAndGet(K key) {
        return addAndGet(key, 1);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 13:21:19 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top