Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 471 for line_ (0.04 sec)

  1. 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
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/toolchain/select.go

    		f.Close()
    		return err
    	}
    	return f.Close()
    }
    
    // modGoToolchain finds the enclosing go.work or go.mod file
    // and returns the go version and toolchain lines from the file.
    // The toolchain line overrides the version line
    func modGoToolchain() (file, goVers, toolchain string) {
    	wd := base.UncachedCwd()
    	file = modload.FindGoWork(wd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. doc/godebug.md

    (Toolchains older than Go 1.23 reject all `godebug` lines, since they do not
    understand `godebug` at all.)
    
    The defaults from the `go` and `godebug` lines apply to all main
    packages that are built. For more fine-grained control,
    starting in Go 1.21, a main package's source files
    can include one or more `//go:debug` directives at the top of the file
    (preceding the `package` statement).
    The `godebug` lines in the previous example would be written:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    	var analyses = []*analysis.Analyzer{
    		unusedresult.Analyzer,
    		nilness.Analyzer,
    		printf.Analyzer,
    	}
    
    A driver may use the name, flags, and documentation to provide on-line
    help that describes the analyses it performs.
    The doc comment contains a brief one-line summary,
    optionally followed by paragraphs of explanation.
    
    The [Analyzer] type has more fields besides those shown above:
    
    	type Analyzer struct {
    		Name             string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc

    |<<#sec:basic,basic>>|A basic, empty, Gradle build
    |<<#sec:java_application,java-application>>|A command-line application implemented in Java
    |<<#sec:java_gradle_plugin,java-gradle-plugin>>|A Gradle plugin implemented in Java
    |<<#sec:java_library,java-library>>|A Java library
    |<<#sec:kotlin_application,kotlin-application>>|A command-line application implemented in Kotlin/JVM
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/reference/command_line_interface.adoc

    gradle --help
    gradle -h
    ----
    
    NOTE: Many command-line flags can be specified in `gradle.properties` to avoid needing to be typed.
    See the <<build_environment.adoc#sec:gradle_configuration_properties, Configuring build environment guide>> for details.
    
    == Command-line usage
    
    The following sections describe the use of the Gradle command-line interface.
    
    Some plugins also add their own command line options.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. src/testing/testing_test.go

    	inRunningTests := false
    	for _, line := range strings.Split(string(out), "\n") {
    		if inRunningTests {
    			// Package testing adds one tab, the panic printer adds another.
    			if trimmed, ok := strings.CutPrefix(line, "\t\t"); ok {
    				if name, _, ok := strings.Cut(trimmed, " "); ok {
    					runningTests = append(runningTests, name)
    					continue
    				}
    			}
    
    			// This line is not the name of a running test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. pkg/registry/core/service/storage/storage_test.go

    		})
    	}
    }
    
    // line returns the line number of the caller, if possible.  This is useful in
    // tests with a large number of cases - when something goes wrong you can find
    // which case more easily.
    func line() string {
    	_, _, line, ok := stdruntime.Caller(1)
    	var s string
    	if ok {
    		s = fmt.Sprintf("%d", line)
    	} else {
    		s = "<??>"
    	}
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/pos.go

    func (pos Pos) RelLine() uint {
    	b := pos.base
    	if b.Line() == 0 {
    		// base line is unknown => relative line is unknown
    		return 0
    	}
    	return b.Line() + (pos.Line() - b.Pos().Line())
    }
    
    func (pos Pos) RelCol() uint {
    	b := pos.base
    	if b.Col() == 0 {
    		// base column is unknown => relative column is unknown
    		// (the current specification for line directives requires
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/fetch.go

    	}
    
    	db, lines, err := lookupSumDB(mod)
    	if err != nil {
    		return module.VersionError(modWithoutSuffix, fmt.Errorf("verifying %s: %v", noun, err))
    	}
    
    	have := mod.Path + " " + mod.Version + " " + h
    	prefix := mod.Path + " " + mod.Version + " h1:"
    	for _, line := range lines {
    		if line == have {
    			return nil
    		}
    		if strings.HasPrefix(line, prefix) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top