Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 40 for Dialect (0.08 seconds)

  1. tests/sql_builder_test.go

    		})
    	})
    	assertEqualSQL(t, `SELECT * FROM users ORDER BY id DESC`, sql)
    }
    
    // assertEqualSQL for assert that the sql is equal, this method will ignore quote, and dialect specials.
    func assertEqualSQL(t *testing.T, expected string, actually string) {
    	t.Helper()
    
    	// replace SQL quote, convert into postgresql like ""
    	expected = replaceQuoteInSQL(expected)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        @Override
        public boolean canReuse(final CIFSContext tc, final boolean forceSigning) {
            return this.getConfig().equals(tc.getConfig());
        }
    
        /**
         * Returns the index of the selected SMB dialect from the negotiation.
         *
         * @return the dialectIndex
         */
        public int getDialectIndex() {
            return this.dialectIndex;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

                assertThrows(SmbUnsupportedOperationException.class, () -> transport.createEncryptionContext(new byte[] { 1 }, null));
            }
    
            @Test
            @DisplayName("createEncryptionContext rejects pre-SMB3 dialect")
            void createEncryptionContext_rejects_oldDialect() throws Exception {
                setField(transport, "smb2", true);
                Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        /** Set of commands that should not be used in compound requests */
        protected Set<String> disallowCompound;
        /** Minimum SMB dialect version to negotiate */
        protected DialectVersion minVersion;
        /** Maximum SMB dialect version to negotiate */
        protected DialectVersion maxVersion;
        /** Whether to require secure negotiate validation */
        protected boolean requireSecureNegotiate = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                negotiate(altPort, resp);
                port = altPort;
            }
    
            if (resp.dialectIndex > 10) {
                throw new SmbException("This client does not support the negotiated dialect.");
            }
            if ((server.capabilities & CAP_EXTENDED_SECURITY) != CAP_EXTENDED_SECURITY && server.encryptionKeyLength != 8
                    && LM_COMPATIBILITY == 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  6. 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"
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to disconnect from a tree share.
         */
        public static final byte SMB_COM_TREE_DISCONNECT = (byte) 0x71;
    
        /**
         * SMB command to negotiate protocol dialect.
         */
        public static final byte SMB_COM_NEGOTIATE = (byte) 0x72;
    
        /**
         * SMB command to setup a session with extended attributes.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  8. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2CB8          ; mapped                 ; 2CB9          # 4.1  COPTIC CAPITAL LETTER DIALECT-P KAPA
    2CB9          ; valid                                  # 4.1  COPTIC SMALL LETTER DIALECT-P KAPA
    2CBA          ; mapped                 ; 2CBB          # 4.1  COPTIC CAPITAL LETTER DIALECT-P NI
    2CBB          ; valid                                  # 4.1  COPTIC SMALL LETTER DIALECT-P NI
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Click Count (0)
  9. RELEASE.md

    *   Fixes a crash due to erroneous `StatusOr`
        ([CVE-2022-23590](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23590))
    *   Fixes multiple crashes and heap OOB accesses in TFG dialect (MLIR)
        ([CVE-2022-23594](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23594))
    *   Fixes a segfault in `simplifyBroadcast` (MLIR)
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top