Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 700 for counts (0.03 sec)

  1. src/bytes/boundary_test.go

    }
    
    func TestCountNearPageBoundary(t *testing.T) {
    	t.Parallel()
    	b := dangerousSlice(t)
    	for i := range b {
    		c := Count(b[i:], []byte{1})
    		if c != 0 {
    			t.Fatalf("Count(b[%d:], {1})=%d, want 0\n", i, c)
    		}
    		c = Count(b[:i], []byte{0})
    		if c != i {
    			t.Fatalf("Count(b[:%d], {0})=%d, want %d\n", i, c, i)
    		}
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

       * support concurrent multisets whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of distinct elements, the first element, its
       * count, the second element, its count, and so on.
       */
      static <E extends @Nullable Object> void writeMultiset(
          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
        int entryCount = multiset.entrySet().size();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          ensureRoomFor(values.length());
          System.arraycopy(values.array, values.start, array, count, values.length());
          count += values.length();
          return this;
        }
    
        private void ensureRoomFor(int numberToAdd) {
          int newCount = count + numberToAdd; // TODO(kevinb): check overflow now?
          if (newCount > array.length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

          ensureRoomFor(values.length());
          System.arraycopy(values.array, values.start, array, count, values.length());
          count += values.length();
          return this;
        }
    
        private void ensureRoomFor(int numberToAdd) {
          int newCount = count + numberToAdd; // TODO(kevinb): check overflow now?
          if (newCount > array.length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/pager/BoostDocPager.java

        }
    
        /**
         * Gets the total number of records.
         * @return The total record count.
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         * @param allRecordCount The total record count.
         */
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java

        /**
         * Gets the total number of records across all pages.
         *
         * @return The total record count
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records across all pages.
         *
         * @param allRecordCount The total record count to set
         */
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/WebAuthPager.java

        }
    
        /**
         * Gets the total number of records.
         *
         * @return The total record count
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         *
         * @param allRecordCount The total record count
         */
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[30] = 0x04;
            buffer[31] = 0x00;
    
            // Word count
            buffer[32] = 10; // 10 words = 20 bytes
    
            // Parameter words for transaction response
            // Total parameter count (2 bytes)
            buffer[33] = 0x00;
            buffer[34] = 0x00;
    
            // Total data count (2 bytes)
            buffer[35] = 0x00;
            buffer[36] = 0x00;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

         * @param type the SID type
         * @param domainName the domain name for this SID
         * @param acctName the account name for this SID
         * @param decrementAuthority whether to decrement the authority count
         */
        public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) {
            this.revision = sid.revision;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(8, next.maxParameterCount, "Max parameter count should be 8");
            assertEquals(Trans2FindFirst2.LIST_SIZE, next.maxDataCount, "Max data count should use LIST_SIZE");
            assertEquals((byte) 0x00, next.maxSetupCount, "Max setup count must be 0");
    
            // Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top