Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Balint (0.16 sec)

  1. cmd/admin-server-info.go

    		props.PoolNumbers = append(props.PoolNumbers, poolNumber)
    	}
    	sort.Ints(props.PoolNumbers)
    	props.PoolNumber = func() int {
    		if len(props.PoolNumbers) == 1 {
    			return props.PoolNumbers[0]
    		}
    		return math.MaxInt // this indicates that its unset.
    	}()
    
    	sensitive := map[string]struct{}{
    		config.EnvAccessKey:         {},
    		config.EnvSecretKey:         {},
    		config.EnvRootUser:          {},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/value_test.go

    			},
    			want:   -1,
    			wantOK: true,
    		},
    		{
    			name: "plusone",
    			fields: fields{
    				value: []byte("+1"),
    			},
    			want:   1,
    			wantOK: true,
    		},
    		{
    			name: "maxint",
    			fields: fields{
    				value: []byte(strconv.FormatInt(math.MaxInt64, 10)),
    			},
    			want:   math.MaxInt64,
    			wantOK: true,
    		},
    		{
    			name: "minint",
    			fields: fields{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. cmd/common-main.go

    	// "MINIO_ROOT_USER" and "MINIO_ROOT_PASSWORD" are provided
    	// Warn user if deprecated environment variables,
    	// "MINIO_ACCESS_KEY" and "MINIO_SECRET_KEY", are defined
    	// Check all error conditions first
    	//nolint:gocritic
    	if !env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		logger.Fatal(config.ErrMissingEnvCredentialRootUser(nil), "Unable to start MinIO")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  4. .github/workflows/go-lint.yml

    Aditya Manthramurthy <******@****.***> 1711669489 -0700
    Others
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. internal/disk/stat_linux.go

    		Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:  uint64(s.Frsize) * s.Bavail,
    		Files: s.Files,
    		Ffree: s.Ffree,
    		//nolint:unconvert
    		FSType: getFSType(int64(s.Type)),
    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/untar.go

    			}
    			wg.Add(1)
    			go func(name string, fi fs.FileInfo, b []byte) {
    				rc := disconnectReader{r: bytes.NewReader(b)}
    				defer func() {
    					rc.Close()
    					<-asyncWriters
    					wg.Done()
    					//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    					poolBuf128k.Put(b)
    				}()
    				if err := putObject(&rc, fi, name); err != nil {
    					if o.ignoreErrs {
    						s3LogIf(ctx, err)
    						return
    					}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. internal/s3select/sql/value.go

    func (v Value) ToArray() (val []Value, ok bool) {
    	val, ok = v.value.([]Value)
    	return
    }
    
    // IsNull - checks if value is missing.
    func (v Value) IsNull() bool {
    	//nolint:gocritic
    	switch v.value.(type) {
    	case nil:
    		return true
    	}
    	return false
    }
    
    // IsMissing - checks if value is missing.
    func (v Value) IsMissing() bool {
    	_, ok := v.value.(Missing)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  8. internal/event/target/nats.go

    }
    
    // To obtain a streaming connection from args.
    func (n NATSArgs) connectStan() (stan.Conn, error) {
    	scheme := "nats"
    	if n.Secure {
    		scheme = "tls"
    	}
    
    	var addressURL string
    	//nolint:gocritic
    	if n.Username != "" && n.Password != "" {
    		addressURL = scheme + "://" + n.Username + ":" + n.Password + "@" + n.Address.String()
    	} else if n.Token != "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    				Code:           string(e.ServiceCode()),
    				Description:    e.Error(),
    				HTTPStatusCode: e.Response().StatusCode,
    			}
    			// Add more other SDK related errors here if any in future.
    		default:
    			//nolint:gocritic
    			if errors.Is(err, errMalformedEncoding) || errors.Is(err, errChunkTooBig) || errors.Is(err, strconv.ErrRange) {
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 06 05:26:02 GMT 2024
    - 90.2K bytes
    - Viewed (6)
  10. internal/s3select/json/preader.go

    	for len(r.current) <= r.recordsRead {
    		if r.err != nil {
    			return nil, r.err
    		}
    		// Move to next block
    		item, ok := <-r.queue
    		if !ok {
    			r.err = io.EOF
    			return nil, r.err
    		}
    		//nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer.
    		r.kvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top