Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 53 for dialects (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
    
            final Smb2NegotiateResponse resp = (Smb2NegotiateResponse) this.negotiated;
            final DialectVersion dialect = resp.getSelectedDialect();
            int cipherId = -1;
    
            if (dialect.atLeast(DialectVersion.SMB311)) {
                cipherId = resp.getSelectedCipher();
                if (cipherId == -1) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/config/PropertyConfiguration.java

                this.nativeOs = value;
            }
    
            value = props.getProperty("jcifs.smb.client.nativeLanMan");
            if (value != null) {
                this.nativeLanMan = value;
            }
    
            // Dialect version properties - these should throw exceptions for invalid values
            String minVersion = props.getProperty("jcifs.smb.client.minVersion");
            String maxVersion = props.getProperty("jcifs.smb.client.maxVersion");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        @Override
        public boolean canReuse(final CIFSContext tc, final boolean forceSigning) {
            return this.getConfig().equals(tc.getConfig());
        }
    
        /**
         * Returns the index of the selected SMB dialect from the negotiation.
         *
         * @return the dialectIndex
         */
        public int getDialectIndex() {
            return this.dialectIndex;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. 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)
  5. callbacks.go

    			sql, vars := stmt.SQL.String(), stmt.Vars
    			if filter, ok := db.Logger.(ParamsFilter); ok {
    				sql, vars = filter.ParamsFilter(stmt.Context, stmt.SQL.String(), stmt.Vars...)
    			}
    			return db.Dialector.Explain(sql, vars...), db.RowsAffected
    		}, db.Error)
    	}
    
    	if !stmt.DB.DryRun {
    		stmt.SQL.Reset()
    		stmt.Vars = nil
    	}
    
    	if resetBuildClauses {
    		stmt.BuildClauses = nil
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:26:07 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. callbacks/query.go

    											vars := onStmt.Vars
    											for idx, v := range vars {
    												bindvar := strings.Builder{}
    												onStmt.Vars = vars[0 : idx+1]
    												db.Dialector.BindVarTo(&bindvar, &onStmt, v)
    												onSQL = strings.Replace(onSQL, bindvar.String(), "?", 1)
    											}
    
    											exprs = append(exprs, clause.Expr{SQL: onSQL, Vars: vars})
    										}
    									}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (3)
  7. tests/associations_test.go

    	AssociationEmptyUserID *uint  `gorm:"uniqueIndex:uniq_user_id_name"`
    	Name                   string `gorm:"uniqueIndex:uniq_user_id_name;size:256"`
    }
    
    func TestAssociationEmptyPrimaryKey(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    		t.Skip()
    	}
    	DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    	DB.AutoMigrate(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    
    	id := uint(100)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. finisher_api.go

    			db.AddError(committer.Rollback())
    		}
    	} else {
    		db.AddError(ErrInvalidTransaction)
    	}
    	return db
    }
    
    func (db *DB) SavePoint(name string) *DB {
    	if savePointer, ok := db.Dialector.(SavePointerDialectorInterface); ok {
    		// close prepared statement, because SavePoint not support prepared statement.
    		// e.g. mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html
    		var (
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                negotiate(altPort, resp);
                port = altPort;
            }
    
            if (resp.dialectIndex > 10) {
                throw new SmbException("This client does not support the negotiated dialect.");
            }
            if ((server.capabilities & CAP_EXTENDED_SECURITY) != CAP_EXTENDED_SECURITY && server.encryptionKeyLength != 8
                    && LM_COMPATIBILITY == 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  10. tests/upsert_test.go

    	}
    
    	var result Language
    	if err := DB.Find(&result, "code = ?", lang.Code).Error; err != nil || result.Name != lang.Name {
    		t.Fatalf("failed to upsert, got name %v", result.Name)
    	}
    
    	if name := DB.Dialector.Name(); name != "sqlserver" {
    		type RestrictedLanguage struct {
    			Code string `gorm:"primarykey"`
    			Name string
    			Lang string `gorm:"<-:create"`
    		}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top