Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for endlines (0.17 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    				h := stdlibPackageHeading(pkg, lastBlock(doc).Pos().EndLine)
    				doc.Blocks = append(doc.Blocks, h)
    			}
    			prevPkg = pkg
    			// Put a blank line between the current and new blocks, so that the end
    			// of a file acts as a blank line.
    			lastLine := lastBlock(doc).Pos().EndLine
    			delta := lastLine + 2 - newdoc.Blocks[0].Pos().StartLine
    			for _, b := range newdoc.Blocks {
    				addLines(b, delta)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

        abstract String getStatusForReusedOutput()
    
        abstract void execute(String... tasks)
    
        abstract void cleanWorkspace()
    
        def "input files properties are sensitive to line endings by default (#api, #pathsensitivity)"() {
            createTaskWithNormalization(InputFiles, LineEndingSensitivity.DEFAULT, pathsensitivity, api)
    
            buildFile << """
                taskWithInputs {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. src/encoding/csv/reader.go

    			return records, nil
    		}
    		if err != nil {
    			return nil, err
    		}
    		records = append(records, record)
    	}
    }
    
    // readLine reads the next line (with the trailing endline).
    // If EOF is hit without a trailing endline, it will be omitted.
    // If some bytes were read, then the error is never [io.EOF].
    // The result is only valid until the next call to readLine.
    func (r *Reader) readLine() ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. src/os/file.go

    // SetDeadline sets the read and write deadlines for a File.
    // It is equivalent to calling both SetReadDeadline and SetWriteDeadline.
    //
    // Only some kinds of files support setting a deadline. Calls to SetDeadline
    // for files that do not support deadlines will return ErrNoDeadline.
    // On most systems ordinary files do not support deadlines, but pipes do.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. 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)
  6. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return nil, err
    	}
    	defer done(0, &err)
    
    	return p.storage.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    // Legacy API - does not have any deadlines
    func (p *xlStorageDiskIDCheck) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    #           and to get «$» you need to write «\\\$».
    #
    #       For more details about the Groovy Template Engine, see
    #       https://docs.groovy-lang.org/next/html/documentation/ section §3.15
    #       (Template Engines) for details.
    #
    #       (An example invocation of this template is from
    #       https://github.com/gradle/gradle/blob/HEAD/subprojects/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/runtime/error.go

    // it has already been converted into a string by preprintpanics.
    //
    // To ensure that the traceback can be unambiguously parsed even when
    // the panic value contains "\ngoroutine" and other stack-like
    // strings, newlines in the string representation of v are replaced by
    // "\n\t".
    func printpanicval(v any) {
    	switch v := v.(type) {
    	case nil:
    		print("nil")
    	case bool:
    		print(v)
    	case int:
    		print(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    			// Convert the object to raw bytes
    			bytes, err := runtime.Encode(codec, obj)
    			if err != nil {
    				panic(fmt.Sprintf("Failed to encode object: %v", err))
    			}
    
    			// strip trailing newlines which do not survive roundtrips
    			for len(bytes) >= 1 && bytes[len(bytes)-1] == 10 {
    				bytes = bytes[:len(bytes)-1]
    			}
    
    			// Set the bytes field on the RawExtension
    			r.Raw = bytes
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/security.go

    	re(`-f(no-)?split-stack`),
    	re(`-f(no-)?stack-(.+)`),
    	re(`-f(no-)?strict-aliasing`),
    	re(`-f(un)signed-char`),
    	re(`-f(no-)?use-linker-plugin`), // safe if -B is not used; we don't permit -B
    	re(`-f(no-)?visibility-inlines-hidden`),
    	re(`-fsanitize=(.+)`),
    	re(`-ftemplate-depth-(.+)`),
    	re(`-fvisibility=(.+)`),
    	re(`-g([^@\-].*)?`),
    	re(`-m32`),
    	re(`-m64`),
    	re(`-m(abi|arch|cpu|fpu|tune)=([^@\-].*)`),
    	re(`-m(no-)?v?aes`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top