Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 121 for increment (0.05 seconds)

  1. cmd/http-tracer_test.go

    	wg.Wait()
    
    	finalStats := stats.Load(false)
    	expected := numGoroutines * opsPerGoroutine
    	actual := finalStats["TestAPI"]
    	if actual != expected {
    		t.Errorf("Race condition detected: expected %d, got %d (lost %d increments)",
    			expected, actual, expected-actual)
    	}
    }
    
    // TestBucketHTTPStatsRaceCondition tests concurrent access to bucket-level HTTP stats.
    func TestRaulBucketHTTPStatsRaceCondition(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    @Suppress("UNCHECKED_CAST")
    internal fun Array<String>.concat(value: String): Array<String> {
      val result = copyOf(size + 1)
      result[result.lastIndex] = value
      return result as Array<String>
    }
    
    /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */
    internal fun String.indexOfFirstNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.17.md

    - Fixes conversion error in multi-version custom resources that could cause metadata.generation to increment on no-op patches or updates of a custom resource. ([#88995](https://github.com/kubernetes/kubernetes/pull/88995), [@liggitt](https://github.com/liggitt)) [SIG API Machinery]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  5. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 10:54:09 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  6. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  // Indexed Header Field.
                  writeInt(headerIndex, PREFIX_7_BITS, 0x80)
                }
                headerNameIndex == -1 -> {
                  // Literal Header Field with Incremental Indexing - New Name.
                  out.writeByte(0x40)
                  writeByteString(name)
                  writeByteString(value)
                  insertIntoDynamicTable(header)
                }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     */
    val keepPatterns = mapOf(
        "it.unimi.dsi:fastutil" to setOf(
            // For persistence cache
            "it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap",
            // For Java compilation incremental analysis
            "it.unimi.dsi.fastutil.ints.IntOpenHashSet",
            "it.unimi.dsi.fastutil.ints.IntSets",
            // For the embedded Kotlin compiler
            "it.unimi.dsi.fastutil.ints.Int2ObjectMap",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. cmd/bucket-replication-stats.go

    	atomic.AddInt64(&v.nowCount, -1)
    	r.qCache.bucketStats[bucket] = v
    
    	atomic.AddInt64(&r.qCache.srQueueStats.nowBytes, -1*sz)
    	atomic.AddInt64(&r.qCache.srQueueStats.nowCount, -1)
    }
    
    // incProxy increments proxy metrics for proxied calls
    func (r *ReplicationStats) incProxy(bucket string, api replProxyAPI, isErr bool) {
    	if r != nil {
    		r.pCache.inc(bucket, api, isErr)
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  10. internal/s3select/sql/aggregation.go

    	isFirstRow := false
    	if !e.aggregate.seen {
    		e.aggregate.seen = true
    		isFirstRow = true
    	}
    
    	switch funcName {
    	case aggFnCount:
    		// For all non-null values, the count is incremented.
    		e.aggregate.runningCount++
    
    	case aggFnAvg, aggFnSum:
    		e.aggregate.runningCount++
    		// Convert to float.
    		f, ok := argVal.ToFloat()
    		if !ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Click Count (0)
Back to Top