Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 119 for ReplaceAll (0.15 sec)

  1. tests/sql_builder_test.go

    	// convert single quote into double quote
    	sql = strings.ReplaceAll(sql, `'`, `"`)
    
    	// convert dialect special quote into double quote
    	switch DB.Dialector.Name() {
    	case "postgres":
    		sql = strings.ReplaceAll(sql, `"`, `"`)
    	case "mysql", "sqlite":
    		sql = strings.ReplaceAll(sql, "`", `"`)
    	case "sqlserver":
    		sql = strings.ReplaceAll(sql, `'`, `"`)
    	}
    
    	return sql
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. test-site/app/models/ContentsCreator.java

                } else {
                    queue.add(originUri + '/' + url);
                }
            }
        }
    
        protected String extractHtml(String html) {
            return html.replaceAll("<[^>]*>", "");
        }
    
        protected Queue<String> getUrls() {
            Queue<String> q = new LinkedBlockingQueue<>();
            q.add("http://ja.wikipedia.org/wiki/%E6%A4%9C%E7%B4%A2%E3%82%A8%E3%83%B3%E3%82%B8%E3%83%B3");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                    cb.query().setDescription_Wildcard(fileConfigPager.description);
                } else if (fileConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(fileConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(fileConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. docs/debugging/hash-set/main.go

    	}
    
    	id := uuid.MustParse(deploymentID)
    
    	if file != "" {
    		distrib := make([][]string, setCount)
    		b, err := os.ReadFile(file)
    		if err != nil {
    			log.Fatalln(err)
    		}
    		b = bytes.ReplaceAll(b, []byte("\r"), []byte{})
    		sc := bufio.NewScanner(bytes.NewBuffer(b))
    		for sc.Scan() {
    			object = strings.TrimSpace(sc.Text())
    			set := sipHashMod(prefix+object, setCount, id)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

                    cb.query().setDescription_Wildcard(dataConfigPager.description);
                } else if (dataConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(dataConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(dataConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

        public ExecJob logLevel(final String logLevel) {
            this.logLevel = logLevel;
            return this;
        }
    
        public ExecJob logSuffix(final String logSuffix) {
            this.logSuffix = logSuffix.trim().replaceAll("\\s", "_");
            return this;
        }
    
        public ExecJob timeout(final int timeout) {
            this.timeout = timeout;
            return this;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser.go

    func (ls *LiteralString) Capture(values []string) error {
    	// Remove enclosing single quote
    	n := len(values[0])
    	r := values[0][1 : n-1]
    	// Translate doubled quotes
    	*ls = LiteralString(strings.ReplaceAll(r, "''", "'"))
    	return nil
    }
    
    // LiteralList is a type for parsed SQL lists literals
    type LiteralList []string
    
    // Capture interface used by participle
    func (ls *LiteralList) Capture(values []string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

                // have not detected any problems yet.
                // ---------------------------------------------------------------------------------
                // path = path.replaceAll( "//", "/" );
    
            }
            return new File(path).getAbsoluteFile();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            });
        }
    
        public static String decodeJsp(final String value) {
            return value.replaceAll("<%(?![@-])([\\s\\S]*?)%>", "&lt;%$1%&gt;").replaceAll("<%=([\\s\\S]*?)%>", "&lt;%=$1%&gt;")
                    .replace(TRY_STATEMENT, "<% try{ %>")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            if (rangeValue.value.isEmpty()) {
                return isLeft ? 1 : -1;
            }
    
            value = FILTER_1.matcher(value).replaceAll("");
    
            List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value)));
            List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value)));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top