Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for delimiter (0.64 sec)

  1. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    			props: CSPropBits(flags),
    			score: score,
    			mask:  scoreAdjustTyp(mask),
    		}
    	}
    
    	// Consume function delimiter.
    	dr.scan()
    	line = dr.curLine()
    	if line != fnDelimiter {
    		return funcInlHeur, nil, fmt.Errorf("malformed testcase file %q, missing delimiter %q", dr.p, fnDelimiter)
    	}
    
    	return funcInlHeur, callsites, nil
    }
    
    // gatherPropsDumpForFile builds the specified testcase 'testcase' from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    	return fullBuffers, frag, totalLen, err
    }
    
    // ReadBytes reads until the first occurrence of delim in the input,
    // returning a slice containing the data up to and including the delimiter.
    // If ReadBytes encounters an error before finding a delimiter,
    // it returns the data read before the error and the error itself (often io.EOF).
    // ReadBytes returns err != nil if and only if the returned data does not end in
    // delim.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/build.go

    }
    
    // expandSrcDir expands any occurrence of ${SRCDIR}, making sure
    // the result is safe for the shell.
    func expandSrcDir(str string, srcdir string) (string, bool) {
    	// "\" delimited paths cause safeCgoName to fail
    	// so convert native paths with a different delimiter
    	// to "/" before starting (eg: on windows).
    	srcdir = filepath.ToSlash(srcdir)
    
    	chunks := strings.Split(str, "${SRCDIR}")
    	if len(chunks) < 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner_test.go

    	{_AssignOp, ">>=", Shr, precMul},
    
    	// other operations
    	{_IncOp, "++", Add, precAdd},
    	{_IncOp, "--", Sub, precAdd},
    	{_Assign, "=", 0, 0},
    	{_Define, ":=", 0, 0},
    	{_Arrow, "<-", 0, 0},
    
    	// delimiters
    	{_Lparen, "(", 0, 0},
    	{_Lbrack, "[", 0, 0},
    	{_Lbrace, "{", 0, 0},
    	{_Rparen, ")", 0, 0},
    	{_Rbrack, "]", 0, 0},
    	{_Rbrace, "}", 0, 0},
    	{_Comma, ",", 0, 0},
    	{_Semi, ";", 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/script/engine.go

    		} else if err != nil {
    			return lineErr(err)
    		}
    		line = strings.TrimSuffix(line, "\n")
    		lineno++
    
    		// The comment character "#" at the start of the line delimits a section of
    		// the script.
    		if strings.HasPrefix(line, "#") {
    			// If there was a previous section, the fact that we are starting a new
    			// one implies the success of the previous one.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    				return err
    			}
    			buf.Write(blk[:])
    			for _, c := range blk {
    				if c == '\n' {
    					cntNewline++
    				}
    			}
    		}
    		return nil
    	}
    
    	// nextToken gets the next token delimited by a newline. This assumes that
    	// at least one newline exists in the buffer.
    	nextToken := func() string {
    		cntNewline--
    		tok, _ := buf.ReadString('\n')
    		return strings.TrimRight(tok, "\n")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top