- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 70 for endlines (0.17 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy
static UndeclaredFileAccess fileReadLines(String filePath) { new UndeclaredFileAccess(filePath) { @Override String getKotlinExpression() { "File(\"$filePath\").readLines()" } @Override String getJavaExpression() { """((Supplier<Object>) () -> { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy
""" } when: executer.withConsole(consoleType) succeeds(TEST_TASK_NAME) then: def taskOutput = getTaskOutput(result).readLines().findAll { !it.isBlank() } .join('\n') taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker} standard output""")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 14:21:18 UTC 2024 - 8.5K bytes - Viewed (0) -
src/internal/poll/fd_plan9.go
"errors" "internal/stringslite" "io" "sync" "syscall" "time" ) type FD struct { // Lock sysfd and serialize access to Read and Write methods. fdmu fdMutex Destroy func() // deadlines rmu sync.Mutex wmu sync.Mutex raio *asyncIO waio *asyncIO rtimer *time.Timer wtimer *time.Timer rtimedout bool // set true when read deadline has been reached
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/util/tail/tail_test.go
}, { name: "the file length is longer than max", max: 1, longerThanMax: true, expected: "a", }, { name: "the file length is longer than max and contains newlines", max: blockSize, longerThanMax: true, expected: strings.Repeat("a", blockSize/2-1) + "\n" + strings.Repeat("a", blockSize/2), }, { name: "the max is longer than file length ",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/GitAttributesGenerator.java
try { try (PrintWriter writer = new PrintWriter(new FileWriter(file))) { writer.println("#"); writer.println("# https://help.github.com/articles/dealing-with-line-endings/"); writer.println("#"); writer.println("# Linux start script should use lf"); writer.println("/gradlew text eol=lf"); writer.println();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 12:54:54 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/GitAttributesGeneratorTest.groovy
} private static String getGeneratedGitattributesContent() { def builder = new StringBuilder() builder << '#\n' builder << '# https://help.github.com/articles/dealing-with-line-endings/\n' builder << '#\n' builder << '''# Linux start script should use lf /gradlew text eol=lf ''' builder << '\n' builder << '''# These are Windows script files and should use crlf
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 12:54:54 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/NMToolFixture.groovy
} List<BinaryInfo.Symbol> listSymbols(File binaryFile) { def process = (findExe('nm') + ['-a', '-f', 'posix', binaryFile.absolutePath]).execute(environments, null) def lines = process.inputStream.readLines() return lines.collect { line -> // Looks like on Linux: // _main t 0 0 // // Looks like on Windows (MinGW): // main T 0000000000401550
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 2K bytes - Viewed (0) -
testing/architecture-test/build.gradle.kts
*/ abstract class ReorderArchUnitRulesTask : DefaultTask() { @get:OutputFile abstract var ruleFile: File @TaskAction fun resortStoredRules() { val lines = ruleFile.readLines() val sortedLines = lines.sortedBy { line -> // We sort by the rule name line.substringBefore("=") } if (lines != sortedLines) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:43:33 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/proxy/util/linebuffer.go
String() string // Lines returns the number of lines in the buffer. Note that more precisely, this // returns the number of times Write() or WriteBytes() was called; it assumes that // you never wrote any newlines to the buffer yourself. Lines() int } var _ logr.Marshaler = &realLineBuffer{} type realLineBuffer struct { b bytes.Buffer lines int } // NewLineBuffer returns a new "real" LineBuffer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 3.7K bytes - Viewed (0)