Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for endlines (1.99 sec)

  1. 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)
  2. 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)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy

                            println "$noInfoHeading"
                        }
                    }
                }
            """
    
            when:
            succeeds "loadClasses"
    
            then:
            def lines = output.readLines()
            if (lines.find { it == noInfoHeading }) { return }
    
            lines.find { it == heading } // here for nicer output if the output isn't what we expect
            def headingIndex = lines.indexOf(heading)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/internal/poll/fd_poll_runtime.go

    	case pollErrTimeout:
    		return ErrDeadlineExceeded
    	case pollErrNotPollable:
    		return ErrNotPollable
    	}
    	println("unreachable: ", res)
    	panic("unreachable")
    }
    
    // SetDeadline sets the read and write deadlines associated with fd.
    func (fd *FD) SetDeadline(t time.Time) error {
    	return setDeadlineImpl(fd, t, 'r'+'w')
    }
    
    // SetReadDeadline sets the read deadline associated with fd.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIntegrationTest.groovy

            groovyFile "a/build.gradle", """
                println("lifecycle: <evaluating> " + project)
            """
    
            when:
            succeeds("help")
    
            then:
            def lifecycleOutput = output.readLines().findAll { it.startsWith("lifecycle: ") }.join("\n")
            lifecycleOutput == """
    lifecycle: gradle.allprojects ':'
    lifecycle: gradle.allprojects ':a'
    lifecycle: gradle.beforeProject ':'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 16:52:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/go/printer/gobuild.go

    	// When we start dropping // +build comments, we can skip over /* */ comments too.
    	// Note that we are processing tabwriter input, so every comment
    	// begins and ends with a tabwriter.Escape byte.
    	// And some newlines have turned into \f bytes.
    	insert := 0
    	for pos := 0; ; {
    		// Skip leading space at beginning of line.
    		blank := true
    		for pos < len(p.output) && (p.output[pos] == ' ' || p.output[pos] == '\t') {
    			pos++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformInvocationFactory.java

            // TODO This is a workaround for script compilation that is triggered via the "early" execution
            //      engine created in DependencyManagementBuildScopeServices. We should unify the execution
            //      engines instead.
            ExecutionEngine effectiveEngine;
            if (producerProject == null) {
                // Non-project-bound transforms run in a global immutable workspace,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:14:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInStaticGroovyIntegrationTest.groovy

            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("FOOBAR=$expectedEnvVar\nCWD=${cwd.path}")
            problems.assertFailureHasProblems(failure) {
                def line = 7 + command.readLines().size()
                withProblem("Build file 'build.gradle': line $line: external process started")
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. hack/ginkgo-e2e.sh

    ginkgo_args+=("--flake-attempts=${FLAKE_ATTEMPTS}")
    
    if [[ "${GINKGO_SILENCE_SKIPS}" == "y" ]]; then
      ginkgo_args+=("--silence-skips")
    fi
    
    if [[ "${GINKGO_FORCE_NEWLINES}" == "y" ]]; then
      ginkgo_args+=("--force-newlines")
    fi
    
    if [[ "${GINKGO_NO_COLOR}" == "y" ]]; then
      ginkgo_args+=("--no-color")
    fi
    
    # The --host setting is used only when providing --auth_config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 13:25:50 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/encoding/pem/pem.go

    // filter them out here.
    func removeSpacesAndTabs(data []byte) []byte {
    	if !bytes.ContainsAny(data, " \t") {
    		// Fast path; most base64 data within PEM contains newlines, but
    		// no spaces nor tabs. Skip the extra alloc and work.
    		return data
    	}
    	result := make([]byte, len(data))
    	n := 0
    
    	for _, b := range data {
    		if b == ' ' || b == '\t' {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top