Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for RegExp (0.18 sec)

  1. tests/table_test.go

    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. docs/debugging/pprofgoparser/main.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        private static final Logger logger = LogManager.getLogger(GsaConfigParser.class);
    
        public static final String REGEXP = "regexp:";
    
        public static final String REGEXP_CASE = "regexpCase:";
    
        public static final String REGEXP_IGNORE_CASE = "regexpIgnoreCase:";
    
        public static final String CONTAINS = "contains:";
    
        protected static final String COLLECTIONS = "collections";
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsUserCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setBusinessCategory_Regexp(String businessCategory) {
            setBusinessCategory_Regexp(businessCategory, null);
        }
    
        public void setBusinessCategory_Regexp(String businessCategory, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 326.1K bytes
    - Viewed (0)
  5. tests/query_test.go

    	if !regexp.MustCompile("SELECT .*id.*name.*updated_at.*created_at.* FROM .*users").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("SQL should include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    	result = DB.Session(&gorm.Session{DryRun: true}).Model(&User{}).Find(&User{}, user.ID)
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Mar 15 06:14:48 GMT 2024
    - 49.4K bytes
    - Viewed (0)
  6. logger/sql.go

    	}
    }
    
    // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability
    func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string {
    	var (
    		convertParams func(interface{}, int)
    		vars          = make([]string, len(avars))
    	)
    
    	convertParams = func(v interface{}, idx int) {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsSearchLogCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setAccessType_Regexp(String accessType) {
            setAccessType_Regexp(accessType, null);
        }
    
        public void setAccessType_Regexp(String accessType, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
            RegexpQueryBuilder builder = regRegexpQ("accessType", accessType);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 145.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsLabelTypeCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setCreatedBy_Regexp(String createdBy) {
            setCreatedBy_Regexp(createdBy, null);
        }
    
        public void setCreatedBy_Regexp(String createdBy, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
            RegexpQueryBuilder builder = regRegexpQ("createdBy", createdBy);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 87.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileAuthenticationCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setCreatedBy_Regexp(String createdBy) {
            setCreatedBy_Regexp(createdBy, null);
        }
    
        public void setCreatedBy_Regexp(String createdBy, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
            RegexpQueryBuilder builder = regRegexpQ("createdBy", createdBy);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 88.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setConfigParameter_Regexp(String configParameter) {
            setConfigParameter_Regexp(configParameter, null);
        }
    
        public void setConfigParameter_Regexp(String configParameter, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
            RegexpQueryBuilder builder = regRegexpQ("configParameter", configParameter);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 165.3K bytes
    - Viewed (0)
Back to top