Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 147 for Kull (0.13 sec)

  1. clause/expression_test.go

    			clause.Eq{Column: column, Value: (*bool)(nil)},
    			clause.Eq{Column: column, Value: (interface{})(nil)},
    			clause.Eq{Column: column, Value: sql.NullString{String: "", Valid: false}},
    		},
    		Result: "`column-name` IS NULL",
    	}, {
    		Expressions: []clause.Expression{
    			clause.Neq{Column: column, Value: "column-value"},
    		},
    		ExpectedVars: []interface{}{"column-value"},
    		Result:       "`column-name` <> ?",
    	}, {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Aug 10 05:34:33 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/expiration.go

    	}
    
    	return nil
    }
    
    // IsDaysNull returns true if days field is null
    func (e Expiration) IsDaysNull() bool {
    	return e.Days == ExpirationDays(0)
    }
    
    // IsDateNull returns true if date field is null
    func (e Expiration) IsDateNull() bool {
    	return e.Date.Time.IsZero()
    }
    
    // IsNull returns true if both date and days fields are null
    func (e Expiration) IsNull() bool {
    	return e.IsDaysNull() && e.IsDateNull()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  3. internal/bucket/replication/and.go

    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && a.Prefix == ""
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    	if a.ContainsDuplicateTag() {
    		return errDuplicateTagKey
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  4. misc/go_android_exec/exitcode_test.go

    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    	check("exitcode=123\n")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. internal/event/target/mysql.go

    	mysqlCreateNamespaceTable = `CREATE TABLE %s (
                 key_name VARCHAR(3072) NOT NULL,
                 key_hash CHAR(64) GENERATED ALWAYS AS (SHA2(key_name, 256)) STORED NOT NULL PRIMARY KEY,
                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    	mysqlCreateAccessTable = `CREATE TABLE %s (event_time DATETIME NOT NULL, event_data JSON)
                                        ROW_FORMAT = Dynamic;`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    	Int     *float64       `parser:" | @Int"` // To avoid value out of range, use float64 instead
    	String  *LiteralString `parser:" | @LitString"`
    	Boolean *Boolean       `parser:" | @(\"TRUE\" | \"FALSE\")"`
    	Null    bool           `parser:" | @\"NULL\""`
    	Missing bool           `parser:" | @\"MISSING\")"`
    }
    
    // Identifier represents a parsed identifier
    type Identifier struct {
    	Unquoted *string           `parser:"  @Ident"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/aggregation.go

    			} else {
    				return errNonNumericArg(funcName)
    			}
    		}
    	}
    
    	// Mark that we have seen one non-null value.
    	isFirstRow := false
    	if !e.aggregate.seen {
    		e.aggregate.seen = true
    		isFirstRow = true
    	}
    
    	switch funcName {
    	case aggFnCount:
    		// For all non-null values, the count is incremented.
    		e.aggregate.runningCount++
    
    	case aggFnAvg, aggFnSum:
    		e.aggregate.runningCount++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. cmd/generic-handlers.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if origin := w.Header().Get("Access-Control-Allow-Origin"); origin == "null" {
    			// This is a workaround change to ensure that "Origin: null"
    			// incoming request to a response back as "*" instead of "null"
    			w.Header().Set("Access-Control-Allow-Origin", "*")
    		}
    		if globalDNSConfig == nil || !globalBucketFederation ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. internal/s3select/sql/funceval.go

    	for _, arg := range args {
    		if arg.IsNull() {
    			continue
    		}
    		return arg, nil
    	}
    	return FromNull(), nil
    }
    
    func nullif(v1, v2 *Value) (res *Value, err error) {
    	// Handle Null cases
    	if v1.IsNull() || v2.IsNull() {
    		return v1, nil
    	}
    
    	err = inferTypesForCmp(v1, v2)
    	if err != nil {
    		return nil, err
    	}
    
    	atleastOneNumeric := v1.isNumeric() || v2.isNumeric()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  10. internal/config/dns/types.go

    	// Holds info about when the entry was created first.
    	CreationDate time.Time `json:"creationDate"`
    
    	// When a SRV record with a "Host: IP-address" is added, we synthesize
    	// a srv.Target domain name.  Normally we convert the full Key where
    	// the record lives to a DNS name and use this as the srv.Target. When
    	// TargetStrip > 0 we strip the left most TargetStrip labels from the
    	// DNS name.
    	TargetStrip int `json:"targetstrip,omitempty"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
Back to top