Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 759 for Count (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        int originalCount = getMultiset().count(e0());
        assertEquals("old count", originalCount, getMultiset().remove(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_present() {
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-health.go

    )
    
    var (
    	healthDrivesOfflineCountMD = NewGaugeMD(healthDrivesOfflineCount,
    		"Count of offline drives in the cluster")
    	healthDrivesOnlineCountMD = NewGaugeMD(healthDrivesOnlineCount,
    		"Count of online drives in the cluster")
    	healthDrivesCountMD = NewGaugeMD(healthDrivesCount,
    		"Count of all drives in the cluster")
    )
    
    // loadClusterHealthDriveMetrics - `MetricsLoaderFn` for cluster storage drive metrics
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsTest.java

      public void testCount() {
        assertThat(EMPTY_STATS_VARARGS.count()).isEqualTo(0);
        assertThat(EMPTY_STATS_ITERABLE.count()).isEqualTo(0);
        assertThat(ONE_VALUE_STATS.count()).isEqualTo(1);
        assertThat(TWO_VALUES_STATS.count()).isEqualTo(2);
        assertThat(MANY_VALUES_STATS_VARARGS.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(MANY_VALUES_STATS_ITERABLE.count()).isEqualTo(MANY_VALUES_COUNT);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/MD4.java

            context[3] = 0x10325476;
            count = 0L;
            for (int i = 0; i < BLOCK_LENGTH; i++)
                buffer[i] = 0;
        }
    
        /**
         * Continues an MD4 message digest using the input byte.
         */
        public void engineUpdate (byte b) {
            // compute number of bytes still unhashed; ie. present in buffer
            int i = (int)(count % BLOCK_LENGTH);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  5. tests/count_test.go

    		t.Errorf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    	if count != int64(len(users)) {
    		t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users))
    	}
    
    	if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
        initThreeCopies();
        assertEquals("multiset.count(thriceContained) didn't return 3", 3, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                childDir.mkdirs();
                generateContents(childDir, count - 1);
            }
        }
    
        private static String getHtmlContent(final int count) {
            final StringBuilder buf = new StringBuilder();
            buf.append("<html><head><title>Title ");
            buf.append(count);
            buf.append("</title></head><body><h1>Content ");
            buf.append(count);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
          if (count != 0) {
            System.arraycopy(strCopy, 0, strCopy, strCopyLen, strCopyLen);
            strCopyLen <<= 1;
          }
        }
        return new String(array);
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

        assertEquals(0, multimap().keys().count(null));
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testKeysWithNullKey() {
        resetContainer(mapEntry((K) null, v0()), mapEntry((K) null, v1()), mapEntry(k1(), v0()));
        Multiset<K> keys = multimap().keys();
        assertEquals(2, keys.count(null));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            }
            if (300 <= count) {
                logger.info("Time out: Failed to start crawler)");
                fail(); // Time Out
            }
    
            logger.info("Crawler is running");
            count = 0;
            isRunning = true;
            while (count < 300 && isRunning) { // Wait until the crawler terminates
                ThreadUtil.sleep(1000);
                count++;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top