Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 67 for dialects (0.1 seconds)

  1. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

                    dialect == Smb2Constants.SMB2_DIALECT_0311 ? preauthIntegrity : SIGNCONTEXT_300);
        }
    
        /**
         * Derives the SMB3 application key from the session key using the appropriate KDF for the dialect.
         *
         * @param dialect the SMB dialect version
         * @param sessionKey the base session key
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         *            negotiated cipher identifier
         * @param dialect
         *            SMB dialect version
         * @param encryptionKey
         *            key for client->server encryption
         * @param decryptionKey
         *            key for server->client decryption
         */
        public Smb2EncryptionContext(final int cipherId, final DialectVersion dialect, final byte[] encryptionKey, final byte[] decryptionKey) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/DialectVersionTest.java

                    assertTrue(dialectCodes.add(dialect), "Dialect code should be unique for " + version);
                }
            }
    
            // Should have 5 unique dialect codes for SMB2+ versions
            assertEquals(5, dialectCodes.size());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * SMB 2.0.2 dialect (Windows Vista/Server 2008)
         */
        public static final int SMB2_DIALECT_0202 = 0x0202;
    
        /**
         * SMB 2.1 dialect (Windows 7/Server 2008R2)
         */
        public static final int SMB2_DIALECT_0210 = 0x0210;
    
        /**
         * SMB 3.0 dialect (Windows 8/Server 2012)
         */
        public static final int SMB2_DIALECT_0300 = 0x0300;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Set security mode (2 bytes)
            int testSecurityMode = 0x0003;
            SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20);
    
            // Set dialect (2 bytes)
            int testDialect = 0x0311;
            SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22);
    
            // Execute decode
            int bytesDecoded = response.decode(buffer, bufferIndex, 24);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should return dialect revision")
        void testGetDialectRevision() throws Exception {
            // Given
            setPrivateField(response, "dialectRevision", 0x0311);
    
            // When
            int dialect = response.getDialectRevision();
    
            // Then
            assertEquals(0x0311, dialect);
        }
    
        @Test
        @DisplayName("Should return server GUID")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  7. gorm.go

    	PropagateUnscoped bool
    
    	// ClauseBuilders clause builder
    	ClauseBuilders map[string]clause.ClauseBuilder
    	// ConnPool db conn pool
    	ConnPool ConnPool
    	// Dialector database dialector
    	Dialector
    	// Plugins registered plugins
    	Plugins map[string]Plugin
    
    	callbacks  *callbacks
    	cacheStore *sync.Map
    }
    
    // Apply update config to new config
    func (c *Config) Apply(config *Config) error {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         * @return whether the protocol negotiation was successful
         */
        boolean isValid(CIFSContext cifsContext, SmbNegotiationRequest request);
    
        /**
         * Gets the SMB dialect version selected by the server.
         *
         * @return selected dialect
         */
        DialectVersion getSelectedDialect();
    
        /**
         * Checks whether the server has SMB message signing enabled.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. interfaces.go

    package gorm
    
    import (
    	"context"
    	"database/sql"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    // Dialector GORM database dialector
    type Dialector interface {
    	Name() string
    	Initialize(*DB) error
    	Migrator(db *DB) Migrator
    	DataTypeOf(*schema.Field) string
    	DefaultValueOf(*schema.Field) clause.Expression
    	BindVarTo(writer clause.Writer, stmt *Statement, v interface{})
    	QuoteTo(clause.Writer, string)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Aug 19 13:33:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  10. tests/gaussdb_test.go

    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestGaussDBReturningIDWhichHasStringType(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb not support pgcrypto extension and gen_random_uuid() function")
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    		// TODO: function gen_random_uuid() does not exist
    		ID        string `gorm:"default:gen_random_uuid()"`
    		Name      string
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top