Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Truong (0.16 sec)

  1. internal/config/compress/legacy.go

    	"github.com/minio/minio/internal/config"
    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    	// so keep them here to support existing deployments.
    	EnvCompressAllowEncryptionLegacy = "MINIO_COMPRESS_ALLOW_ENCRYPTION"
    	EnvCompressExtensionsLegacy      = "MINIO_COMPRESS_EXTENSIONS"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  2. src/bytes/compare_test.go

    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    	// randomish but deterministic data. No 0 or 255.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  3. internal/disk/stat_linux_s390x.go

    		Free:   uint64(s.Frsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Type),
    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (2)
  4. cmd/xl-storage-format-v2_test.go

    	if v0.header.Signature != wantSig {
    		t.Errorf("Wrong signature, want %#v, got %#v", wantSig, v0.header.Signature)
    	}
    	v, err := xl.getIdx(0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	wantTimeStamp := "2022-10-27T07:40:53.195813291Z"
    	got := string(v.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp])
    	if wantTimeStamp != got {
    		t.Errorf("Wrong timestamp, want %v, got %v", wantTimeStamp, got)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    			// If we get to this point and have a pod that really and truly has no IP in either of those,
    			// it's not routable at this point and something is wrong/we should discard this event.
    			podIPs := util.GetPodIPsIfPresent(pod)
    			if len(podIPs) == 0 {
    				log.Warnf("pod %s does not appear to have any assigned IPs, not capturing", pod.Name)
    				return nil
    			}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    		return nil, errInvalidASTNode
    	}
    	rhs = *eltVal
    
    	// If RHS is array compare each element.
    	if arr, ok := rhs.ToArray(); ok {
    		for _, element := range arr {
    			// If we have an array we are on the wrong level.
    			if cmp(element, *lhs) {
    				return FromBool(true), nil
    			}
    		}
    		return FromBool(false), nil
    	}
    
    	return FromBool(cmp(rhs, *lhs)), nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    			if s.ErrOrEOF() != io.EOF {
    				t.Fatal("not testing EOF")
    			}
    			err = testError
    		}
    		return
    	}
    	s.Split(split)
    	for s.Scan() {
    	}
    	if s.Err() != testError {
    		t.Fatal("wrong error:", s.Err())
    	}
    }
    
    // Test for issue 5268.
    type alwaysError struct{}
    
    func (alwaysError) Read(p []byte) (int, error) {
    	return 0, io.ErrUnexpectedEOF
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    	"os/exec"
    	"os/signal"
    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    )
    
    func adbRun(args string) (int, error) {
    	// The exit code of adb is often wrong. In theory it was fixed in 2016
    	// (https://code.google.com/p/android/issues/detail?id=3254), but it's
    	// still broken on our builders in 2023. Instead, append the exitcode to
    	// the output and parse it from there.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    			// Prior to Go1.8, the Writer had a bug where it would output
    			// an invalid tar file in certain rare situations because the logic
    			// incorrectly believed that the old GNU format had a prefix field.
    			// This is wrong and leads to an output file that mangles the
    			// atime and ctime fields, which are often left unused.
    			//
    			// In order to continue reading tar files created by former, buggy
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. tests/query_test.go

    		*GetUser("find_in_batches_with_error", Config{}),
    	}
    
    	DB.Create(&users)
    
    	var (
    		results    []User
    		totalBatch int
    	)
    
    	if result := DB.Table("wrong_table").Where("name = ?", users[0].Name).FindInBatches(&results, 2, func(tx *gorm.DB, batch int) error {
    		totalBatch += batch
    		return nil
    	}); result.Error == nil || result.RowsAffected > 0 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
Back to top