Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 936 for handlers (0.06 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

    import org.codelibs.fess.crawler.Constants;
    
    /**
     * The Hc5FormScheme class implements the AuthScheme interface for Apache HttpComponents 5.x
     * to provide form-based authentication for HTTP clients. It handles the process of
     * obtaining a token and logging in using the provided credentials.
     *
     * <p>This class supports both GET and POST methods for token and login
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  2. api/go1.7.txt

    pkg net/http, type Transport struct, MaxResponseHeaderBytes int64
    pkg net/http, var ErrUseLastResponse error
    pkg net/http, var LocalAddrContextKey *contextKey
    pkg net/http, var ServerContextKey *contextKey
    pkg net/http/cgi, type Handler struct, Stderr io.Writer
    pkg net/http/httptest, func NewRequest(string, string, io.Reader) *http.Request
    pkg net/http/httptest, method (*ResponseRecorder) Result() *http.Response
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

                assertEquals(0, count, "No iterations should occur for empty iterator");
            }, "EmptyIterator should work with manual iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should handle concurrent access safely")
        void testConcurrentAccess() throws InterruptedException, CIFSException {
            // Given
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. internal/lock/lock_windows.go

    func lockedOpenFile(path string, flag int, perm os.FileMode, lockType uint32) (*LockedFile, error) {
    	f, err := Open(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                return true;
            }
    
            return false;
        }
    
        /**
         * Converts a crawling path to the appropriate protocol format.
         * Handles various path formats and adds proper protocol prefixes.
         *
         * @param path the original path to convert
         * @return the converted path with appropriate protocol prefix
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/Crypto.java

    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    
    import jcifs.CIFSUnsupportedCryptoException;
    
    /**
     * Cryptographic utility class providing encryption and decryption functionality for jCIFS.
     * Handles security provider initialization and cryptographic operations for SMB authentication.
     *
     * @author mbechler
     */
    public final class Crypto {
    
        private static Provider provider = null;
    
        /**
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/transport/ResponseTest.java

    public class ResponseTest {
    
        @Mock
        private Response mockResponse;
    
        @BeforeEach
        void setUp() {
            // Reset mock before each test to ensure clean state
            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
            // Test initial state (should be false by default for a fresh mock)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            urls.add("http://example.com/page2"); // Duplicate
    
            Set<RequestData> result = crawlerThread.getAnchorSet(urls);
            assertNotNull(result, "getAnchorSet should handle duplicates");
    
            // Since it returns a Set, duplicates should be handled by URL comparison
            // The exact behavior depends on RequestData.equals() implementation
            assertTrue("Should have at most 5 items", result.size() <= 5);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  9. fastapi/openapi/models.py

            @classmethod
            def __get_pydantic_json_schema__(
                cls, core_schema: Mapping[str, Any], handler: GetJsonSchemaHandler
            ) -> dict[str, Any]:
                return {"type": "string", "format": "email"}
    
            @classmethod
            def __get_pydantic_core_schema__(
                cls, source: type[Any], handler: Callable[[Any], Mapping[str, Any]]
            ) -> Mapping[str, Any]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/Striped64.java

       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
       * Handles cases of updates involving initialization, resizing, creating new Cells, and/or
       * contention. See above for explanation. This method suffers the usual non-modularity problems of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top