Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ok1s (0.02 sec)

  1. internal/s3select/sql/value.go

    		return stringCompare(op, strV, strA), nil
    	}
    
    	boolV, ok1b := v.ToBool()
    	boolA, ok2b := a.ToBool()
    	if ok1b && ok2b {
    		return boolCompare(op, boolV, boolA)
    	}
    
    	timestampV, ok1t := v.ToTimestamp()
    	timestampA, ok2t := a.ToTimestamp()
    	if ok1t && ok2t {
    		return timestampCompare(op, timestampV, timestampA), nil
    	}
    
    	// Types cannot be compared, they do not match.
    	switch op {
    	case opEq:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  2. internal/s3select/csv/reader_contrib_test.go

    			wantFields:      "ok1,ok2,ok3\n" + `a word,"b"""` + "\n",
    			wantErr:         io.EOF,
    		},
    		{
    			// This works since LazyQuotes is true:
    			file:            "invalid-badstartline.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			sendErr:         nil,
    			header:          true,
    			wantColumns:     []string{"header1", "header2", "header3"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    			testWrite{"Kilts", 5, nil},
    			testHeader{Header{Name: "dir/"}, nil},
    			testClose{nil},
    		},
    	}}
    
    	equalError := func(x, y error) bool {
    		_, ok1 := x.(headerError)
    		_, ok2 := y.(headerError)
    		if ok1 || ok2 {
    			return ok1 && ok2
    		}
    		return x == y
    	}
    	for _, v := range vectors {
    		t.Run(path.Base(v.file), func(t *testing.T) {
    			const maxSize = 10 << 10 // 10KiB
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. cmd/erasure-metadata_test.go

    		test := test
    		t.Run("", func(t *testing.T) {
    			fi, err := findFileInfoInQuorum(context.Background(), test.fis, test.modTime, "", test.expectedQuorum)
    			_, ok1 := err.(InsufficientReadQuorum)
    			_, ok2 := test.expectedErr.(InsufficientReadQuorum)
    			if ok1 != ok2 {
    				t.Errorf("Expected %s, got %s", test.expectedErr, err)
    			}
    			if test.succmodTimes != nil {
    				if !test.expectedSuccModTime.Equal(fi.SuccessorModTime) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	}
    	return fi.Erasure.DataBlocks
    }
    
    // Equals checks if fi(FileInfo) matches ofi(FileInfo)
    func (fi FileInfo) Equals(ofi FileInfo) (ok bool) {
    	typ1, ok1 := crypto.IsEncrypted(fi.Metadata)
    	typ2, ok2 := crypto.IsEncrypted(ofi.Metadata)
    	if ok1 != ok2 {
    		return false
    	}
    	if typ1 != typ2 {
    		return false
    	}
    	if fi.IsCompressed() != ofi.IsCompressed() {
    		return false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/testdata/xl-meta-merge.zip

    ¼ GTBwÖºwmeqˆqyX`ªýh²sex»llo¸t1 l <qI=2 yl^w{nºlJYÙsGT–ˆ ñQTN¼EñW\¬[E~ˆæroG}ïP„Vyª˜PN^H¨1±‰„… Ž°˜¨ ’?Š‚Œ ¾^yº}nUÃÖ ¾añYT¼ÕG\|GÖˆhiÕ¨_|{Hnuf¼}ßOC}I[êwd~ËèÌÂÐþ’W" ¨¾ qê› ¼ÖUhQªmyx]ñZe¤ëv¢pizìos´Zw~ܤBUŽJeNã[^N¬ˆûx¼coßúKg & :{„IrUíÕ ¾q¼}ÐmåU` å¤toxzª{ÕKŠ|«¥y òKmôG§iì|HI}Õz¢Za²LqåU¾ã ExGEÏôåÇ ÕîüóööÁÑÝ ÃÒÐ Rm^ܪÀÐ%·¹ jSbé}°Vñ„{oZÕ}He^ÔÂ?ip 7<Ö rQÖig@ÕŠ@\ñqEeÖäG{KI_q ~qÓYK_^}ªÜuŠZneˆCéò@[qATgì¾Q{\\Gp8ÐsJT ¼_¬A”ªà»†“2–¬Œš™’£ Žl;ˆL{ jsò;ñT`_EUró¸twoXÕwvs RipB2¦ gn ˆß IG¼Røm¼Jñ3úèeiu€s~² (ªãDrHwÍÕ† V åyLûG|ªû(²@*1...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top