Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 614 for countIn (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/pager/ProtwordsPager.java

            return 1;
        }
    
        /**
         * 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                int current = Integer.parseInt(source.get("field2").toString());
                assertTrue(prev < current);
                prev = current;
                count++;
            }
            assertEquals(num, count);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            }
    
            @Override
            public void dispose() {
                ++count;
                names += name;
            }
        }
    
        /**
         *
         */
        public class TestDisposable2 implements Disposable {
            @Override
            public void dispose() {
                ++count;
                throw new RuntimeException();
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

            byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // The count should be read from the buffer.
            assertEquals(10L, response.count);
            // The method should return the number of bytes read.
            assertEquals(8, bytesRead);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CountTest.java

      }
    
      public void testAddAndGet() {
        Count holder = new Count(20);
        assertEquals(21, holder.addAndGet(1));
      }
    
      public void testGetAndSet() {
        Count holder = new Count(10);
        assertEquals(10, holder.getAndSet(20));
        assertEquals(20, holder.get());
      }
    
      public void testSet() {
        Count holder = new Count(10);
        holder.set(20);
        assertEquals(20, holder.get());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should read various count values")
            @ValueSource(ints = { 0, 1, 100, 1024, 65536, Integer.MAX_VALUE })
            void testReadVariousCountValues(int count) throws SMBProtocolDecodingException {
                byte[] buffer = createValidWriteResponse(count, 0);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

                if (now - previousTime < interval) {
                    throw new IllegalStateException();
                }
                previousTime = now;
    
                count++;
                if (count <= exceptionCount) {
                    throw new CrawlerSystemException("exception " + count);
                }
    
                final ResponseData responseData = new ResponseData();
                responseData.setUrl(request.getUrl());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun checkOffsetAndCount(
      arrayLength: Long,
      offset: Long,
      count: Long,
    ) {
      if (offset or count < 0L || offset > arrayLength || arrayLength - offset < count) {
        throw ArrayIndexOutOfBoundsException("length=$arrayLength, offset=$offset, count=$offset")
      }
    }
    
    internal fun <T> interleave(
      a: Iterable<T>,
      b: Iterable<T>,
    ): List<T> {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            // Process multiple elements
            int count = 1;
            while (transaction.hasMoreElements() && count < 10) {
                transaction.nextElement();
                count++;
            }
    
            assertTrue(count > 1, "Large data should require multiple elements");
        }
    
        @Test
        @DisplayName("Test transaction name handling")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        void testGetEntries_largeNumberOfRoots() throws Exception {
            // Create array with many entries
            int count = 100;
            netdfs.DfsEnumArray200 largeArray = new netdfs.DfsEnumArray200();
            largeArray.count = count;
            largeArray.s = new netdfs.DfsInfo200[count];
    
            for (int i = 0; i < count; i++) {
                netdfs.DfsInfo200 entry = new netdfs.DfsInfo200();
                entry.dfs_name = "share_" + i;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top