Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 506 for dialect (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

        /**
         * @param sessionKey
         * @param dialect
         * @param preauthIntegrityHash
         * @throws GeneralSecurityException
         * 
         */
        public Smb2SigningDigest ( byte[] sessionKey, int dialect, byte[] preauthIntegrityHash ) throws GeneralSecurityException {
            Mac m;
            byte[] signingKey;
            switch ( dialect ) {
            case Smb2Constants.SMB2_DIALECT_0202:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

    
        /**
         * @return the securityMode
         */
        public int getSecurityMode () {
            return this.securityMode;
        }
    
    
        /**
         * @return the dialect
         */
        public int getDialect () {
            return this.dialect;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            for ( String dialect : this.dialects ) {
                bos.write(0x02);
                try {
                    bos.write(Strings.getASCIIBytes(dialect));
                }
                catch ( IOException e ) {
                    throw new RuntimeCIFSException(e);
                }
                bos.write(0x0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  9. 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)
  10. tests/connpool_test.go

    	c.got = append(c.got, query)
    	return c.db.QueryRowContext(ctx, query, args...)
    }
    
    func TestConnPoolWrapper(t *testing.T) {
    	dialect := os.Getenv("GORM_DIALECT")
    	if dialect != "mysql" {
    		t.SkipNow()
    	}
    
    	dbDSN := os.Getenv("GORM_DSN")
    	if dbDSN == "" {
    		dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top