- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 587 for parseAI (0.11 sec)
-
callbacks/create_test.go
type user struct { ID int `gorm:"primaryKey"` Name string Email string `gorm:"default:(-)"` Age int `gorm:"default:(-)"` } s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{}) if err != nil { t.Errorf("parse schema error: %v, is not expected", err) return } dest := []*user{ { ID: 1, Name: "alice", Email: "email", Age: 18, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
internal/kms/secret-key.go
"golang.org/x/crypto/chacha20" "golang.org/x/crypto/chacha20poly1305" "github.com/minio/kms-go/kms" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/hash/sha256" ) // ParseSecretKey parses s as <key-id>:<base64> and returns a // KMS that uses s as builtin single key as KMS implementation. func ParseSecretKey(s string) (*KMS, error) { v := strings.SplitN(s, ":", 2) if len(v) != 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
tests/table_test.go
} t.Run("default", func(t *testing.T) { db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{}) user, err := schema.Parse(&LongString{}, &sync.Map{}, db.Config.NamingStrategy) if err != nil { t.Fatalf("failed to parse user unique, got error %v", err) } constraints := user.ParseUniqueConstraints() if len(constraints) != 1 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K bytes - Viewed (0) -
schema/constraint.go
func (chk *CheckConstraint) Build() (sql string, vars []interface{}) { return "CONSTRAINT ? CHECK (?)", []interface{}{clause.Column{Name: chk.Name}, clause.Expr{SQL: chk.Constraint}} } // ParseCheckConstraints parse schema check constraints func (schema *Schema) ParseCheckConstraints() map[string]CheckConstraint { checks := map[string]CheckConstraint{} for _, field := range schema.FieldsByDBName {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 07:33:54 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/bucket-targets.go
if uuid == "" { uuid = mustGetUUID() } arn := madmin.ARN{ Type: t.Type, ID: uuid, Region: t.Region, Bucket: t.TargetBucket, } return arn.String() } // Returns parsed target config. If KMS is configured, remote target is decrypted func parseBucketTargetConfig(bucket string, cdata, cmetadata []byte) (*madmin.BucketTargets, error) { var ( data []byte err error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 20.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } } protected void reload(final StemmerOverrideUpdater updater, final InputStream in) { final Pattern parsePattern = Pattern.compile("(.*)\\s*=>\\s*(.*)\\s*$");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.6K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java
* These classes use * <a href="https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/package-summary.html">plexus-utils' * XML Pull Parser API</a> for their internal XML handling and * <a href="https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/Xpp3DomBuilder.html">Xpp3DomBuilder</a> +
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 750 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
import java.net.HttpCookie import java.net.HttpURLConnection import java.net.InetAddress import java.net.URI import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.Cookie.Companion.parse import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.java.net.cookiejar.JavaNetCookieJar import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
pubKeys: pubKeys, arnProviderCfgsMap: map[arn.ARN]*providerCfg{ DummyRoleARN: &provider, }, ProviderCfgs: map[string]*providerCfg{ "1": &provider, }, } u, err := url.Parse("http://127.0.0.1:8443/?Token=invalid") if err != nil { t.Fatal(err) } var claims jwtgo.MapClaims if err = cfg.Validate(context.Background(), DummyRoleARN, u.Query().Get("Token"), "", "", claims); err == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.3K 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)