Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,436 for startm (0.19 sec)

  1. cmd/server-startup-msg.go

    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    func printStartupMessage(apiEndpoints []string, err error) {
    	logger.Info(color.Bold(MinioBannerName))
    	if err != nil {
    		if globalConsoleSys != nil {
    			globalConsoleSys.Send(GlobalContext, fmt.Sprintf("Server startup failed with '%v', some features may be missing", err))
    		}
    	}
    
    	if !globalSubnetConfig.Registered() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/internal/trace/parser.go

    	EvProcStart         = 5  // start of P [timestamp, thread id]
    	EvProcStop          = 6  // stop of P [timestamp]
    	EvGCStart           = 7  // GC start [timestamp, seq, stack id]
    	EvGCDone            = 8  // GC done [timestamp]
    	EvSTWStart          = 9  // GC mark termination start [timestamp, kind]
    	EvSTWDone           = 10 // GC mark termination done [timestamp]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/annotations-stress.go

    func main() {
    	baseCtx := context.Background()
    
    	// Create a task that starts and ends entirely outside of the trace.
    	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()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    // Load returns the recorded stats.
    func (stats *HTTPAPIStats) Load(toLower bool) map[string]int {
    	if stats == nil {
    		return map[string]int{}
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/cmd/trace/gen.go

    	// Collect information about the task.
    	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()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/events.md

    These functions can be declared with `async def` or normal `def`.
    
    ### `startup` event
    
    To add a function that should be run before the application starts, declare it with the event `"startup"`:
    
    ```Python hl_lines="8"
    {!../../../docs_src/events/tutorial001.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/StandardOutputRedirector.java

    public interface StandardOutputRedirector {
    
        /**
         * Starts redirection of System.out and System.err to the listener attached to
         * {@link #redirectStandardErrorTo(OutputListener)} and
         * {@link #redirectStandardOutputTo(OutputListener)
         */
        void start();
    
        /**
         * Restores System.out and System.err to the values they had before {@link #start()} has been called.
         */
        void stop();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

            when:
            handler.reservePort()
            handler.start(10, {})
            handler.start(11, {})
            handler.start(12, {})
    
            then:
            2 * factory.create(_ as String) >> Mock(ManagedExecutor)
        }
    
        def "cannot start contention handling when the handler was stopped"() {
            handler.stop()
    
            when:
            handler.start(10, {})
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/net/http/httptest/server.go

    	}
    	return false
    }
    
    // NewServer starts and returns a new [Server].
    // The caller should call Close when finished, to shut it down.
    func NewServer(handler http.Handler) *Server {
    	ts := NewUnstartedServer(handler)
    	ts.Start()
    	return ts
    }
    
    // NewUnstartedServer returns a new [Server] but doesn't start it.
    //
    // After changing its configuration, the caller should call Start or
    // StartTLS.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/go/printer/gobuild.go

    		pos++
    	}
    	return p.output[start:pos]
    }
    
    func (p *printer) commentTextAt(start int) string {
    	if start < len(p.output) && p.output[start] == tabwriter.Escape {
    		start++
    	}
    	pos := start
    	for pos < len(p.output) && p.output[pos] != tabwriter.Escape && !isNL(p.output[pos]) {
    		pos++
    	}
    	return string(p.output[start:pos])
    }
    
    func isNL(b byte) bool {
    	return b == '\n' || b == '\f'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top