Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,210 for START (0.04 sec)

  1. src/internal/trace/testdata/testprog/gc-stress.go

    		}()
    	}
    	// Increase the chance that we end up starting and stopping
    	// mid-GC by only starting to trace after a few milliseconds.
    	time.Sleep(5 * time.Millisecond)
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	defer trace.Stop()
    
    	// Let the tracing happen for a bit.
    	time.Sleep(400 * time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java

                            SerializedOperationStart start = pending.start;
    
                            Map<String, ?> detailsMap = uncheckedCast(start.details);
                            Map<String, ?> resultMap = uncheckedCast(finish.result);
    
                            BuildOperationRecord record = new BuildOperationRecord(
                                start.id,
                                start.parentId,
                                start.displayName,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. internal/grid/trace.go

    		TraceType: t.TraceType,
    		FuncName:  prefix + "." + h.String(),
    		NodeName:  remote,
    		Time:      start,
    		Duration:  end.Sub(start),
    		Path:      t.Subroute,
    		Error:     errString,
    		Bytes:     int64(len(req) + len(resp)),
    		HTTP: &madmin.TraceHTTPStats{
    			ReqInfo: madmin.TraceRequestInfo{
    				Time:    start,
    				Proto:   "grid",
    				Method:  "REQ",
    				Client:  local,
    				Headers: nil,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/leaderelection_test.go

    				})
    			}
    		}
    	}
    
    	for _, start := range cases {
    		t.Run(fmt.Sprint(start), func(t *testing.T) {
    			checkCycles(t, start, cases, nil)
    		})
    	}
    }
    
    func alreadyHit(cur instance, chain []instance) bool {
    	for _, cc := range chain {
    		if cur == cc {
    			return true
    		}
    	}
    	return false
    }
    
    func checkCycles(t *testing.T, start instance, cases []instance, chain []instance) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/server.go

    				// TODO: receive identity label value as a parameter when post start hook is moved to generic apiserver.
    				labelAPIServerHeartbeatFunc(name, peeraddress))
    			go controller.Run(ctx)
    			return nil
    		})
    		// TODO: move this into generic apiserver and make the lease identity value configurable
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:24:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/net/http/fs.go

    		ra = textproto.TrimString(ra)
    		if ra == "" {
    			continue
    		}
    		start, end, ok := strings.Cut(ra, "-")
    		if !ok {
    			return nil, errors.New("invalid range")
    		}
    		start, end = textproto.TrimString(start), textproto.TrimString(end)
    		var r httpRange
    		if start == "" {
    			// If no start is specified, end specifies the
    			// range start relative to the end of the file,
    			// and we are dealing with <suffix-length>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. src/go/ast/import.go

    		for specIndex+1 < len(specs) && pos[specIndex+1].Start <= g.Pos() {
    			specIndex++
    		}
    		var left bool
    		// A block comment can appear before the first import spec.
    		if specIndex == 0 && pos[specIndex].Start > g.Pos() {
    			left = true
    		} else if specIndex+1 < len(specs) && // Or it can appear on the left of an import spec.
    			lineAt(fset, pos[specIndex].Start)+1 == lineAt(fset, g.Pos()) {
    			specIndex++
    			left = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/cgo-callback.go

    	// Do another call into C, just to test that path too.
    	C.bar()
    }
    
    //export go_callback2
    func go_callback2() {
    	runtime.GC()
    }
    
    func main() {
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    
    	// Do a whole bunch of cgocallbacks.
    	const n = 10
    	done := make(chan bool)
    	for i := 0; i < n; i++ {
    		go func() {
    			C.foo()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/annotations-stress.go

    	ctx0, t0 := trace.NewTask(baseCtx, "parent")
    
    	// Create a task that starts before the trace and ends during the trace.
    	ctx1, t1 := trace.NewTask(ctx0, "type1")
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	t1.End()
    
    	// Create a task that starts during the trace and ends after.
    	ctx2, t2 := trace.NewTask(ctx0, "type2")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. cmd/sftp-server.go

    		}
    	}
    	if len(filteredAlgos) == 0 {
    		logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    	}
    	return filteredAlgos
    }
    
    func startSFTPServer(args []string) {
    	var (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top