Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 614 for countIn (0.04 sec)

  1. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            vector.add("b");
            int count = 0;
            for (final String s : iterable(vector.elements())) {
                ++count;
            }
            assertThat(count, is(2));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.EnumerationIterator#EnumerationIterator(Enumeration)}
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/pager/WebConfigPager.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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

              count++;
              if (count > maxCount) {
                Assert.fail(
                    "2-bit delta ("
                        + i
                        + ", "
                        + j
                        + ") is likely a "
                        + "characteristic for this hash. This was "
                        + "determined after "
                        + count
                        + " trials");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/sql/StatementUtil.java

            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Returns the update count.
         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @return The update count.
         */
        public static int getUpdateCount(final Statement statement) {
            assertArgumentNotNull("statement", statement);
    
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

        } finally {
          closer.close();
        }
      }
    
      /** Counts the bytes in the given input stream using skip if possible. */
      private static long countBySkipping(InputStream in) throws IOException {
        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

            }
            @SuppressWarnings("unchecked") // we only put Ts in it
            @Nullable T[] array = (@Nullable T[]) new Object[size];
            int count = 0;
            for (; count < size && iterator.hasNext(); count++) {
              array[count] = iterator.next();
            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = unmodifiableList(asList(array));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertDoesNotThrow(() -> request.setOffset(1024L));
                assertDoesNotThrow(() -> request.setOffset(Long.MAX_VALUE));
            }
    
            @Test
            @DisplayName("Should set minimum count correctly")
            void testSetMinimumCount() {
                assertDoesNotThrow(() -> request.setMinimumCount(0));
                assertDoesNotThrow(() -> request.setMinimumCount(512));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                        }
                        filteredContexts[count++] = ctx;
                    }
                }
    
                if (count > 0) {
                    CreateContextRequest[] newContexts = new CreateContextRequest[count];
                    System.arraycopy(filteredContexts, 0, newContexts, 0, count);
                    this.createContexts = newContexts;
                } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testDataHandlingWithVariousSizes() {
            // Test with small data count
            response.setDataCount(10);
            assertEquals(10, response.getDataCount());
    
            // Test with large data count
            response.setDataCount(65535);
            assertEquals(65535, response.getDataCount());
    
            // Test with zero data count
            response.setDataCount(0);
            assertEquals(0, response.getDataCount());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top