Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,387 for startm (0.13 sec)

  1. 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)
  2. pilot/pkg/model/test/mockopenidserver.go

    		TLSCertFile: tlsCert,
    		TLSKeyFile:  tlsKey,
    	}
    
    	return server, server.Start()
    }
    
    // Start starts the mock server.
    func (ms *MockOpenIDDiscoveryServer) Start() error {
    	var handler http.Handler
    	router := mux.NewRouter()
    	router.HandleFunc("/.well-known/openid-configuration", ms.openIDCfg).Methods("GET")
    	router.HandleFunc("/oauth2/v3/certs", ms.jwtPubKey).Methods("GET")
    	handler = router
    	if ms.timeout != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/trace/trace.go

    // other packages.
    type traceKey struct{}
    
    type traceContext struct {
    	t   *tracer
    	tid uint64
    }
    
    // Start starts a trace which writes to the given file.
    func Start(ctx context.Context, file string) (context.Context, func() error, error) {
    	traceStarted.Store(true)
    	if file == "" {
    		return nil, nil, errors.New("no trace file supplied")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationRunnerTest.groovy

                assert operationState.is(operationStateUnderTest)
            }
    
            where:
            defaultParent << [null, operation("parent")]
        }
    
        def "fires events when non-wrap-around start operation starts and finishes successfully"() {
            setup:
            def details = Mock(Object)
            def operationDetailsBuilder = displayName("<some-operation>").name("<op>").progressDisplayName("<some-op>").details(details)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:56:07 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/StandardOutputCapture.java

    package org.gradle.internal.logging;
    
    public interface StandardOutputCapture {
        /**
         * Starts redirection of System.out and System.err to the Gradle logging system.
         *
         * @return this
         */
        StandardOutputCapture start();
    
        /**
         * Restores System.out and System.err to the values they had before {@link #start()} has been called.
         *
         * @return this
         */
        StandardOutputCapture stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

                    ${server.callFromBuild("pending")}
                } as ${PendingChangesListener.canonicalName})
    
                task work(type: SimpleTask)
            """
    
            file("input.txt").text = "start"
        }
    
        def "build only starts when gate is opened"() {
            server.expect(server.get("command").send("close"))
            def command = server.expectAndBlock(server.get("command").send("open"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/StreamsHandler.java

        /**
         * Collects whatever state is required the given process. Should not start work.
         */
        void connectStreams(Process process, String processName, Executor executor);
    
        /**
         * Starts reading/writing/whatever the process' streams. May block until the streams reach some particular state, e.g. indicate that the process has started successfully.
         */
        void start();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top