- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 1,387 for funcs (0.04 sec)
-
src/cmd/api/testdata/src/issue21181/p/p.go
package p import ( "dep" ) type algo struct { indrt func(dep.Interface)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 05 17:53:43 UTC 2018 - 78 bytes - Viewed (0) -
cmd/acl-handlers.go
} // PutBucketACLHandler - PUT Bucket ACL // ----------------- // This operation uses the ACL subresource // to set ACL for a bucket, this is a dummy call // only responds success if the ACL is private. func (api objectAPIHandlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "PutBucketACL") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) vars := mux.Vars(r)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/s3select/simdj/reader_amd64_test.go
return js } var testCases = []struct { name string array bool }{ { name: "parking-citations-10", }, } func TestNDJSON(t *testing.T) { if !simdjson.SupportedCPU() { t.Skip("Unsupported cpu") } for _, tt := range testCases { t.Run(tt.name, func(t *testing.T) { ref := loadCompressed(t, tt.name) var err error dst := make(chan simdjson.Object, 100)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.9K bytes - Viewed (0) -
cmd/data-usage-utils.go
Type: globalTierConfigMgr.TierType(tier), Stats: stats, }) } sort.Slice(infos, func(i, j int) bool { if infos[i].Type == "internal" { return true } if infos[j].Type == "internal" { return false } return infos[i].Name < infos[j].Name }) return infos } func (dui DataUsageInfo) tierMetrics() (metrics []MetricV2) { if dui.TierStats == nil { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 6.4K bytes - Viewed (0) -
internal/kms/conn.go
MinKES // MinIO MinKES Builtin // Builtin single key KMS implementation ) // Type identifies the KMS type. type Type uint // String returns the Type's string representation func (t Type) String() string { switch t { case MinKMS: return "MinIO KMS" case MinKES: return "MinIO KES" case Builtin: return "MinIO builtin" default: return "!INVALID:" + strconv.Itoa(int(t))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 5K bytes - Viewed (0) -
clause/benchmarks_test.go
package clause_test import ( "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func BenchmarkSelect(b *testing.B) { user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy) for i := 0; i < b.N; i++ { stmt := gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Oct 07 12:14:14 UTC 2022 - 1.9K bytes - Viewed (0) -
internal/config/compress/compress_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package compress import ( "reflect" "testing" ) func TestParseCompressIncludes(t *testing.T) { testCases := []struct { str string expectedPatterns []string success bool }{ // invalid input {",,,", []string{}, false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
internal/kms/secret-key_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package kms import ( "bytes" "context" "encoding/base64" "testing" ) func TestSingleKeyRoundtrip(t *testing.T) { KMS, err := ParseSecretKey("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=") if err != nil { t.Fatalf("Failed to initialize KMS: %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/bucket-encryption.go
type BucketSSEConfigSys struct{} // NewBucketSSEConfigSys - Creates an empty in-memory bucket encryption configuration cache func NewBucketSSEConfigSys() *BucketSSEConfigSys { return &BucketSSEConfigSys{} } // Get - gets bucket encryption config for the given bucket. func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) { sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 1.7K bytes - Viewed (0) -
tests/upsert_test.go
package tests_test import ( "regexp" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestUpsert(t *testing.T) { lang := Language{Code: "upsert", Name: "Upsert"} if err := DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&lang).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } lang2 := Language{Code: "upsert", Name: "Upsert"}
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0)