Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,169 for pcount (0.18 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        assertThat(requestedHosts).containsExactly(*expectedHosts)
        requestedHosts.clear()
      }
    
      /** Allocates and returns `count` fake IPv4 addresses like [255.0.0.100, 255.0.0.101].  */
      fun allocate(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertTrue(
            "setCount() with the correct expected present count should return true",
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      private boolean setCount(E element, int count) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/ClassLoadingCache.kt

        private
        fun assertClassLoads(cachedScript: CachedScript, count: Int) =
            when (cachedScript) {
                is CachedScript.WholeFile -> cachedScript.stages.forEach { assertClassLoads(it, count) }
                is CachedScript.CompilationStage -> assertClassLoads(cachedScript, count)
            }
    
        private
        fun assertClassLoads(stage: CachedScript.CompilationStage, count: Int) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return oldCount;
      }
    
      @CanIgnoreReturnValue
      @Override
      public final int setCount(@ParametricNullness E element, int count) {
        checkNonnegative(count, "count");
        int oldCount = (count == 0) ? backingMap.remove(element) : backingMap.put(element, count);
        size += (count - oldCount);
        return oldCount;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest.groovy

            def settingsText = ""
            numProjects.times { count ->
                settingsText += "include 'project$count'\n"
            }
            resources.dir.file("settings.gradle") << settingsText
    
            numProjects.times { count ->
                def projectDir = resources.dir.createDir("project$count")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

        }
    
        @Override
        protected int maybeReadBytes(byte[] buffer, int offset, int count) throws IOException {
            return inputStream.read(buffer, offset, count);
        }
    
        @Override
        protected long maybeSkip(long count) throws IOException {
            return inputStream.skip(count);
        }
    
        @Override
        public long readLong() throws IOException {
            return inputStream.readLong();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/base/base.go

    		AtExit(func() {
    			metrics.Read(sample)
    			goal := sample[GOAL].Value.Uint64()
    			count := sample[COUNT].Value.Uint64()
    			oldGogc := debug.SetGCPercent(100)
    			if oldGogc == 100 {
    				fmt.Fprintf(os.Stderr, "GCAdjust: AtExit goal %d gogc %d count %d maxprocs %d gcConcurrency %d\n",
    					goal, oldGogc, count, mp, gcConcurrency)
    			} else {
    				inUse := sample[ALLOCS].Value.Uint64() - sample[FREES].Value.Uint64()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_shuffle.txt

    stdout '(?s)=== RUN   TestThree(.*)--- PASS: TestThree'
    stdout -count=2 'BenchmarkOne'
    stdout -count=2 'BenchmarkTwo'
    stdout -count=2 'BenchmarkThree'
    
    
    # When running go test -count=N, each of the N runs distinct runs should maintain the same
    # shuffled order of these tests.
    go test -v -shuffle=43 -count=4 foo_test.go
    stdout '^-test.shuffle 43'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:46:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-usage.go

    		"Total cluster objects count")
    	usageVersionsCountMD = NewGaugeMD(usageVersionsCount,
    		"Total cluster object versions (including delete markers) count")
    	usageDeleteMarkersCountMD = NewGaugeMD(usageDeleteMarkersCount,
    		"Total cluster delete markers count")
    	usageBucketsCountMD = NewGaugeMD(usageBucketsCount,
    		"Total cluster buckets count")
    	usageObjectsDistributionMD = NewGaugeMD(usageSizeDistribution,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/runtime/histogram_test.go

    	if ok {
    		t.Errorf("expected to hit underflow bucket: (%d, %d)", -1, 0)
    	}
    	if c != 1 {
    		t.Errorf("overflow bucket has count that is not 1: %d", c)
    	}
    
    	c, ok = h.Count(TimeHistNumBuckets+1, 0)
    	if ok {
    		t.Errorf("expected to hit overflow bucket: (%d, %d)", TimeHistNumBuckets+1, 0)
    	}
    	if c != 2 {
    		t.Errorf("overflow bucket has count that is not 2: %d", c)
    	}
    
    	dummyTimeHistogram = TimeHistogram{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:01 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top