- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 442 for Line (0.01 seconds)
-
docs/en/docs/js/custom.js
} else if (line.startsWith(customPromptLiteralStart)) { saveBuffer(); const promptStart = line.indexOf(promptLiteralStart); if (promptStart === -1) { console.error("Custom prompt found but no end delimiter", line) }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 22 15:11:52 GMT 2025 - 6.3K bytes - Click Count (2) -
src/cmd/asm/internal/asm/endtoend_test.go
} errors := map[string]string{} for _, line := range strings.Split(errBuf.String(), "\n") { if line == "" || strings.HasPrefix(line, "\t") { continue } m := fileLineRE.FindStringSubmatch(line) if m == nil { t.Errorf("unexpected error: %v", line) continue } fileline := m[1] if errors[fileline] != "" && errors[fileline] != line {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 18:45:48 GMT 2025 - 12.5K bytes - Click Count (0) -
cmd/batch-job-common-types.go
func (kv *BatchJobKV) UnmarshalYAML(val *yaml.Node) error { type jobKV BatchJobKV var tmp jobKV err := val.Decode(&tmp) if err != nil { return err } *kv = BatchJobKV(tmp) kv.line, kv.col = val.Line, val.Column return nil } // Validate returns an error if key is empty func (kv BatchJobKV) Validate() error { if kv.Key == "" { return BatchJobYamlErr{ line: kv.line,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
String line = br.readLine(); while (line != null) { lineNumber++; gatherDeadUserGuideLinksInLineReleaseNotes(sourceFile, line, lineNumber, errorsForFile); gatherDeadSamplesLinksInLineReleaseNotes(sourceFile, line, lineNumber, errorsForFile); gatherDeadJavadocLinksInLineReleaseNotes(sourceFile, line, lineNumber, errorsForFile);
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 18.1K bytes - Click Count (0) -
src/bufio/scan_test.go
j++ } else { j-- } line := tmp.String() // We use the string-valued token here, for variety. if s.Text() != line { t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Text(), line) } } err := s.Err() if err != nil { t.Fatal(err) } } // Test that the line splitter errors out on a long line. func TestScanLineTooLong(t *testing.T) {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
// readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too. writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line -> when { // We assume that the declaration is not empty. line.startsWith("DEFAULT_JVM_OPTS='") && line.endsWith('\'') -> { ++replacementsCountCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Apr 08 01:46:59 GMT 2025 - 6.3K bytes - Click Count (0) -
build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy
def projectDir = 'C:\\some\\agent\\workspace' expect: (line =~ KillLeakingJavaProcesses.generateLeakingProcessKillPattern(projectDir)).find() } def "matches daemon process started by performance test on Windows"() {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jul 12 03:42:46 GMT 2024 - 14.8K bytes - Click Count (0) -
docs/debugging/pprofgoparser/main.go
skip, record bool ) for s.Scan() { line := s.Text() switch { case skip && line != "": case skip && line == "": skip = false case record && line == "": stackTrace := bf.String() reset() record = false if searchRE == nil || searchRE.MatchString(stackTrace) { ret[t] = append(ret[t], stackTrace) } case record: save(line) default:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Mar 06 11:43:16 GMT 2024 - 3.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
src/bytes/iter.go
// If s does not end in a newline, the final yielded line will not end in a newline. // It returns a single-use iterator. func Lines(s []byte) iter.Seq[[]byte] { return func(yield func([]byte) bool) { for len(s) > 0 { var line []byte if i := IndexByte(s, '\n'); i >= 0 { line, s = s[:i+1], s[i+1:] } else { line, s = s, nil } if !yield(line[:len(line):len(line)]) { return } } } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Sep 03 14:04:47 GMT 2025 - 3.6K bytes - Click Count (0)