- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for expectNewline (0.16 seconds)
-
src/cmd/asm/internal/lex/input.go
func (in *Input) ifdef(truth bool) { name := in.macroName() in.expectNewline("#if[n]def") if !in.enabled() { truth = false } else if _, defined := in.macros[name]; !defined { truth = !truth } in.ifdefStack = append(in.ifdefStack, truth) } // #else processing func (in *Input) else_() { in.expectNewline("#else") if len(in.ifdefStack) == 0 { in.Error("unmatched #else") }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 12.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java
actualLines = Files.readAllLines(noticePath); for (final String expectedLine : expectedLines) { if (actualLines.contains(expectedLine) == false) { throw new GradleException("expected [" + noticePath + " to contain [" + expectedLine + "] but it did not"); } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.6K bytes - Click Count (0)