Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for endLine (0.24 sec)

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

    			if pkg != "" && pkg != prevPkg {
    				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 {
    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. 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)
  3. src/internal/trace/summary_test.go

    		return
    	}
    	if (summary.StartTime != 0 && summary.CreationTime > summary.StartTime) ||
    		(summary.StartTime != 0 && summary.EndTime != 0 && summary.StartTime > summary.EndTime) {
    		t.Errorf("bad summary creation/start/end times for G %d: creation=%d start=%d end=%d", summary.ID, summary.CreationTime, summary.StartTime, summary.EndTime)
    	}
    	if (summary.PC != 0 && summary.Name == "") || (summary.PC == 0 && summary.Name != "") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/cmd/trace/gen.go

    	var startStack, endStack trace.Stack
    	var startG, endG trace.GoID
    	startTime, endTime := ctx.startTime, ctx.endTime
    	if task.Start != nil {
    		startStack = task.Start.Stack()
    		startG = task.Start.Goroutine()
    		startTime = task.Start.Time()
    	}
    	if task.End != nil {
    		endStack = task.End.Stack()
    		endG = task.End.Goroutine()
    		endTime = task.End.Time()
    	}
    	arg := struct {
    		ID     uint64 `json:"id"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

    import org.gradle.internal.time.Clock;
    import org.junit.platform.engine.DiscoverySelector;
    import org.junit.platform.engine.FilterResult;
    import org.junit.platform.engine.TestDescriptor;
    import org.junit.platform.engine.TestExecutionResult;
    import org.junit.platform.engine.TestSource;
    import org.junit.platform.engine.discovery.DiscoverySelectors;
    import org.junit.platform.engine.support.descriptor.ClassSource;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/encoding/gob/encode.go

    			}
    			op, indir := encOpFor(f.Type, seen, building)
    			engine.instr = append(engine.instr, encInstr{*op, wireFieldNum, f.Index, indir})
    			wireFieldNum++
    		}
    		if srt.NumField() > 0 && len(engine.instr) == 0 {
    			errorf("type %s has no exported fields", rt)
    		}
    		engine.instr = append(engine.instr, encInstr{encStructTerminator, 0, nil, 0})
    	} else {
    		engine.instr = make([]encInstr, 1)
    		op, indir := encOpFor(rt, seen, building)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/cmd/trace/pprof.go

    	for _, g := range t.summary.Goroutines {
    		if name != "" && g.Name != name {
    			continue
    		}
    		endTime := g.EndTime
    		if g.EndTime == 0 {
    			endTime = t.endTime() // Use the trace end time, since the goroutine is still live then.
    		}
    		res[g.ID] = []interval{{start: g.StartTime, end: endTime}}
    	}
    	if len(res) == 0 {
    		return nil, fmt.Errorf("failed to find matching goroutines for name: %s", name)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/cmd/trace/gstate.go

    // further events will be processed. This method may leave the gState in
    // an inconsistent state.
    func (gs *gState[R]) finish(ctx *traceContext) {
    	if gs.executing != R(noResource) {
    		gs.syscallEnd(ctx.endTime, false, ctx)
    		gs.stop(ctx.endTime, trace.NoStack, ctx)
    	}
    }
    
    // rangeBegin indicates the start of a special range of time.
    func (gs *gState[R]) rangeBegin(ts trace.Time, name string, stack trace.Stack) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/internal/trace/gc.go

    	right := left
    	time, endTime := c.bandTime(bandIdx)
    	if utilEnd := util[len(util)-1].Time - int64(window); utilEnd < endTime {
    		endTime = utilEnd
    	}
    	acc.resetTime()
    	for {
    		// Advance edges to time and time+window.
    		mu := (right.advance(time+int64(window)) - left.advance(time)).mean(window)
    		if acc.addMU(time, mu, window) {
    			break
    		}
    		if time == endTime {
    			break
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    	defer periodicTimer.Stop()
    
    	for {
    		select {
    		case <-periodicTimer.C:
    			now := UTCNow()
    			ahs.Lock()
    			for path, h := range ahs.healSeqMap {
    				if h.hasEnded() && h.endTime.Add(keepHealSeqStateDuration).Before(now) {
    					delete(ahs.healSeqMap, path)
    				}
    			}
    			ahs.Unlock()
    
    			periodicTimer.Reset(time.Minute * 5)
    		case <-ctx.Done():
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 18:04:41 UTC 2024
    - 25.1K bytes
    - Viewed (0)
Back to top