- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for bear (0.16 sec)
-
cmd/admin-handlers-site-replication.go
if item.Policy == nil { err = globalSiteReplicationSys.PeerBucketPolicyHandler(ctx, item.Bucket, nil, item.UpdatedAt) } else { bktPolicy, berr := policy.ParseBucketPolicyConfig(bytes.NewReader(item.Policy), item.Bucket) if berr != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, berr), r.URL) return } if bktPolicy.IsEmpty() {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 15 09:40:39 GMT 2024 - 19.4K bytes - Viewed (0) -
internal/store/queuestore_test.go
return nil, oErr } return queueStore, nil } // Tear down queue store. func tearDownQueueStore() error { return os.RemoveAll(queueDir) } // TestQueueStorePut - tests for store.Put func TestQueueStorePut(t *testing.T) { defer func() { if err := tearDownQueueStore(); err != nil { t.Fatal("Failed to tear down store ", err) } }() store, err := setUpQueueStore(queueDir, 100)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Apr 04 17:52:24 GMT 2023 - 5.9K bytes - Viewed (0) -
src/archive/tar/tar_test.go
formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{Xattrs: map[string]string{"foo": "bar"}}, paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"}, formats: FormatPAX, }, { header: &Header{Xattrs: map[string]string{"foo": "bar"}, Format: FormatGNU}, paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"}, formats: FormatUnknown, }, { header: &Header{Xattrs: map[string]string{"用戶名": "\x00hello"}},
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24K bytes - Viewed (0) -
tests/sql_builder_test.go
return tx.Model(&User{}).Where("id = ?", 100).Update("name", "Foo bar") }) assertEqualSQL(t, `UPDATE "users" SET "name"='Foo bar',"updated_at"='2021-10-18 19:50:09.438' WHERE id = 100 AND "users"."deleted_at" IS NULL`, sql) // UpdateColumn sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB { return tx.Model(&User{}).Where("id = ?", 100).UpdateColumn("name", "Foo bar") })
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 16.7K bytes - Viewed (0) -
internal/s3select/sql/parser.go
Quantity *Operand `parser:" @@ \",\""` Timestamp *PrimaryTerm `parser:" @@ \")\""` } // DateDiffFunc represents the DATE_DIFF function type DateDiffFunc struct {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Viewed (0) -
cmd/utils_test.go
{[]string{"", ""}, ""}, {[]string{"a", "b"}, ""}, {[]string{"a", "a"}, "a"}, {[]string{"a/", "a/"}, "a/"}, {[]string{"abcd/", ""}, ""}, {[]string{"abcd/foo/", "abcd/bar/"}, "abcd/"}, {[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"}, } for i, test := range testCases { foundPrefix := lcp(test.prefixes, true) if foundPrefix != test.commonPrefix {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Feb 23 21:28:14 GMT 2024 - 10.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue29563/weak.go
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 277 bytes - Viewed (0) -
cmd/build-constants.go
// CommitID - latest commit id. CommitID = "DEVELOPMENT.GOGET" // ShortCommitID - first 12 characters from CommitID. ShortCommitID = "DEVELOPMENT.GOGET" // CopyrightYear - dynamic value of the copyright end year CopyrightYear = "0000" // MinioReleaseTagTimeLayout - release tag time layout. MinioReleaseTagTimeLayout = "2006-01-02T15-04-05Z" // MinioOSARCH - OS and ARCH. minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Mar 12 00:54:37 GMT 2024 - 2.2K bytes - Viewed (0) -
src/archive/tar/writer_test.go
if !bytes.Contains(buf.Bytes(), []byte("PaxHeaders.0")) { t.Fatal("Expected at least one PAX header to be written.") } // xattr bar should always appear before others indices := []int{ bytes.Index(buf.Bytes(), []byte("bar=bar")), bytes.Index(buf.Bytes(), []byte("baz=baz")), bytes.Index(buf.Bytes(), []byte("foo=foo")), bytes.Index(buf.Bytes(), []byte("qux=qux")), }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0) -
tests/associations_test.go
id := uint(100) user := AssociationEmptyUser{ ID: id, Name: "jinzhu", Pets: []AssociationEmptyPet{ {AssociationEmptyUserID: &id, Name: "bar"}, {AssociationEmptyUserID: &id, Name: "foo"}, }, } err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Create(&user).Error if err != nil { t.Fatalf("Failed to create, got error: %v", err)
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Wed Feb 08 08:29:09 GMT 2023 - 10.9K bytes - Viewed (0)