Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for friends (0.16 sec)

  1. internal/mountinfo/mountinfo_linux.go

    			Device:  fields[0],
    			Path:    fields[1],
    			FSType:  fields[2],
    			Options: strings.Split(fields[3], ","),
    			Freq:    fields[4],
    			Pass:    fields[5],
    		})
    	}
    	return mounts, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  2. cmd/update.go

    	fields := strings.Split(releaseTag, ".")
    	if len(fields) < 2 || len(fields) > 4 {
    		return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag)
    	}
    	if fields[0] != "RELEASE" {
    		return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag)
    	}
    	return time.Parse(MinioReleaseTagTimeLayout, fields[1])
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    				if dataType != jsonparser.String {
    					return errors.New("sub: Expected string")
    				}
    				c.Subject, err = jsonparser.ParseString(value)
    				return err
    			}
    		}
    		// Ignore unknown fields
    		return nil
    	})
    }
    
    // MapClaims - implements custom unmarshaller
    type MapClaims struct {
    	AccessKey string `json:"accessKey,omitempty"`
    	jwtgo.MapClaims
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  4. internal/disk/stat_linux.go

    		WriteMerges:  stats[5],
    		WriteSectors: stats[6],
    		WriteTicks:   stats[7],
    		CurrentIOs:   stats[8],
    		TotalTicks:   stats[9],
    		ReqTicks:     stats[10],
    	}
    	// as per the doc, only 11 fields are guaranteed
    	// only set if available
    	if len(stats) > 14 {
    		iostats.DiscardIOs = stats[11]
    		iostats.DiscardMerges = stats[12]
    		iostats.DiscardSectors = stats[13]
    		iostats.DiscardTicks = stats[14]
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. internal/event/target/webhook.go

    	QueueDir   string          `json:"queueDir"`
    	QueueLimit uint64          `json:"queueLimit"`
    	ClientCert string          `json:"clientCert"`
    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    		return errors.New("endpoint empty")
    	}
    	if w.QueueDir != "" {
    		if !filepath.IsAbs(w.QueueDir) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_gen.go

    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *xlMetaDataDirDecoder) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(1)
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	if z.ObjectV2 == nil {
    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. internal/grid/trace.go

    )
    
    // TraceParamsKey allows to pass trace parameters to the request via context.
    // This is only needed when un-typed requests are used.
    // MSS, map[string]string types are preferred, but any struct with exported fields will work.
    type TraceParamsKey struct{}
    
    // traceRequests adds request tracing to the connection.
    func (c *Connection) traceRequests(p *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]) {
    	c.trace = &tracer{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. cmd/storage-errors.go

    	errDiskNotFound,
    	errFaultyDisk,
    	errFaultyRemoteDisk,
    }
    
    var baseIgnoredErrs = baseErrs
    
    // Is a one place function which converts all os.PathError
    // into a more FS object layer friendly form, converts
    // known errors into their typed form for top level
    // interpretation.
    func osErrToFileErr(err error) error {
    	if err == nil {
    		return nil
    	}
    	if osIsNotExist(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/os-instrumented.go

    var globalOSMetrics osMetrics
    
    func init() {
    	// Inject metrics.
    	ioutilx.OsOpenFile = OpenFile
    	ioutilx.OpenFileDirectIO = OpenFileDirectIO
    	ioutilx.OsOpen = Open
    }
    
    type osMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [osMetricLast]uint64
    	latency    [osMetricLast]lockedLastMinuteLatency
    }
    
    // time an os action.
    func (o *osMetrics) time(s osMetric) func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. internal/s3select/sql/stringfuncs.go

    		default:
    			s = append(s, r)
    		}
    
    	}
    	if hasLeadingPercent {
    		return strings.HasSuffix(text, string(s)), nil
    	}
    	return string(s) == text, nil
    }
    
    // matcher - Finds `pat` in `text`, and returns the part remainder of
    // `text`, after the match. If leadingPercent is false, `pat` must be
    // the prefix of `text`, otherwise it must be a substring.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
Back to top