Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,386 for startm (0.26 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        delegate.enqueue(response.wrap())
      }
    
      @Throws(IOException::class)
      @JvmOverloads
      fun start(port: Int = 0) {
        started = true
        delegate.start(port)
      }
    
      @Throws(IOException::class)
      fun start(
        inetAddress: InetAddress,
        port: Int,
      ) {
        started = true
        delegate.start(inetAddress, port)
      }
    
      @Synchronized
      @Throws(IOException::class)
      fun shutdown() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K 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. 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)
  4. 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)
  5. 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)
  6. 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)
  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-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)
  9. 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)
  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