Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 912 for Count (0.03 sec)

  1. guava/src/com/google/common/math/PairedStatsAccumulator.java

                      * values.count();
        }
        yStats.addAll(values.yStats());
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public PairedStats snapshot() {
        return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas);
      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    return value;
                  }
                });
          }
          assertThat(segment.count).isEqualTo(count);
          assertThat(count).isAtMost(segment.threshold);
          assertThat(count).isAtMost((segment.table.length() * 3 / 4));
          assertThat(count).isGreaterThan(segment.table.length() * 3 / 8);
        }
      }
    
      @SuppressWarnings("TruthGetOrDefault") // We are testing our implementation of getOrDefault.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                    return value;
                  }
                });
          }
          assertThat(segment.count).isEqualTo(count);
          assertThat(count).isAtMost(segment.threshold);
          assertThat(count).isAtMost((segment.table.length() * 3 / 4));
          assertThat(count).isGreaterThan(segment.table.length() * 3 / 8);
        }
      }
    
      @SuppressWarnings("TruthGetOrDefault") // We are testing our implementation of getOrDefault.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  4. tests/multi_primary_keys_test.go

    	if !compareTags(blog.Tags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if count := DB.Model(&blog).Association("Tags").Count(); count != 3 {
    		t.Fatalf("Blog should has 3 tags after Append, got %v", count)
    	}
    
    	var tags []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags)
    	if !compareTags(tags, []string{"tag1", "tag2", "tag3"}) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common.go

    	latest := int64(0)
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for nano, count := range timeOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima || nano > latest {
    			maxima = count
    			latest = nano
    		}
    	}
    
    	// Return the collected common max time, with maxima
    	return time.Unix(0, latest).UTC(), maxima
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                    }
                }
    
                assertEquals(expectedUrl, t.url, "URL should be correctly parsed");
                assertEquals(2, t.numThreads, "Thread count should be parsed");
                assertEquals(5, t.numIter, "Iteration count should be parsed");
                assertEquals(100L, t.delay, "Delay should be parsed");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/AbstractCache.java

        public SimpleStatsCounter() {}
    
        /**
         * @since 11.0
         */
        @Override
        public void recordHits(int count) {
          hitCount.add(count);
        }
    
        /**
         * @since 11.0
         */
        @Override
        public void recordMisses(int count) {
          missCount.add(count);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. 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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

      }
    
      fun run() {
        try {
          val count = getTestCount()
          println("Test count: $count")
          for (number in 1..count) {
            runTest(number, count)
          }
          updateReports()
        } finally {
          client.dispatcher.executorService.shutdown()
        }
      }
    
      private fun runTest(
        number: Long,
        count: Long,
      ) {
        val latch = CountDownLatch(1)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertNotNull(securityDescriptor.getOwnerGroupSid());
        }
    
        @Test
        @DisplayName("Test decode throws exception for invalid ACE count")
        void testDecodeThrowsExceptionForInvalidAceCount() {
            // Prepare buffer with invalid ACE count (> 4096)
            prepareSecurityDescriptorBufferWithInvalidAceCount(testBuffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top