Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for dialects (0.22 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

                this.dialects = new String[] {
                    "SMB 2.???", "SMB 2.002"
                };
            }
            else if ( config.getMaximumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "NT LM 0.12", "SMB 2.???", "SMB 2.002"
                };
            }
            else {
                this.dialects = new String[] {
                    "NT LM 0.12"
                };
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);
            dstIndex += 2;
    
            for ( int dialect : this.dialects ) {
                SMBUtil.writeInt2(dialect, dst, dstIndex);
                dstIndex += 2;
            }
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                SMBUtil.writeInt2(this.negotiateContexts.length, dst, dstIndex + 4);
                SMBUtil.writeInt2(0, dst, dstIndex + 6);
            }
            dstIndex += 8;
    
            for ( int dialect : this.dialects ) {
                SMBUtil.writeInt2(dialect, dst, dstIndex);
                dstIndex += 2;
            }
    
            dstIndex += pad8(dstIndex);
    
            if ( this.negotiateContexts != null && this.negotiateContexts.length != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
            System.arraycopy( dialects, 0, dst, dstIndex, dialects.length );
            return dialects.length;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  5. tests/tests_all.sh

        fi
        cd ..
      fi
    fi
    
    
    for dialect in "${dialects[@]}" ; do
      if [ "$GORM_DIALECT" = "" ] || [ "$GORM_DIALECT" = "${dialect}" ]
      then
        echo "testing ${dialect}..."
    
        if [ "$GORM_VERBOSE" = "" ]
        then
          GORM_DIALECT=${dialect} go test -race -count=1 ./...
          if [ -d tests ]
          then
            cd tests
            GORM_DIALECT=${dialect} go test -race -count=1 ./...
            cd ..
          fi
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tests/gorm_test.go

    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. tests/sql_builder_test.go

    }
    
    func TestToSQL(t *testing.T) {
    	// By default DB.DryRun should false
    	if DB.DryRun {
    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    	date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local)
    
    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/DialectVersion.java

        private final boolean smb2;
        private final int dialect;
    
    
        /**
         * 
         */
        private DialectVersion () {
            this.smb2 = false;
            this.dialect = -1;
        }
    
    
        private DialectVersion ( int dialectId ) {
            this.smb2 = true;
            this.dialect = dialectId;
        }
    
    
        /**
         * @return the smb2
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  9. tests/error_translator_test.go

    	db, err := OpenTestConnection(&gorm.Config{TranslateError: true})
    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	dialectors := map[string]bool{"sqlite": true, "postgres": true, "mysql": true, "sqlserver": true}
    	if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) {
    		return
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    	if err = db.AutoMigrate(&City{}); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 12 13:21:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

        private Smb3KeyDerivation () {}
    
    
        /**
         * 
         * @param dialect
         * @param sessionKey
         * @param preauthIntegrity
         * @return derived signing key
         */
        public static byte[] deriveSigningKey ( int dialect, byte[] sessionKey, byte[] preauthIntegrity ) {
            return derive(
                sessionKey,
                dialect == Smb2Constants.SMB2_DIALECT_0311 ? SIGNLABEL_311 : SIGNLABEL_300,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
Back to top