Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for Dialect (0.04 sec)

  1. 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());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            assertEquals(expectedBytes.length, bytesWritten, "The number of bytes written should match the length of the dialect string.");
            // Verify the content of the destination array
            assertArrayEquals(expectedBytes, dst, "The destination array should contain the ASCII bytes of the dialect string.");
        }
    
        /**
         * Test the readParameterWordsWireFormat method.
         * This method should do nothing and return 0.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. 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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                SMBUtil.writeInt2(0, dst, dstIndex + 6);
            }
            dstIndex += 8;
    
            for (final int dialect : this.dialects) {
                SMBUtil.writeInt2(dialect, dst, dstIndex);
                dstIndex += 2;
            }
    
            dstIndex += pad8(dstIndex);
    
            if (this.negotiateContexts != null && this.negotiateContexts.length != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test all dialect versions")
        void testAllDialectVersions() {
            // Test each dialect version
            DialectVersion[] dialects = { DialectVersion.SMB1, DialectVersion.SMB202, DialectVersion.SMB210, DialectVersion.SMB300,
                    DialectVersion.SMB302, DialectVersion.SMB311 };
    
            for (DialectVersion dialect : dialects) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

         * @param dialects
         *            the SMB dialects supported by the client
         */
        public ValidateNegotiateInfoRequest(final int capabilities, final byte[] clientGuid, final int securityMode, final int[] dialects) {
            this.capabilities = capabilities;
            this.clientGuid = clientGuid;
            this.securityMode = securityMode;
            this.dialects = dialects;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertEquals(4, dialects.length); // SMB210, SMB300, SMB302, SMB311
            assertEquals(0x0210, dialects[0]);
            assertEquals(0x0300, dialects[1]);
            assertEquals(0x0302, dialects[2]);
            assertEquals(0x0311, dialects[3]);
        }
    
        @Test
        @DisplayName("Should set client GUID for SMB2.1+")
        void testClientGuidSmb21() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. 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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top