- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 149 for escapeFn (0.17 sec)
-
logger/sql_test.go
type ExampleStruct struct { Name string Val string } func (s ExampleStruct) Value() (driver.Value, error) { return json.Marshal(s) } func format(v []byte, escaper string) string { return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper } func TestExplainSQL(t *testing.T) { type role string type password []byte type intType int type floatType float64 var (
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/logger/console.go
// of splitting error text and always pretty printing the // red banner along with the error message. Since the error // message itself contains some colored text, we needed // to use some ANSI control escapes to cursor color state // and freely move in the screen. for _, line := range strings.Split(errMsg, "\n") { if len(line) == 0 { // No more text to print, just quit. break } for {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/table_test.go
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()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
prev := runeZero hasLeadingPercent := false patLen := len([]rune(pattern)) for i, r := range pattern { if i > 0 && prev == escape { switch r { case percent, escape, underscore: s = append(s, r) prev = r if r == escape { prev = runeZero } default: return false, errMalformedEscapeSequence } continue } prev = r var ok bool switch r { case percent:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
} public QueryStringBuilder sortField(final String sortField) { this.sortField = sortField; return this; } public QueryStringBuilder escape(final boolean escape) { this.escape = escape; return this; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
throws IOException { MavenProperties sp = new MavenProperties(false); if (Files.exists(path)) { sp.load(path); } properties.forEach( (k, v) -> sp.put(k.toString(), escape ? DefaultInterpolator.escape(v.toString()) : v.toString())); loadIncludes(path, sp, callback);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.escape; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableMap; import com.google.common.escape.testing.EscaperAsserts; import java.io.IOException; import junit.framework.TestCase; /** * @author David Beaumont */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 07 23:02:38 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/sanitize.js
turn a.split(d,function(c){var d=new RegExp(a.isNumeric(c)?c:"\\"+c,"g");b=b.replace(d,"")}),b},escape:function(b,c){var d=c.valAttr("is-escaped"),e={"<":"__%AMP%__lt;",">":"__%AMP%__gt;","&":"__%AMP%__amp;","'":"__%AMP%__#8217;",'"':"__%AMP%__quot;"};return"yes"===d?b:(c.valAttr("is-escaped","yes"),c.one("keyup",function(a){9!==a.keyCode&&c.valAttr("is-escaped","no")}),a.each(e,function(a,c){b=b.replace(new RegExp(a,"g"),c)}),b.replace(new RegExp("__%AMP%__","g"),"&"))}},e=function(b,e,f){e||(e...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/package-info.java
* limitations under the License. */ /** * Testing utilities for use in tests of {@code com.google.common.escape}. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. */ @CheckReturnValue package com.google.common.escape.testing;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 21:41:47 UTC 2023 - 920 bytes - Viewed (0) -
docs_src/wsgi/tutorial001.py
from fastapi import FastAPI from fastapi.middleware.wsgi import WSGIMiddleware from flask import Flask, request from markupsafe import escape flask_app = Flask(__name__) @flask_app.route("/") def flask_main(): name = request.args.get("name", "World") return f"Hello, {escape(name)} from Flask!" app = FastAPI() @app.get("/v2") def read_main(): return {"message": "Hello World"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue May 09 14:32:00 UTC 2023 - 443 bytes - Viewed (0)