Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 673 for mirrors (0.04 sec)

  1. logger/slog.go

    //go:build go1.21
    
    package logger
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"log/slog"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    type slogLogger struct {
    	Logger                    *slog.Logger
    	LogLevel                  LogLevel
    	SlowThreshold             time.Duration
    	Parameterized             bool
    	Colorful                  bool // Ignored in slog
    	IgnoreRecordNotFoundError bool
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. internal/rest/rpc-stats.go

    	tcpTimeForFirstByteTotalDur uint64
    }{}
    
    // RPCStats holds information about the DHCP/TCP metrics and errors
    type RPCStats struct {
    	Errs uint64
    
    	DialAvgDuration uint64
    	TTFBAvgDuration uint64
    	DialErrs        uint64
    }
    
    // GetRPCStats returns RPC stats, include calls errors and dhcp/tcp metrics
    func GetRPCStats() RPCStats {
    	s := RPCStats{
    		Errs:     atomic.LoadUint64(&globalStats.errs),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 13 18:21:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. cmd/common-main_test.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 (
    	"errors"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func Test_readFromSecret(t *testing.T) {
    	testCases := []struct {
    		content       string
    		expectedErr   bool
    		expectedValue string
    	}{
    		{
    			"value\n",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (2)
  4. internal/config/subnet/subnet.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 subnet
    
    import (
    	"bytes"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"mime/multipart"
    	"net/http"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const (
    	respBodyLimit = 1 << 20 // 1 MiB
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. cmd/bitrot.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"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"hash"
    	"io"
    
    	"github.com/minio/highwayhash"
    	"github.com/minio/minio/internal/hash/sha256"
    	"golang.org/x/crypto/blake2b"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. cmd/config-common.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/hash"
    )
    
    var errConfigNotFound = errors.New("config file not found")
    
    func readConfigWithMetadata(ctx context.Context, store objectIO, configFile string, opts ObjectOptions) ([]byte, ObjectInfo, error) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

            }
          }
        } else {
          /*
           * We avoid Unsafe, since newer JVMs produce warnings or even errors for attempts to use it.
           *
           * In guava-jre, we avoid Unsafe by using VarHandle instead. But if we have references to
           * VarHandle in guava-android, even if they're unused under Android, we cause errors under
           * AGP: https://github.com/google/guava/issues/7769.
           *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    	aes128cbcID        = "aes128-cbc"
    	tripledescbcID     = "3des-cbc"
    )
    
    var (
    	errSFTPPublicKeyBadFormat = errors.New("the public key provided could not be parsed")
    	errSFTPUserHasNoPolicies  = errors.New("no policies present on this account")
    	errSFTPLDAPNotEnabled     = errors.New("ldap authentication is not enabled")
    )
    
    // if the sftp parameter --trusted-user-ca-key is set, then
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. internal/s3select/sql/value.go

    package sql
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"math"
    	"reflect"
    	"strconv"
    	"strings"
    	"time"
    	"unicode/utf8"
    )
    
    var (
    	errArithMismatchedTypes = errors.New("cannot perform arithmetic on mismatched types")
    	errArithInvalidOperator = errors.New("invalid arithmetic operator")
    	errArithDivideByZero    = errors.New("cannot divide by 0")
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    	v, ok := h["Content-Md5"]
    	if !ok {
    		return nil, nil
    	}
    	if v[0] == "" {
    		return nil, errors.New("etag: content-md5 is set but contains no value")
    	}
    	b, err := base64.StdEncoding.Strict().DecodeString(v[0])
    	if err != nil {
    		return nil, err
    	}
    	if len(b) != md5.Size {
    		return nil, errors.New("etag: invalid content-md5")
    	}
    	return ETag(b), nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top