- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 112 for backslashes (0.39 sec)
-
src/cmd/go/internal/str/path.go
if s == "" || os.IsPathSeparator(s[len(s)-1]) { return s } return s + string(filepath.Separator) } // QuoteGlob returns s with all Glob metacharacters quoted. // We don't try to handle backslash here, as that can appear in a // file path on Windows. func QuoteGlob(s string) string { if !strings.ContainsAny(s, `*?[]`) { return s } var sb strings.Builder for _, c := range s { switch c {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0) -
src/strconv/quote.go
buf = append(buf, quote) return buf } func appendEscapedRune(buf []byte, r rune, quote byte, ASCIIonly, graphicOnly bool) []byte { if r == rune(quote) || r == '\\' { // always backslashed buf = append(buf, '\\') buf = append(buf, byte(r)) return buf } if ASCIIonly { if r < utf8.RuneSelf && IsPrint(r) { buf = append(buf, byte(r)) return buf }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 16.5K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactory.java
} @Override public String getPath() { return path; } @Override public String getJarURL(){ //windows needs an additional backslash in jar urls return "jar:" + file.toURI() + "!/"; } @Override public boolean isRelativeToPathVariable() { return relativeToPathVariable; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt
assertTrue(instance.isFileSystemCheckIgnoredFor(File("Abc"))) assertTrue(instance.isFileSystemCheckIgnoredFor(File("Def/123/ghi"))) } @Test fun `accepts backslash-separated path patterns on Windows`() { val instance = createFromPaths(listOf("abc\\*\\ghi")) val isRecognized = instance.isFileSystemCheckIgnoredFor(File("abc/test/ghi"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.4K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <p> Several backslash escapes allow arbitrary values to be encoded as ASCII text. There are four ways to represent the integer value as a numeric constant: <code>\x</code> followed by exactly two hexadecimal digits; <code>\u</code> followed by exactly four hexadecimal digits; <code>\U</code> followed by exactly eight hexadecimal digits, and a plain backslash <code>\</code> followed by exactly three octal digits.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
if( inDfs && !service.equals("IPC") && request.path != null && request.path.length() > 0 ) { /* When DFS is in action all request paths are * full UNC paths minus the first backslash like * \server\share\path\to\file * as opposed to normally * \path\to\file */ request.flags2 = ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8K bytes - Viewed (0) -
src/log/slog/text_handler.go
} return nil, false } func needsQuoting(s string) bool { if len(s) == 0 { return true } for i := 0; i < len(s); { b := s[i] if b < utf8.RuneSelf { // Quote anything except a backslash that would need quoting in a // JSON string, as well as space and '=' if b != '\\' && (b == ' ' || b == '=' || !safeSet[b]) { return true } i++ continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/LibrariesSourceGenerator.java
* Such characters could be accidentally introduced by a backslash followed by {@code 'u'}, * e.g. in Windows path {@code '..\\user\dir'}. */ private static String sanitizeUnicodeEscapes(String s) { // If a backslash precedes 'u', then we replace the backslash with its unicode notation '\\u005c' return s.replace("\\u", "\\u005cu"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 36K bytes - Viewed (0) -
internal/kms/context.go
// inside of HTML <script> tags, without any additional escaping. // // All values are true except for the ASCII control characters (0-31), the // double quote ("), the backslash character ("\"), HTML opening and closing // tags ("<" and ">"), and the ampersand ("&"). var htmlSafeSet = [utf8.RuneSelf]bool{ ' ': true, '!': true, '"': false, '#': true,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 6K bytes - Viewed (0) -
src/fmt/scan.go
s.buf.writeByte('"') for { r := s.mustReadRune() s.buf.writeRune(r) if r == '\\' { // In a legal backslash escape, no matter how long, only the character // immediately after the escape can itself be a backslash or quote. // Thus we only need to protect the first character after the backslash. s.buf.writeRune(s.mustReadRune())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 31.9K bytes - Viewed (0)