Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for parseLine (0.16 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockFileReaderWriter.java

                                return false;
                            } else {
                                return true;
                            }
                        }).forEach(line -> parseLine(line, uniqueLockState));
                } catch (IOException e) {
                    throw new RuntimeException("Unable to load unique lockfile", e);
                }
                for (String emptyLockId : emptyLockIds) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    			}
    			in.lex()
    			return x
    		default:
    			l := in.parseLine()
    			x.Line = append(x.Line, l)
    			l.Comment().Before = comments
    			comments = nil
    		}
    	}
    }
    
    func (in *input) parseLine() *Line {
    	tok := in.lex()
    	if tok.kind.isEOL() {
    		in.Error("internal parse error: parseLine at end of line")
    	}
    	start := tok.pos
    	end := tok.endPos
    	tokens := []string{tok.text}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/strconv/doc.go

    //	s := strconv.Itoa(-42)
    //
    // These assume decimal and the Go int type.
    //
    // [ParseBool], [ParseFloat], [ParseInt], and [ParseUint] convert strings to values:
    //
    //	b, err := strconv.ParseBool("true")
    //	f, err := strconv.ParseFloat("3.1415", 64)
    //	i, err := strconv.ParseInt("-42", 10, 64)
    //	u, err := strconv.ParseUint("42", 10, 64)
    //
    // The parse functions return the widest type (float64, int64, and uint64),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/strconv/atoi.go

    // IntSize is the size in bits of an int or uint value.
    const IntSize = intSize
    
    const maxUint64 = 1<<64 - 1
    
    // ParseUint is like [ParseInt] but for unsigned numbers.
    //
    // A sign prefix is not permitted.
    func ParseUint(s string, base int, bitSize int) (uint64, error) {
    	const fnParseUint = "ParseUint"
    
    	if s == "" {
    		return 0, syntaxError(fnParseUint, s)
    	}
    
    	base0 := base == 0
    
    	s0 := s
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            public IntervalRule(final String from, final String to, final String days, final long delay) {
                final int[] fints = parseTime(from);
                fromHours = fints[0];
                fromMinutes = fints[1];
                final int[] tints = parseTime(to);
                toHours = tints[0];
                toMinutes = tints[1];
                final String[] values = days.split(",");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/cmd/trace/jsontrace.go

    		if startStr, endStr := r.FormValue("start"), r.FormValue("end"); startStr != "" && endStr != "" {
    			var err error
    			start, err = strconv.ParseInt(startStr, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse start parameter %q: %v", startStr, err)
    				return
    			}
    
    			end, err = strconv.ParseInt(endStr, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse end parameter %q: %v", endStr, err)
    				return
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    				p.PeriodType = &ValueType{
    					Type: "contentions", Unit: "count",
    				}
    				if p.Period, err = strconv.ParseInt(value, 0, 64); err != nil {
    					return nil, fmt.Errorf("failed to parse attribute %s: %v", line, err)
    				}
    			case "contention/ms since reset":
    				millis, err := strconv.ParseInt(value, 0, 64)
    				if err != nil {
    					return nil, fmt.Errorf("failed to parse attribute %s: %v", line, err)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/internal/trace/testtrace/format.go

    package testtrace
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/txtar"
    	"io"
    )
    
    // ParseFile parses a test file generated by the testgen package.
    func ParseFile(testPath string) (io.Reader, *Expectation, error) {
    	ar, err := txtar.ParseFile(testPath)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to read test file for %s: %v", testPath, err)
    	}
    	if len(ar.Files) != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final long parseTime = System.currentTimeMillis();
                final SuggestIndexResponse response = index(array);
                final long indexTime = System.currentTimeMillis();
    
                if (logger.isInfoEnabled()) {
                    printProcessingInfo("queries", queryLogs.length, array, parseTime - start, indexTime - parseTime);
                }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/go/printer/printer_test.go

    // src is syntactically correct, and returns the resulting src or an error
    // if any.
    func format(src []byte, mode checkMode) ([]byte, error) {
    	// parse src
    	f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
    	if err != nil {
    		return nil, fmt.Errorf("parse: %s\n%s", err, src)
    	}
    
    	// filter exports if necessary
    	if mode&export != 0 {
    		ast.FileExports(f) // ignore result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top