- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 85 for newFile (0.04 sec)
-
src/cmd/asm/internal/lex/lex_test.go
}, { "#define A() A()\nA()", "recursive macro invocation", }, { "#define A a\n#define A a\n", "redefinition of macro", }, { "#define A a", "no newline after macro definition", }, } func TestBadLex(t *testing.T) { for _, test := range badLexTests { input := NewInput(test.error) input.Push(NewTokenizer(test.error, strings.NewReader(test.input), nil))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
// A TokenReader is like a reader, but returns lex tokens of type Token. It also can tell you what // the text of the most recently returned token is, and where it was found. // The underlying scanner elides all spaces except newline, so the input looks like a stream of // Tokens; original spacing is lost but we don't need it. type TokenReader interface { // Next returns the next token. Next() ScanToken
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
override fun hashCode(): Int = commonHashCode() /** * Returns header names and values. The names and values are separated by `: ` and each pair is * followed by a newline character `\n`. * * Since OkHttp 5 this redacts these sensitive headers: * * * `Authorization` * * `Cookie` * * `Proxy-Authorization` * * `Set-Cookie` */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
scoreUpdater.addScoreBooster(booster1); scoreUpdater.addScoreBooster(booster2); String result = scoreUpdater.execute(); // Check format with class name, colon, count, and newline String[] lines = result.split("\n"); assertEquals(2, lines.length); assertTrue(lines[0].matches("TestScoreBooster : \\d+")); assertTrue(lines[1].matches("TestScoreBooster : \\d+")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/cmd/cgo/ast.go
// This should have been checked when the file path was first resolved, // but we double check here just to be sure. fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath) } f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath) f.Preamble += commentText(cg) + "\n" f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n" } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Oct 14 15:47:06 UTC 2024 - 14.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
public void test_unescape() throws Exception { // Test with escaped characters (backslash sequences) String content = "test\\t1\n" + // escaped tab sequence "test\\n2\n" + // escaped newline sequence "test3\n"; // no escape // Write content to test file writeTestFile(content); // Reload the file protwordsFile.reload(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
gradlew
# that process (while maintaining the separation between arguments), and wrap # the whole thing up as a single "set" statement. # # This will of course break if any of these variables contains a newline or # an unmatched quote. # eval "set -- $( printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | xargs -n1 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | tr '\n' ' '
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
count++ readByte() } return count } /** * Returns the index of the next non-whitespace character in this. Result is undefined if input * contains newline characters. */ internal fun String.indexOfNonWhitespace(startIndex: Int = 0): Int { for (i in startIndex until length) { val c = this[i] if (c != ' ' && c != '\t') { return i } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/cmd/api/main_test.go
bs, err := os.ReadFile(filename) if err != nil { log.Fatal(err) } s := string(bs) // Diagnose common mistakes people make, // since there is no apifmt to format these files. // The missing final newline is important for the // final release step of cat next/*.txt >go1.X.txt. // If the files don't end in full lines, the concatenation goes awry. if strings.Contains(s, "\r") { log.Printf("%s: contains CRLFs", filename)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/archive/tar/strconv.go
return "", "", s, ErrHeader } n -= int64(len(nStr) + 1) // convert from index in s to index in rest if n <= 0 { return "", "", s, ErrHeader } // Extract everything between the space and the final newline. rec, nl, rem := rest[:n-1], rest[n-1:n], rest[n:] if nl != "\n" { return "", "", s, ErrHeader } // The first equals separates the key from the value. k, v, ok = strings.Cut(rec, "=") if !ok {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0)