Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 484 for handleMsg (0.06 seconds)

  1. tests/test_router_events.py

            assert client.app_state == {"router": True}
    
    
    @pytest.mark.filterwarnings(
        r"ignore:\s*on_event is deprecated, use lifespan event handlers instead.*:DeprecationWarning"
    )
    def test_router_async_shutdown_handler(state: State) -> None:
        """Test that async on_shutdown event handlers are called correctly, for coverage."""
        app = FastAPI()
    
        @app.get("/")
        def main() -> dict[str, str]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. tests/test_compat.py

        # class "feature"
        assert is_uploadfile_sequence_annotation(list[str] | list[UploadFile])
    
    
    def test_serialize_sequence_value_with_optional_list():
        """Test that serialize_sequence_value handles optional lists correctly."""
        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=list[str] | None)
        field = v2.ModelField(name="items", field_info=field_info)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    /**
     * Factory for managing CORS handlers based on origin.
     * Maintains a registry of CORS handlers for different origins and provides lookup functionality.
     */
    public class CorsHandlerFactory {
    
        /**
         * Creates a new instance of CorsHandlerFactory.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java

        /**
         * Default timeout for durable handles (2 minutes)
         */
        public static final long DEFAULT_DURABLE_TIMEOUT = 120000;
    
        /**
         * Maximum timeout for durable handles (5 minutes)
         */
        public static final long MAX_DURABLE_TIMEOUT = 300000;
    
        /**
         * Persistent handles have infinite timeout
         */
        public static final long PERSISTENT_TIMEOUT = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. cmd/object-handlers_test.go

    	// There is no need to use an existing bucket and valid input for creating the request
    	// since the `objectLayer==nil`  check is performed before any other checks inside the handlers.
    	// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called.
    
    	nilBucket := "dummy-bucket"
    	nilObject := "dummy-object"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        /**
         * The type of handle (DURABLE_V1, DURABLE_V2, or PERSISTENT)
         */
        private final HandleType type;
    
        /**
         * The timeout in milliseconds for durable handles (not applicable for persistent handles)
         */
        private final long timeout;
    
        /**
         * The timestamp when this handle was created
         */
        private final long createTime;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * SSO (Single Sign-On) action controller.
     *
     * This action handles SSO authentication flows including login, logout, and metadata
     * operations. It coordinates with the SsoManager to perform authentication using
     * configured SSO providers and handles various authentication scenarios including
     * successful login, authentication failures, and redirects.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. internal/logger/message/audit/entry.go

    package audit
    
    import (
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/minio/madmin-go/v3/logger/audit"
    
    	"github.com/minio/minio/internal/handlers"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // Version - represents the current version of audit log structure.
    const Version = "1"
    
    // NewEntry - constructs an audit entry object with some fields filled
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    - Add lease break handling in `SmbTransport`
    
    ---
    
    ### Phase 2: Persistent Handles
    **Priority: HIGH** | **Estimated Effort: 4-5 weeks**
    
    Persistent handles allow connections to survive network interruptions and server failovers.
    
    #### 2.1 Core Persistent Handle Infrastructure
    ```
    Package: jcifs.internal.smb2.persistent
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. cmd/http-tracer.go

    package cmd
    
    import (
    	"context"
    	"net"
    	"net/http"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/handlers"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/mcontext"
    )
    
    var ldapPwdRegex = regexp.MustCompile("(^.*?)LDAPPassword=([^&]*?)(&(.*?))?$")
    
    // redact LDAP password if part of string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
Back to Top