Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for NONE (0.12 sec)

  1. cmd/kms-router.go

    		kmsRouter.Methods(http.MethodGet).Path(version+"/identity/list").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSListIdentitiesHandler))).Queries("pattern", "{pattern:.*}")
    	}
    
    	// If none of the routes match add default error handler routes
    	kmsRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    	kmsRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("KMS"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-meta-inline.go

    			newKeys = append(newKeys, foundKey)
    			newVals = append(newVals, foundVal)
    		} else {
    			found = true
    		}
    	}
    	// If not found, just return.
    	if !found {
    		return false
    	}
    	// If none left...
    	if len(newKeys) == 0 {
    		*x = nil
    		return true
    	}
    
    	// Reserialize...
    	x.serialize(plSize, newKeys, newVals)
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-audit.go

    //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE
    type lcEventSrc uint8
    
    //revive:disable:var-naming Underscores is used here to indicate where common prefix ends and the enumeration name begins
    const (
    	lcEventSrc_None lcEventSrc = iota
    	lcEventSrc_Heal
    	lcEventSrc_Scanner
    	lcEventSrc_Decom
    	lcEventSrc_Rebal
    	lcEventSrc_s3HeadObject
    	lcEventSrc_s3GetObject
    	lcEventSrc_s3ListObjects
    	lcEventSrc_s3PutObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. internal/handlers/proxy_test.go

    		{xForwardedFor, "", ""},                                                       // None
    		{xRealIP, "8.8.8.8", "8.8.8.8"},                                               // Single address
    		{xRealIP, "[2001:db8:cafe::17]:4711", "[2001:db8:cafe::17]"},                  // IPv6 address
    		{xRealIP, "", ""},                                                             // None
    		{forwarded, `for="_gazonk"`, "_gazonk"},                                       // Hostname
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. internal/bpool/bpool.go

    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    // Get gets a []byte from the BytePool, or creates a new one if none are
    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    		return nil
    	}
    	select {
    	case b = <-bp.c:
    		// reuse existing buffer
    	default:
    		// create new aligned buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. internal/config/heal/heal.go

    func (opts Config) Clone() (int, time.Duration, string) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.IOCount, opts.Sleep, opts.Bitrot
    }
    
    // GetWorkers returns the number of workers, -1 is none configured
    func (opts Config) GetWorkers() int {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.DriveWorkers
    }
    
    // Update updates opts with nopts
    func (opts *Config) Update(nopts Config) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader.go

    // If an error is returned no goroutines have been started and r.err will have been set.
    func (r *Reader) startReaders(newReader func(io.Reader) *csv.Reader) error {
    	if r.args.FileHeaderInfo != none {
    		// Read column names
    		// Get one line.
    		b, err := r.nextSplit(0, nil)
    		if err != nil {
    			r.err = err
    			return err
    		}
    		if !utf8.Valid(b) {
    			return errInvalidTextEncodingError()
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. internal/s3select/csv/args.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import (
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	none = "none"
    	use  = "use"
    
    	defaultRecordDelimiter      = "\n"
    	defaultFieldDelimiter       = ","
    	defaultQuoteCharacter       = `"`
    	defaultQuoteEscapeCharacter = `"`
    	defaultCommentCharacter     = "#"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. cmd/lceventsrc_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[lcEventSrc_None-0]
    	_ = x[lcEventSrc_Heal-1]
    	_ = x[lcEventSrc_Scanner-2]
    	_ = x[lcEventSrc_Decom-3]
    	_ = x[lcEventSrc_Rebal-4]
    	_ = x[lcEventSrc_s3HeadObject-5]
    	_ = x[lcEventSrc_s3GetObject-6]
    	_ = x[lcEventSrc_s3ListObjects-7]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. internal/event/target/redis.go

    	}
    
    	return nil
    }
    
    func (r RedisArgs) validateFormat(c redis.Conn) error {
    	typeAvailable, err := redis.String(c.Do("TYPE", r.Key))
    	if err != nil {
    		return err
    	}
    
    	if typeAvailable != "none" {
    		expectedType := "hash"
    		if r.Format == event.AccessFormat {
    			expectedType = "list"
    		}
    
    		if typeAvailable != expectedType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top