Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 751 for Count (0.14 sec)

  1. 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)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

    @ExtendWith(MockitoExtension.class)
    class SrvCopychunkCopyTest {
    
        private static final int SOURCE_KEY_SIZE = 24;
        private static final int HEADER_SIZE = 32; // 24 bytes source key + 4 bytes chunk count + 4 bytes reserved
        private static final int CHUNK_SIZE = 24;
    
        @Mock
        private SrvCopychunk mockChunk;
    
        @BeforeEach
        void setUp() {
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public final void readFully(final byte b[], final int off, final int len) throws SmbException {
            int n = 0, count;
    
            do {
                count = this.read(b, off + n, len - n);
                if (count < 0) {
                    throw new SmbException("EOF");
                }
                n += count;
                fp += count;
            } while (n < len);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            when(mockNdrBuffer.dec_ndr_long()).thenReturn(2, 1); // count, array pointer
            when(mockDeferredBuffer.dec_ndr_long()).thenReturn(2); // array size
            mockDeferredBuffer.index = 0; // Set field directly
            mockDeferredBuffer.deferred = mockDeferredBuffer;
    
            ctr0.decode(mockNdrBuffer);
    
            assertEquals(2, ctr0.count);
            assertNotNull(ctr0.array);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            assertEquals("term2", result.get(1).getTerm());
        }
    
        public void test_load_emptyList() {
            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedQueryHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedQueryHelper.getRelatedQueries("anyterm");
            assertEquals(0, results.length);
        }
    
        public void test_load_singleTerm() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top