- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 45 for dialectors (0.05 seconds)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
DialectVersion.range(DialectVersion.max(DialectVersion.SMB202, config.getMinimumVersion()), config.getMaximumVersion()); this.dialects = new int[dvs.size()]; int i = 0; for (final DialectVersion ver : dvs) { this.dialects[i] = ver.getDialect(); i++; } if (config.getMaximumVersion().atLeast(DialectVersion.SMB210)) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/serializer_test.go
EncryptedString EncryptedString } func (*SerializerPostgresStruct) TableName() string { return "serializer_structs" } func adaptorSerializerModel(s *SerializerStruct) interface{} { if DB.Dialector.Name() == "postgres" || DB.Dialector.Name() == "gaussdb" { sps := SerializerPostgresStruct(*s) return &sps } return s } type Roles []string type Job struct { Title string Number int Location string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/update_test.go
} } // only sqlite, postgres, gaussdb, sqlserver support returning func TestUpdateReturning(t *testing.T) { if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" && DB.Dialector.Name() != "sqlserver" { return } users := []*User{ GetUser("update-returning-1", Config{}), GetUser("update-returning-2", Config{}),
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
tests/table_test.go
t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } r = dryDB.Create(&UserWithTable{}).Statement if DB.Dialector.Name() != "sqlite" { if !regexp.MustCompile(`INSERT INTO .gorm.\..user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
tests/chainable_api_test.go
package tests import ( "context" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" ) // testDialector is a minimal Dialector implementation used only for unit tests in-memory. type testDialector struct{} func (d testDialector) Name() string { return "test" } func (d testDialector) Initialize(*gorm.DB) error { return nil }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jan 31 08:39:40 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
assertTrue(result.contains("wordCount=0"), "String should contain wordCount=0"); assertTrue(result.contains("dialects=NT LM 0.12]"), "String should contain dialects=NT LM 0.12]"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
assertEquals(16, signingKey.length, "Should still produce 16-byte key"); } @ParameterizedTest @ValueSource(ints = { 0x0300, 0x0302, 0x0310 }) // Non-3.1.1 dialects @DisplayName("Should use SMB 3.0.x context for non-3.1.1 dialects") void testDeriveKeys_NonSMB311Dialects(int dialect) { // When byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
schema/schema.go
callbackTypeBeforeDelete, callbackTypeAfterDelete, callbackTypeAfterFind, } // Parse get data type from dialector func Parse(dest interface{}, cacheStore *sync.Map, namer Namer) (*Schema, error) { return ParseWithSpecialTableName(dest, cacheStore, namer, "") } // ParseWithSpecialTableName get data type from dialector with extra schema table
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
@DisplayName("All specific dialects should be greater than or equal to SMB 2.0.2") void testDialectVersionProgression(int dialect) { assertTrue(dialect >= Smb2Constants.SMB2_DIALECT_0202, "Dialect " + String.format("0x%04X", dialect) + " should be >= SMB 2.0.2"); } @Test @DisplayName("Dialects should be in ascending order")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
migrator.go
) // Migrator returns migrator func (db *DB) Migrator() Migrator { tx := db.getInstance() // apply scopes to migrator for len(tx.Statement.scopes) > 0 { tx = tx.executeScopes() } return tx.Dialector.Migrator(tx.Session(&Session{})) } // AutoMigrate run auto migration for given models func (db *DB) AutoMigrate(dst ...interface{}) error { return db.Migrator().AutoMigrate(dst...) } // ViewOption view option
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Click Count (0)