Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 417 for Handling (0.09 sec)

  1. src/test/java/org/codelibs/curl/CurlRequestTest.java

    import java.util.concurrent.ForkJoinPool;
    
    import javax.net.ssl.SSLSocketFactory;
    
    import org.codelibs.curl.Curl.Method;
    import org.junit.Test;
    
    /**
     * Test class for CurlRequest.
     * Tests the fluent API, parameter handling, and request configuration.
     */
    public class CurlRequestTest {
    
        @Test
        public void testConstructor() {
            String url = "https://example.com";
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            });
            assertEquals("Invalid state", e.getMessage());
        }
    
        @Test
        void testInitSecContext_malformedType2Message() throws SmbException {
            // Test handling of a malformed Type 2 message
            when(mockAuth.getDomain()).thenReturn(domain);
    
            NtlmContext context = new NtlmContext(mockAuth, true);
            context.initSecContext(new byte[0], 0, 0); // state -> 2
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(1, chain1.updateCallCount);
            assertEquals(1, chain2.updateCallCount);
            assertEquals(1, chain3.updateCallCount);
        }
    
        // Test addChain null handling
        public void test_addChain_withNull() {
            // ArrayUtils.addAll handles null gracefully by adding it to the array
            authenticationManager.addChain(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.net.URLUtil;
    import org.codelibs.core.nio.ChannelUtil;
    import org.codelibs.core.timer.TimeoutManager;
    
    /**
     * Utility class for handling {@link File}.
     *
     * @author higa
     */
    public abstract class FileUtil {
    
        /**
         * Do not instantiate.
         */
        protected FileUtil() {
        }
    
        /** The encoding name for UTF-8. */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. tests/embedded_struct_test.go

    	}
    }
    
    type Content struct {
    	Content interface{} `gorm:"type:String"`
    }
    
    func (c Content) Value() (driver.Value, error) {
    	// mssql driver with issue on handling null bytes https://github.com/denisenkom/go-mssqldb/issues/530,
    	b, err := json.Marshal(c)
    	return string(b[:]), err
    }
    
    func (c *Content) Scan(src interface{}) error {
    	var value Content
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://hello%00
    
    # Escaped numbers should be treated like IP addresses if they are.
    # No special handling for IPv4 or IPv4-like URLs
    http://%30%78%63%30%2e%30%32%35%30.01  s:http p:/ h:192.168.0.1
    http://%30%78%63%30%2e%30%32%35%30.01%2e  s:http p:/ h:0xc0.0250.01.
    http://192.168.0.257
    
    # Invalid escaping should trigger the regular host error handling.
    http://%3g%78%63%30%2e%30%32%35%30%2E.01
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    logError("Error updating file", e);
                }
            }
    
            return true;
        }
    
        /**
         * Gets the fully qualified class name for a type element, including handling inner classes.
         *
         * @param typeElement the type element to get the class name for
         * @return the fully qualified class name
         */
        private String getFullClassName(TypeElement typeElement) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                log.warn("Failed to create authenticated context, trying guest access", e);
                context = SingletonContext.getInstance();
            }
    
            // Wait for server to be ready - with proper error handling for CI environments
            try {
                waitForServerReady();
            } catch (RuntimeException e) {
                log.warn("SMB server readiness check failed: {}", e.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryCommand.java

                boolQuery.minimumShouldMatch(minimumShouldMatch);
            }
            return new DefaultQueryBuilder(boolQuery);
        }
    
        /**
         * Builds a match phrase query, with special handling for single CJK characters.
         * For single CJK characters in title or content fields, uses prefix query instead.
         * @param f The field name.
         * @param text The text to search for.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/SuggestJob.java

    import jakarta.servlet.ServletContext;
    
    /**
     * This job is responsible for executing the suggest creator process.
     * It builds and runs a command-line process to generate suggest data,
     * handling classpath setup, system properties, and process monitoring.
     */
    public class SuggestJob extends ExecJob {
    
        private static final Logger logger = LogManager.getLogger(SuggestJob.class);
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top