Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for dialects (0.05 sec)

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

            setFlags2(config.getFlags2());
    
            if (config.getMinimumVersion().isSMB2()) {
                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" };
            }
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            // Verify dialect count
            assertEquals(manyDialects.length, SMBUtil.readInt2(buffer, 22));
    
            // Verify all dialects
            for (int i = 0; i < manyDialects.length; i++) {
                assertEquals(manyDialects[i], SMBUtil.readInt2(buffer, 24 + i * 2));
            }
        }
    
        @Test
        @DisplayName("Test encode preserves dialect order")
        void testEncodePreservesDialectOrder() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the array of SMB dialect versions supported by the client.
         *
         * @return the dialects
         */
        public int[] getDialects() {
            return this.dialects;
        }
    
        /**
         * Gets the client GUID used for identification.
         *
         * @return the clientGuid
         */
    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. tests/tests_all.sh

      fi
      cd ..
    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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            System.arraycopy(dialects, 0, dst, dstIndex, dialects.length);
            return dialects.length;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        @DisplayName("Should use SMB 3.0.x context for non-3.1.1 dialects")
        void testDeriveKeys_NonSMB311Dialects(int dialect) {
            // When
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(signingKey, "Should derive key for dialect: " + dialect);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            assertTrue(result.contains("wordCount=0"), "String should contain wordCount=0");
            assertTrue(result.contains("dialects=NT LM 0.12]"), "String should contain dialects=NT LM 0.12]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. 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)
Back to top