- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 609 for onlyIf (0.05 seconds)
-
src/bytes/bytes_test.go
}) b.Run("Cyrillic", func(b *testing.B) { // Cyrillic is mostly 2 and 3 byte runes. benchBytes(b, indexSizes, bmIndexRuneUnicode(unicode.Cyrillic, 'Ꙁ')) }) b.Run("Han", func(b *testing.B) { // Han consists only of 3 and 4 byte runes. benchBytes(b, indexSizes, bmIndexRuneUnicode(unicode.Han, '𠀿')) }) } func bmIndexRuneASCII(index func([]byte, rune) int) func(b *testing.B, n int) { return func(b *testing.B, n int) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
generics.go
Updates(ctx context.Context, t T) (rowsAffected int, err error) Count(ctx context.Context, column string) (result int64, err error) } // SetUpdateOnlyInterface is returned by Set after chaining; only Update is allowed type SetUpdateOnlyInterface[T any] interface { Update(ctx context.Context) (rowsAffected int, err error) } // SetCreateOrUpdateInterface is returned by Set at start; Create or Update are allowed
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0) -
migrator/migrator.go
return nil // skip primary key } // By default, ColumnType's Unique is not affected by UniqueIndex, so we don't care about UniqueIndex. return m.RunWithValue(value, func(stmt *gorm.Statement) error { // We're currently only receiving boolean values on `Unique` tag, // so the UniqueConstraint name is fixed constraint := m.DB.NamingStrategy.UniqueName(stmt.Table, field.DBName) if unique && !field.Unique {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:31:09 GMT 2025 - 29.7K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
isDelMarker: true, expectedAction: DeleteVersionAction, }, // Should not expire a delete marker; ExpiredObjectDeleteAllVersions applies only when current version is not a DEL marker. {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
file. package ecdsa import ( "bytes" "crypto/internal/fips140" "crypto/internal/fips140/hmac" "hash" ) // hmacDRBG is an SP 800-90A Rev. 1 HMAC_DRBG. // // It is only intended to be used to generate ECDSA nonces. Since it will be // instantiated ex-novo for each signature, its Generate function will only be // invoked once or twice (only for P-256, with probability 2⁻³²). // // Per Table 2, it has a reseed interval of 2^48 requests, and a maximum request // size of 2^19 bits (2^16 bytes, 64 KiB)....
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
cmd/metacache-entries_test.go
m: metaCacheEntries{inputSerialized[0], inputSerialized[0], inputSerialized[0], inputSerialized[2]}, r: metadataResolutionParams{dirQuorum: 1, objQuorum: 1, strict: true}, // We get the both versions, since we only request quorum 1 wantSelected: &inputSerialized[2], wantOk: true, }, { name: "additional version, quorum two",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 31.6K bytes - Click Count (0) -
cmd/storage-rest-client.go
return stat, toStorageErr(err) } // ReadMultiple will read multiple files and send each back as response. // Files are read and returned in the given order. // The resp channel is closed before the call returns. // Only a canceled context or network errors returns an error. func (client *storageRESTClient) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error { defer xioutil.SafeClose(resp)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
tests/create_test.go
AssertEqual(t, u2.Email, "on-conflict-user-email-2") AssertEqual(t, u2.Mobile, "133xxxx") } func TestCreateFromMapWithoutPK(t *testing.T) { if !isMysql() { t.Skipf("This test case skipped, because of only supporting for mysql") } // case 1: one record, create from map[string]interface{} mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1}
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
tests/preload_suits_test.go
t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment") } if name := DB.Dialector.Name(); name == "mysql" { t.Skip("skip mysql due to it only allow unique constraint matching given keys") } type ( Level1 struct { ID uint `gorm:"primary_key;"` LanguageCode string `gorm:"primary_key"` Value string }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jun 05 11:34:13 GMT 2025 - 30.4K bytes - Click Count (0) -
cmd/common-main.go
gob.Register(madmin.TimeInfo{}) gob.Register(madmin.XFSErrorConfigs{}) gob.Register(map[string]string{}) gob.Register(map[string]any{}) // All minio-go and madmin-go API operations shall be performed only once, // another way to look at this is we are turning off retries. minio.MaxRetry = 1 madmin.MaxRetry = 1 currentReleaseTime, _ = GetCurrentReleaseTime() } const consolePrefix = "CONSOLE_"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.5K bytes - Click Count (3)