Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 697 for _count (0.04 sec)

  1. guava/src/com/google/common/primitives/Booleans.java

       * Returns the number of {@code values} that are {@code true}.
       *
       * @since 16.0
       */
      public static int countTrue(boolean... values) {
        int count = 0;
        for (boolean value : values) {
          if (value) {
            count++;
          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

      public void testAddOccurrences() {
        int originalCount = getMultiset().count(e0());
        assertEquals("old count", originalCount, getMultiset().add(e0(), 2));
        assertEquals("old count", originalCount + 2, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddSeveralTimes() {
        int originalCount = getMultiset().count(e0());
        assertEquals(originalCount, getMultiset().add(e0(), 2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer");
        }
    
        @Test
        public void testToStringContainsCount() {
            // Little-endian: count = 512 (0x0200)
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            writeInt2(count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(b, off, dst, dstIndex, count);
            dstIndex += count;
    
            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. docs/en/docs/fastapi-people.md

    {% endfor %}
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jan 28 20:34:56 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            assertEquals(enumArray200.count, decodedEnumArray200.count);
            assertEquals(enumArray200.s[0].dfs_name, decodedEnumArray200.s[0].dfs_name);
        }
    
        @Test
        void testDfsEnumArray200_EncodeDecode_EmptyArray() throws NdrException {
            netdfs.DfsEnumArray200 enumArray200 = new netdfs.DfsEnumArray200();
            enumArray200.count = 0;
            enumArray200.s = new netdfs.DfsInfo200[0];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. docs/en/data/translators.yml

      login: nilslindemann
      count: 120
      avatarUrl: https://avatars.githubusercontent.com/u/6892179?u=1dca6a22195d6cd1ab20737c0e19a4c55d639472&v=4
      url: https://github.com/nilslindemann
    jaystone776:
      login: jaystone776
      count: 46
      avatarUrl: https://avatars.githubusercontent.com/u/11191137?u=299205a95e9b6817a43144a48b643346a5aac5cc&v=4
      url: https://github.com/jaystone776
    valentinDruzhinin:
      login: valentinDruzhinin
      count: 29
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:58:29 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            setScopedVertices(scopedVertices);
    
            this.versionedVertices = scopedVertices || versionedVertices;
            this.scopedVertices = scopedVertices;
    
            int count = countNodes(tree);
    
            init(count, count + (count / 2));
    
            processTreeNodes(null, tree, 0, 0);
        }
        // ------------------------------------------------------------------------
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. tests/query_test.go

    	}
    
    	if totalBatch != 6 {
    		t.Errorf("incorrect total batch, expects: %v, got %v", 6, totalBatch)
    	}
    
    	var count int64
    	DB.Model(&User{}).Where("name = ?", "find_in_batches_new").Count(&count)
    	if count != 6 {
    		t.Errorf("incorrect count after update, expects: %v, got %v", 6, count)
    	}
    }
    
    func TestFindInBatchesWithOffsetLimit(t *testing.T) {
    	users := []User{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
          sizeRemaining -= count;
          hashMultiset.add(value, count);
          linkedHashMultiset.add(value, count);
          treeMultiset.add(value, count);
        }
    
        // TODO(kevinb): convert to assert once benchmark tests enable asserts by default
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top