Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 178 for REQ (0.02 sec)

  1. internal/hash/reader.go

    // Returns ErrInvalidChecksum if a problem with the checksum is found.
    func (r *Reader) AddChecksum(req *http.Request, ignoreValue bool) error {
    	cs, err := GetContentChecksum(req.Header)
    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	if cs.Type.Trailing() {
    		r.trailer = req.Trailer
    	}
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         *      jcifs.internal.smb2.ServerMessageBlock2)
         */
        @Override
        protected Smb2CloseResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2CloseResponse> req ) {
            return new Smb2CloseResponse(tc.getConfig(), this.fileId, this.fileName);
        }
    
    
        /**
         * @param flags
         *            the flags to set
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    	if !s.IsValid(w, r) {
    		return
    	}
    
    	var req DeleteBulkReq
    	mr := msgpNewReader(r.Body)
    	defer readMsgpReaderPoolPut(mr)
    
    	if err := req.DecodeMsg(mr); err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	volume := r.Form.Get(storageRESTVolume)
    	keepHTTPResponseAlive(w)(s.getStorage().DeleteBulk(r.Context(), volume, req.Paths...))
    }
    
    // ReadMultiple returns multiple files
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

         *      jcifs.internal.smb2.ServerMessageBlock2Request)
         */
        @Override
        protected Smb2QueryInfoResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2QueryInfoResponse> req ) {
            return new Smb2QueryInfoResponse(tc.getConfig(), this.infoType, this.fileInfoClass);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            this.outputBufferOffset = outputBufferOffset;
        }
    
    
        @Override
        protected Smb2ReadResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2ReadResponse> req ) {
            return new Smb2ReadResponse(tc.getConfig(), this.outputBuffer, this.outputBufferOffset);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            return this.response;
        }
    
    
        /**
         * @param config2
         * @return
         */
        protected abstract T createResponse ( CIFSContext tc, ServerMessageBlock2Request<T> req );
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#setResponse(jcifs.internal.CommonServerMessageBlockResponse)
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

            super(config, SMB2_FLUSH);
            this.fileId = fileId;
        }
    
    
        @Override
        protected Smb2FlushResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2FlushResponse> req ) {
            return new Smb2FlushResponse(tc.getConfig());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-site-replication.go

    	if objectAPI == nil {
    		return
    	}
    
    	var req madmin.SRRemoveReq
    	if err := parseJSONBody(ctx, r.Body, &req, ""); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err := globalSiteReplicationSys.InternalRemoveReq(ctx, objectAPI, req); err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    func (s *xlStorage) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error {
    	defer xioutil.SafeClose(resp)
    
    	volumeDir := pathJoin(s.drivePath, req.Bucket)
    	found := 0
    	for _, f := range req.Files {
    		if contextCanceled(ctx) {
    			return ctx.Err()
    		}
    		r := ReadMultipleResp{
    			Bucket: req.Bucket,
    			Prefix: req.Prefix,
    			File:   f,
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

            super(config, SMB2_TREE_CONNECT);
            this.path = path;
        }
    
    
        @Override
        protected Smb2TreeConnectResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2TreeConnectResponse> req ) {
            return new Smb2TreeConnectResponse(tc.getConfig());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#chain(jcifs.internal.smb2.ServerMessageBlock2)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
Back to top