Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 971 for Helper (0.12 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            this.depth = depth;
            this.resolved = resolved;
            this.pomOrder = pomOrder;
        }
        // ----------------------------------------------------------------------------
        /**
         * helper for equals
         */
        private static boolean objectsEqual(Object o1, Object o2) {
            if (o1 == null && o2 == null) {
                return true;
            }
            if (o1 == null || o2 == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.concurrent.ExecutionException;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/Utf8Test.java

        expected[119] = 1048576;
        expected[120] = 458752;
        expected[121] = 524288;
        expected[122] = 65536;
        // Anything not assigned was the default 0.
        return expected;
      }
    
      /**
       * Helper to run the loop to test all the permutations for the number of bytes specified.
       *
       * @param numBytes the number of bytes in the byte array
       * @param expectedCount the expected number of roundtrippable permutations
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

            ComponentUtil.register(new MockSystemHelper(), "systemHelper");
        }
    
        @Test
        public void test_init() {
            SearchLogHelper helper = new SearchLogHelper();
            helper.init();
    
            assertNotNull(helper.userInfoCache);
            assertNotNull(helper.searchLogLogger);
        }
    
        @Test
        public void test_setUserCheckInterval() {
            long interval = 5 * 60 * 1000L; // 5 minutes
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    import org.codelibs.fess.crawler.helper.MimeTypeHelper;
    
    import jakarta.annotation.Resource;
    
    /**
     * FileSystemClient is CrawlerClient implementation to crawl files on a file
     * system.
     *
     * @author shinsuke
     *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
        private static SamrPolicyHandle createMockPolicyHandle() {
            return mock(SamrPolicyHandle.class);
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            // Should still return empty optional
            assertNotNull(result);
            assertFalse(result.isPresent());
        }
    
        // Helper method to create mock RequestManager
        private RequestManager createMockRequestManager() {
            return new SimpleRequestManager() {
                // No additional overrides needed for testing
            };
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large");
                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SmbComWrite command - SMB write operations
     */
    public class SmbComWriteTest {
    
        /**
         * Helper method to get private field value using reflection
         */
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.lang.reflect.Field;
    
    import javax.net.ssl.SSLSocketFactory;
    
    import org.codelibs.curl.Curl;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top