Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1711 - 1720 of 3,963 for void (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        return suite;
      }
    
      public void testInsertionOrder() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterPutKeyTwice() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

         * Happy-path: a filter that accepts any name.
         */
        @ParameterizedTest
        @DisplayName("accepts any non-null/any string")
        @ValueSource(strings = { "file.txt", "data.DAT", "a", "x.y.z", "  spaced  " })
        void acceptsAnyNameReturnsTrue(String input) throws Exception {
            SmbFilenameFilter filter = (dir, name) -> true;
    
            boolean result = filter.accept(mockDir, input);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/RC4.java

         *
         * @param key the key array
         * @param ki the starting offset in the key array
         * @param klen the length of the key to use
         */
        public void init(final byte[] key, final int ki, final int klen) {
            s = new byte[256];
    
            for (i = 0; i < 256; i++) {
                s[i] = (byte) i;
            }
    
            for (i = j = 0; i < 256; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Serialization.java

          this.field = field;
          field.setAccessible(true);
        }
    
        void set(T instance, Object value) {
          try {
            field.set(instance, value);
          } catch (IllegalAccessException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        void set(T instance, int value) {
          try {
            field.set(instance, value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

        /**
         * Sets the URL of the API endpoint.
         * @param url The URL to set.
         */
        public void setUrl(final String url) {
            this.url = url;
        }
    
        /**
         * Sets the connection timeout.
         * @param connectionTimeout The connection timeout in milliseconds.
         */
        public void setConnectionTimeout(final Integer connectionTimeout) {
            this.connectionTimeout = connectionTimeout;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

    public class BooleanFunctionTest extends UnitFessTestCase {
    
        public void test_apply_string() {
            BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty();
    
            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
            assertFalse(isNotEmpty.apply(null));
        }
    
        public void test_apply_integer() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         */
        public void setResultDocIdsCacheSize(final int resultDocIdsCacheSize) {
            this.resultDocIdsCacheSize = resultDocIdsCacheSize;
        }
    
        /**
         * Sets the name of the user identification cookie.
         *
         * @param cookieName the name to use for the user identification cookie
         */
        public void setCookieName(final String cookieName) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            }
    
            @Override
            protected void doCloseInternal() throws CIFSException {
                if (throwOnCloseInternal)
                    throw new CIFSException("closeInternal fail");
            }
        }
    
        @Mock
        SmbTreeHandleImpl tree;
        @Mock
        SmbResource parent;
        @Mock
        ResourceNameFilter nameFilter;
    
        private void stubAcquireReturnsSelf() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          assertEquals(WARMUP_SIZE, cache.size());
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        public String createdTime;
    
        /** The version number of the key match. */
        public String versionNo;
    
        /**
         * Clears the pager fields.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top