Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for repo (0.33 sec)

  1. internal/s3select/sql/parser_test.go

    		// Object wildcard
    		".*",
    
    		// array wildcard
    		"[*]",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(j, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    func TestJSONPath(t *testing.T) {
    	p := participle.MustBuild(
    		&JSONPath{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    	case time.Time:
    		return "TIMESTAMP"
    	case []byte:
    		return "BYTES"
    	case []Value:
    		return "ARRAY"
    	case Missing:
    		return "MISSING"
    	}
    	return "--"
    }
    
    // Repr returns a string representation of value.
    func (v Value) Repr() string {
    	switch x := v.value.(type) {
    	case nil:
    		return ":NULL"
    	case bool, int64, float64:
    		return fmt.Sprintf("%v:%s", v.value, v.GetTypeString())
    	case time.Time:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    			if err != nil {
    				return err
    			}
    			err = xml.Unmarshal(replCfgSBytes, &replicationConfig)
    			if err != nil {
    				return err
    			}
    		}
    		var (
    			ruleID  = fmt.Sprintf("site-repl-%s", d)
    			hasRule bool
    		)
    		var ruleARN string
    		for _, r := range replicationConfig.Rules {
    			if r.ID == ruleID {
    				hasRule = true
    				ruleARN = r.Destination.Bucket
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. cmd/xl-storage.go

    			if sizeS.failedCount > 0 {
    				res["repl-failed"] = fmt.Sprintf("%d versions, %d bytes", sizeS.failedCount, sizeS.failedSize)
    			}
    			if sizeS.pendingCount > 0 {
    				res["repl-pending"] = fmt.Sprintf("%d versions, %d bytes", sizeS.pendingCount, sizeS.pendingSize)
    			}
    			for tgt, st := range sizeS.replTargetStats {
    				res["repl-size-"+tgt] = strconv.FormatInt(st.replicatedSize, 10)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top