- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,179 for FUNC (0.02 sec)
-
internal/bucket/replication/filter.go
cachedTags map[string]string } // IsEmpty returns true if filter is not set func (f Filter) IsEmpty() bool { return f.And.isEmpty() && f.Tag.IsEmpty() && f.Prefix == "" } // MarshalXML - produces the xml representation of the Filter struct // only one of Prefix, And and Tag should be present in the output. func (f Filter) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 28 18:25:46 UTC 2022 - 3.5K bytes - Viewed (0) -
clause/order_by.go
Column Column Desc bool Reorder bool } type OrderBy struct { Columns []OrderByColumn Expression Expression } // Name where clause name func (orderBy OrderBy) Name() string { return "ORDER BY" } // Build build where clause func (orderBy OrderBy) Build(builder Builder) { if orderBy.Expression != nil { orderBy.Expression.Build(builder) } else { for idx, column := range orderBy.Columns {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Nov 03 02:30:05 UTC 2020 - 1.1K bytes - Viewed (0) -
internal/bucket/lifecycle/tag.go
default: return errUnknownXMLTag } } } return nil } func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag. func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 2.4K bytes - Viewed (0) -
cmd/api-resources.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "encoding/base64" "net/url" "strconv" ) // Parse bucket url queries func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) { errCode = ErrNone if values.Get("max-keys") != "" { var err error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 07 18:25:26 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/site-replication-metrics_gen.go
} } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z RStat) Msgsize() (s int) { s = 1 + 6 + msgp.Int64Size + 6 + msgp.Int64Size return } // DecodeMsg implements msgp.Decodable func (z *RTimedMetrics) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 40.6K bytes - Viewed (0) -
clause/returning_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestReturning(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}, clause.Returning{ []clause.Column{clause.PrimaryColumn}, }}, "SELECT * FROM `users` RETURNING `users`.`id`", nil, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Jun 02 01:18:01 UTC 2020 - 845 bytes - Viewed (0) -
cmd/rebalancemetric_string.go
// Code generated by "stringer -type=rebalanceMetric -trimprefix=rebalanceMetric erasure-server-pool-rebalance.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[rebalanceMetricRebalanceBuckets-0] _ = x[rebalanceMetricRebalanceBucket-1]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 988 bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen_test.go
t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgrebalanceInfo(b *testing.B) { v := rebalanceInfo{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgrebalanceInfo(b *testing.B) { v := rebalanceInfo{} bts := make([]byte, 0, v.Msgsize())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 11K bytes - Viewed (0) -
clause/group_by_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestGroupBy(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{ Columns: []clause.Column{{Name: "role"}}, Having: []clause.Expression{clause.Eq{"role", "admin"}}, }},
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.1K bytes - Viewed (0) -
cmd/http-stats.go
} // Increase internode total input bytes func (s *connStats) incInternodeInputBytes(n int64) { atomic.AddUint64(&s.internodeInputBytes, uint64(n)) } // Increase internode total output bytes func (s *connStats) incInternodeOutputBytes(n int64) { atomic.AddUint64(&s.internodeOutputBytes, uint64(n)) } // Return internode total input bytes func (s *connStats) getInternodeInputBytes() uint64 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 11.4K bytes - Viewed (0)