Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1481 - 1490 of 2,702 for Defaults (0.04 sec)

  1. tests/test_multi_query_errors.py

    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: list[int] = Query(default=None)):
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_multi_query():
        response = client.get("/items/?q=5&q=6")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": [5, 6]}
    
    
    def test_multi_query_incorrect():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

    import jcifs.smb1.util.DES;
    import jcifs.smb1.util.Encdec;
    import jcifs.smb1.util.HMACT64;
    import jcifs.smb1.util.LogStream;
    import jcifs.smb1.util.MD4;
    
    /**
     * This class stores and encrypts NTLM user credentials. The default
     * credentials are retrieved from the {@code jcifs.smb1.smb1.client.domain},
     * {@code jcifs.smb1.smb1.client.username}, and {@code jcifs.smb1.smb1.client.password}
     * properties.
     * <p>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
            }
    
            // Apply default behavior: if no specific options are provided, enable --model
            // OR if all options are explicitly disabled, still apply default behavior
            boolean noOptionsSpecified = options.all().isEmpty()
                    && options.infer().isEmpty()
                    && options.model().isEmpty()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java

    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * The logout action.
     */
    public class LogoutAction extends FessSearchAction {
    
        /**
         * Default constructor.
         */
        public LogoutAction() {
            super();
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

      public abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
       * Returns an early guess of the next response, used for policy on how an incoming request should
       * be received. The default implementation returns an empty response. Mischievous implementations
       * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled
       * request bodies.
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

     */
    public sealed interface SocketEffect {
      /**
       * Close the TCP socket that carries this request.
       *
       * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0.
       */
      public class CloseSocket(
        public val closeSocket: Boolean = true,
        public val shutdownInput: Boolean = false,
        public val shutdownOutput: Boolean = false,
      ) : SocketEffect
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java

     * Used to unregister from witness notifications.
     */
    public class WitnessUnregisterRequest {
        /**
         * Creates a new witness unregister request.
         */
        public WitnessUnregisterRequest() {
            // Default constructor
        }
    
        private String registrationId;
        private byte[] contextHandle;
    
        /**
         * Gets the registration ID to unregister.
         *
         * @return the registration ID
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

    import jakarta.annotation.Resource;
    
    /**
     * Admin action for Data Config management.
     *
     */
    public class AdminDataconfigAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminDataconfigAction() {
            super();
        }
    
        /** The role for this action. */
        public static final String ROLE = "admin-dataconfig";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    
    func partNeedsHealing(partErrs []int) bool {
    	return slices.IndexFunc(partErrs, func(i int) bool { return i != checkPartSuccess && i != checkPartUnknown }) > -1
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. mockwebserver/api/mockwebserver3.api

    	public final fun chunkedBody (Lokio/Buffer;I)Lmockwebserver3/MockResponse$Builder;
    	public static synthetic fun chunkedBody$default (Lmockwebserver3/MockResponse$Builder;Ljava/lang/String;IILjava/lang/Object;)Lmockwebserver3/MockResponse$Builder;
    	public static synthetic fun chunkedBody$default (Lmockwebserver3/MockResponse$Builder;Lokio/Buffer;IILjava/lang/Object;)Lmockwebserver3/MockResponse$Builder;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top