Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 230 for io (0.14 sec)

  1. cmd/object-handlers.go

    	}
    
    	// Set Parts Count Header
    	if opts.PartNumber > 0 && len(objInfo.Parts) > 0 {
    		setPartsCountHeaders(w, objInfo)
    	}
    
    	setHeadGetRespHeaders(w, r.Form)
    
    	var iw io.Writer
    	iw = w
    	if buf != nil {
    		iw = io.MultiWriter(w, buf)
    	}
    
    	statusCodeWritten := false
    	httpWriter := xioutil.WriteOnClose(iw)
    	if rs != nil || opts.PartNumber > 0 {
    		statusCodeWritten = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package openid
    
    import (
    	"crypto/sha1"
    	"encoding/base64"
    	"errors"
    	"io"
    	"net/http"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/arn"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    		apiErr := InsufficientWriteQuorum{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		if len(params) >= 2 {
    			apiErr.Object = decodeDirObject(params[1])
    		}
    		return apiErr
    	case io.ErrUnexpectedEOF.Error(), io.ErrShortWrite.Error(), context.Canceled.Error(), context.DeadlineExceeded.Error():
    		apiErr := IncompleteBody{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		if len(params) >= 2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. internal/event/target/nats.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/nats-io/nats.go"
    	"github.com/nats-io/stan.go"
    )
    
    // NATS related constants
    const (
    	NATSAddress       = "address"
    	NATSSubject       = "subject"
    	NATSUsername      = "username"
    	NATSPassword      = "password"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bufio"
    	"context"
    	"io"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"path"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/klauspost/readahead"
    	"github.com/minio/madmin-go/v3"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/erasure-server-pool.go

    				if err != nil {
    					continue
    				}
    				for _, si := range stats {
    					found++
    					var r io.ReadCloser
    					if !si.Dir {
    						r, err = disk.ReadFileStream(ctx, volume, si.Name, 0, si.Size)
    						if err != nil {
    							continue
    						}
    					} else {
    						r = io.NopCloser(bytes.NewBuffer([]byte{}))
    					}
    					// Keep disk path instead of ID, to ensure that the downloaded zip file can be
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	"math/rand"
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/lithammer/shortuuid/v4"
    	"github.com/minio/madmin-go/v3"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. cmd/globals.go

    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    	xhttp "github.com/minio/minio/internal/http"
    	etcd "go.etcd.io/etcd/client/v3"
    
    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v2/certs"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. internal/ioutil/wait_pipe.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"sync"
    )
    
    // PipeWriter is similar to io.PipeWriter with wait group
    type PipeWriter struct {
    	*io.PipeWriter
    	once sync.Once
    	done func()
    }
    
    // CloseWithError close with supplied error the writer end.
    func (w *PipeWriter) CloseWithError(err error) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 27 14:55:36 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top