Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for resps (0.02 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

            ServerMessageBlock2Response resp = (ServerMessageBlock2Response) response;
            synchronized ( resp ) {
                if ( resp.isAsync() && !resp.isAsyncHandled() && resp.getStatus() == NtStatus.NT_STATUS_PENDING && resp.getAsyncId() != 0 ) {
                    resp.setAsyncHandled(true);
                    boolean first = !req.isAsync();
                    req.setAsyncId(resp.getAsyncId());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                    customizeCreate(req, resp);
    
                    h.send(req, resp);
                    info = resp;
                    fileSize = resp.getEndOfFile();
                    this.fileLocator.updateType(resp.getFileType());
                    fh = new SmbFileHandleImpl(config, resp.getFid(), h, uncPath, flags, access, attrs, options, resp.getEndOfFile());
                }
                else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    				t.Fatal(err)
    			}
    
    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    			resp := http.Response{
    				StatusCode:    http.StatusOK,
    				Body:          io.NopCloser(bytes.NewReader(w.response)),
    				ContentLength: int64(len(w.response)),
    			}
    			res, err := minio.NewSelectResults(&resp, "testbucket")
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			got, err := io.ReadAll(res)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    				}
    			}
    		}
    		if osErrToFileErr(err) == errFileNotFound {
    			resp = checkPartFileNotFound
    		}
    		return
    	}
    	if st.Mode().IsDir() {
    		resp = checkPartFileNotFound
    		return
    	}
    	// Check if shard is truncated.
    	if st.Size() < expectedSize {
    		resp = checkPartFileCorrupt
    		return
    	}
    	return checkPartSuccess
    }
    
    // CheckParts check if path has necessary parts available.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	}
    
    	return
    }
    
    func (s *peerRESTServer) GetMetacacheListingHandler(opts *listPathOptions) (*metacache, *grid.RemoteErr) {
    	resp := localMetacacheMgr.getBucket(context.Background(), opts.Bucket).findCache(*opts)
    	return &resp, nil
    }
    
    func (s *peerRESTServer) UpdateMetacacheListingHandler(req *metacache) (*metacache, *grid.RemoteErr) {
    	cache, err := localMetacacheMgr.updateCacheEntry(*req)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    				fi.Erasure.Index = index + 1
    			}
    
    			if !fi.IsValid() {
    				return errFileCorrupt
    			}
    			resp, err := disks[index].RenameData(ctx, srcBucket, srcEntry, fi, dstBucket, dstEntry, RenameOptions{})
    			if err != nil {
    				return err
    			}
    			diskVersions[index] = resp.Sign
    			dataDirs[index] = resp.OldDataDir
    			return nil
    		}, index)
    	}
    
    	// Wait for all renames to finish.
    	errs := g.Wait()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    	switch successStatus {
    	case "201":
    		resp := encodeResponse(PostResponse{
    			Bucket:   objInfo.Bucket,
    			Key:      objInfo.Name,
    			ETag:     `"` + objInfo.ETag + `"`,
    			Location: w.Header().Get(xhttp.Location),
    		})
    		writeResponse(w, http.StatusCreated, resp, mimeXML)
    	case "200":
    		writeSuccessResponseHeadersOnly(w)
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top