Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ok1b (0.16 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. cmd/site-replication-utils.go

    }
    
    // Status returns current in-memory resync status for this deployment
    func (sm *siteResyncMetrics) status(dID string) (rs SiteResyncStatus, err error) {
    	sm.RLock()
    	defer sm.RUnlock()
    	if rst, ok1 := sm.peerResyncMap[dID]; ok1 {
    		if st, ok2 := sm.resyncStatus[rst.resyncID]; ok2 {
    			return st.clone(), nil
    		}
    	}
    	return rs, errSRNoResync
    }
    
    // Status returns latest resync status for this deployment
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. 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)
  7. kotlin-js-store/yarn.lock

    browserslist@^4.14.5:
      version "4.20.4"
      resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.20.4.tgz#98096c9042af689ee1e0271333dbc564b8ce4477"
      integrity sha512-ok1d+1WpnU24XYN7oC3QWgTyMhY/avPJ/r9T00xxvUOIparA/gc+UPUMaod3i+G6s+nI2nUb9xZ5k794uIwShw==
      dependencies:
        caniuse-lite "^1.0.30001349"
        electron-to-chromium "^1.4.147"
        escalade "^3.1.1"
        node-releases "^2.0.5"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  8. internal/s3select/csv/testdata/testdata.zip

    South,3804,911,251,1,Manhattan,025100 invalid-badbarequote.csv header1,header2,header3 ok1,ok2,ok3 a "word","b" invalid-baddoubleq.csv header1,header2,header3 ok1,ok2,ok3 a""b,c invalid-badextraq.csv header1,header2,header3 ok1,ok2,ok3 "a word",b" invalid-badstartline.csv header1,header2,header3 ok1,ok2,ok3 a,"b c"d,e invalid-badstartline2.csv header1,header2,header3 ok1,ok2,ok3 a,b "d e invalid-badtrailingq.csv header1,header2,header3 ok1,ok2,ok3 "a word",b" invalid-crlfquoted.csv header1,header2,header3 ok1,ok2,ok3...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 111.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    			// load (and convert) version.
    			version, err := x.getIdx(i)
    			if err == nil {
    				// Only reindex if set.
    				_, ok1 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp]
    				_, ok2 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp]
    				if ok1 || ok2 {
    					meta, err := version.MarshalMsg(make([]byte, 0, len(ver.meta)+10))
    					if err == nil {
    						// Override both if fine.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. cmd/site-replication.go

    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	err := objAPI.MakeBucket(ctx, bucket, opts)
    	if err != nil {
    		// Check if this is a bucket exists error.
    		_, ok1 := err.(BucketExists)
    		_, ok2 := err.(BucketAlreadyExists)
    		if !ok1 && !ok2 {
    			return wrapSRErr(c.annotateErr(makeBucketWithVersion, err))
    		}
    	} else {
    		// Load updated bucket metadata into memory as new
    		// bucket was created.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top