Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2631 - 2640 of 3,609 for uint (0.03 sec)

  1. tests/test_reponse_set_reponse_code_empty.py

    from fastapi import FastAPI, Response
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.delete(
        "/{id}",
        status_code=204,
        response_model=None,
    )
    async def delete_deployment(
        id: int,
        response: Response,
    ) -> Any:
        response.status_code = 400
        return {"msg": "Status overwritten", "id": id}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/JobProcess.java

        protected InputStreamThread inputStreamThread;
    
        public JobProcess(final Process process) {
            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) {
            this.process = process;
            inputStreamThread = new InputStreamThread(process.getInputStream(), Constants.CHARSET_UTF_8, bufferSize, outputCallback);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    
    @SuppressWarnings ( "javadoc" )
    public class MsrpcSamrConnect2 extends samr.SamrConnect2 {
    
        public MsrpcSamrConnect2 ( String server, int access, SamrPolicyHandle policyHandle ) {
            super(server, access, policyHandle);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect4.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    public class MsrpcSamrConnect4 extends samr.SamrConnect4 {
    
        public MsrpcSamrConnect4(String server, int access, SamrPolicyHandle policyHandle) {
            super(server, 2, access, policyHandle);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/TreeConnectResponse.java

     */
    package jcifs.internal;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * @return tree id
         */
        int getTid ();
    
    
        /**
         * @return service
         */
        String getService ();
    
    
        /**
         * @return whether the share is in DFS
         */
        boolean isShareDfs ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  6. internal/disk/fdatasync_unix.go

    package disk
    
    import (
    	"os"
    	"syscall"
    )
    
    // Fdatasync is fsync on freebsd/darwin
    func Fdatasync(f *os.File) error {
    	return syscall.Fsync(int(f.Fd()))
    }
    
    // FadviseDontNeed is a no-op
    func FadviseDontNeed(f *os.File) error {
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 29 23:40:28 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. istioctl/cmd/sysexits_test.go

    // limitations under the License.
    
    package cmd
    
    import (
    	"errors"
    	"testing"
    
    	"istio.io/istio/istioctl/pkg/analyze"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    var KnownErrorCode = map[error]int{
    	errors.New("unknown command"):                                  ExitIncorrectUsage,
    	errors.New("unexpected error"):                                 ExitUnknownError,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...instead of `def`:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.filter;
    
    import java.io.IOException;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class EncodingFilterTest extends UnitFessTestCase {
        public void test_normal() throws IOException {
            final EncodingFilter filter = new EncodingFilter();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class ProtocolHelperTest extends UnitFessTestCase {
        public void test_add_httpx() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top