Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 323 for line_ (0.12 sec)

  1. src/cmd/go/alldocs.go

    //
    // The output is a sequence of stanzas, one for each package or module
    // name on the command line, separated by blank lines. Each stanza begins
    // with a comment line "# package" or "# module" giving the target
    // package or module. Subsequent lines give a path through the import
    // graph, one package per line. If the package or module is not
    // referenced from the main module, the stanza will display a single
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/emitdata_test.go

    	b, err = cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("go tool cover -func failed: %v", err)
    	}
    
    	lines := strings.Split(string(b), "\n")
    	nfound := 0
    	bad := false
    	for _, line := range lines {
    		f := strings.Fields(line)
    		if len(f) == 0 {
    			continue
    		}
    		// We're only interested in the specific function "large" for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java

        private static final GsonBuilder GSON_BUILDER = createGsonBuilder();
    
        public static List<? extends Problem> parseMessageList(String lines) {
            Gson gson = GSON_BUILDER.create();
            Type type = new TypeToken<List<DefaultProblem>>() {}.getType();
            return gson.<List<DefaultProblem>>fromJson(lines, type);
        }
    
        public static GsonBuilder createGsonBuilder() {
            GsonBuilder gsonBuilder = new GsonBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  4. src/go/build/read.go

    	if hasEmbed {
    		var line []byte
    		for first := true; r.findEmbed(first); first = false {
    			line = line[:0]
    			pos := r.pos
    			for {
    				c := r.readByteNoBuf()
    				if c == '\n' || r.err != nil || r.eof {
    					break
    				}
    				line = append(line, c)
    			}
    			// Add args if line is well-formed.
    			// Ignore badly-formed lines - the compiler will report them when it finds them,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/net/smtp/smtp.go

    	_, _, err := c.cmd(221, "QUIT")
    	if err != nil {
    		return err
    	}
    	return c.Text.Close()
    }
    
    // validateLine checks to see if a line has CR or LF as per RFC 5321.
    func validateLine(line string) error {
    	if strings.ContainsAny(line, "\n\r") {
    		return errors.New("smtp: A line must not contain CR or LF")
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

                org.gradle.util.internal.LimitedDescription description = new org.gradle.util.internal.LimitedDescription(maxLines);
                String line = reader.readLine();
                while (line != null) {
                    description.append(line);
                    line = reader.readLine();
                }
                return description.toString();
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

                        buffer = new char[16 * 1024];
                    }
                    int nread;
                    try {
                        // Read input as text rather than bytes, so that readAndForwardText() below can also read lines of text
                        nread = reader.read(buffer);
                    } catch (IOException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                    if (nread < 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  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