Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 99 for hugger (0.13 sec)

  1. cmd/bucket-quota.go

    package cmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/logger"
    )
    
    // BucketQuotaSys - map of bucket and quota configuration.
    type BucketQuotaSys struct{}
    
    // Get - Get quota configuration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	pathutil "path"
    	"runtime"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/dsync"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/lsync"
    )
    
    // local lock servers
    var globalLockServer *localLocker
    
    // RWLocker - locker interface to introduce GetRLock, RUnlock.
    type RWLocker interface {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  3. logger/sql.go

    package logger
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/speedtest.go

    				totalPut += result.Uploads
    				totalGet += result.Downloads
    			}
    
    			if totalGet < throughputHighestGet {
    				// Following check is for situations
    				// when Writes() scale higher than Reads()
    				// - practically speaking this never happens
    				// and should never happen - however it has
    				// been seen recently due to hardware issues
    				// causes Reads() to go slower than Writes().
    				//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. internal/logger/utils.go

    // GNU Affero General Public License for more details.
    //
    // 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 logger
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    	"regexp"
    	"runtime"
    
    	"github.com/minio/minio/internal/color"
    )
    
    var ansiRE = regexp.MustCompile("(\x1b[^m]*m)")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 04 23:10:08 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. cmd/bucket-policy.go

    	"github.com/minio/minio-go/v7/pkg/tags"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/handlers"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // PolicySys - policy subsystem.
    type PolicySys struct{}
    
    // Get returns stored bucket policy
    func (sys *PolicySys) Get(bucket string) (*policy.BucketPolicy, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. internal/config/subnet/subnet.go

    	"errors"
    	"fmt"
    	"io"
    	"mime/multipart"
    	"net/http"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const (
    	respBodyLimit = 1 << 20 // 1 MiB
    
    	// LoggerWebhookName - subnet logger webhook target
    	LoggerWebhookName = "subnet"
    )
    
    // Upload given file content (payload) to specified URL
    func (c Config) Upload(reqURL string, filename string, payload []byte) (string, error) {
    	if !c.Registered() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. internal/logger/reqinfo.go

    // GNU Affero General Public License for more details.
    //
    // 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 logger
    
    import (
    	"context"
    	"fmt"
    	"sync"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Key used for Get/SetReqInfo
    type contextKeyType string
    
    const contextLogKey = contextKeyType("miniolog")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. cmd/os-reliable.go

    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    				// baseDir which is slightly higher up the depth.
    				nbaseDir := path.Dir(baseDir)
    				if baseDir != "" && nbaseDir != "" && nbaseDir != SlashSeparator {
    					baseDir = nbaseDir
    				}
    				continue
    			}
    		}
    		break
    	}
    	return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-dump.go

    	}
    	prettyJSON, err := json.MarshalIndent(decoded, "", "    ")
    	if err != nil {
    		return "", err
    	}
    	return string(prettyJSON), nil
    }
    
    func profileDump(args []string, pdArgs *profileDumpArgs, l clog.Logger) error {
    	if len(args) == 1 && pdArgs.inFilenames != nil {
    		return fmt.Errorf("cannot specify both profile name and filename flag")
    	}
    
    	if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top