Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 159 for __callback (0.14 sec)

  1. src/internal/coverage/encodecounter/encode.go

    // CounterVisitor to the write/emit routines, then the expectation is
    // that the VisitFuncs method will then invoke the callback "f" with
    // data for each function to emit to the file.
    type CounterVisitor interface {
    	VisitFuncs(f CounterVisitorFn) error
    }
    
    // CounterVisitorFn describes a callback function invoked when writing
    // coverage counter data.
    type CounterVisitorFn func(pkid uint32, funcid uint32, counters []uint32) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. internal/grid/stream.go

    	select {
    	case s.Requests <- b:
    		return nil
    	case <-s.ctx.Done():
    		return context.Cause(s.ctx)
    	}
    }
    
    // Results returns the results from the remote server one by one.
    // If any error is returned by the callback, the stream will be canceled.
    // If the context is canceled, the stream will be canceled.
    func (s *Stream) Results(next func(b []byte) error) (err error) {
    	done := false
    	defer func() {
    		if s.cancel != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    	return &minioFileInfo{
    		p:     pathClean(object),
    		info:  objInfo,
    		isDir: isDir,
    	}, nil
    }
    
    // ListDir implements ftpDriver
    func (driver *ftpDriver) ListDir(ctx *ftp.Context, objPath string, callback func(os.FileInfo) error) (err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	clnt, err := driver.getMinIOClient(ctx)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. pkg/revisions/tag_watcher.go

    // when the tags change.
    type TagWatcher interface {
    	Run(stopCh <-chan struct{})
    	HasSynced() bool
    	AddHandler(handler TagHandler)
    	GetMyTags() sets.String
    }
    
    // TagHandler is a callback for when the tags revision change.
    type TagHandler func(sets.String)
    
    type tagWatcher struct {
    	revision string
    	handlers []TagHandler
    
    	queue    controllers.Queue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    				return errors.New("callback err")
    			},
    			// testHandshake returns the server side error, so we just need to
    			// check alertBadCertificate was sent
    			expectedErr: "callback err",
    		},
    		{
    			name: "VerifyConnection, err",
    			verifyConnection: func(ConnectionState) error {
    				return errors.New("callback err")
    			},
    			expectedErr: "tls: server rejected ECH",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. src/cmd/trace/goroutinegen.go

    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no G or P here
    		// if we're in a cgo callback or this is a transition from GoUndetermined
    		// (i.e. the G has been blocked in a syscall).
    		gs.syscallBegin(start, goID, ev.Stack())
    	}
    
    	// Note down the goroutine transition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/runtime/traceevent.go

    	traceEvGoCreateSyscall     // goroutine appears in syscall (cgo callback) [timestamp, new goroutine ID]
    	traceEvGoStart             // goroutine starts running [timestamp, goroutine ID, goroutine seq]
    	traceEvGoDestroy           // goroutine ends [timestamp]
    	traceEvGoDestroySyscall    // goroutine ends in syscall (cgo callback) [timestamp]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginAdapter.java

            createPluginService();
        }
    
        @Override
        public void buildFinished(@Nullable Throwable buildFailure) {
            // Ensure that all tasks are complete prior to the buildFinished callback.
            requiredServices.getBackgroundJobExecutors().stop();
    
            if (pluginService != null) {
                pluginService.getEndOfBuildListener().buildFinished(new DefaultDevelocityPluginResult(buildFailure));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/crypto/tls/common.go

    	// considering this callback. If normal verification is disabled (on the
    	// client when InsecureSkipVerify is set, or on a server when ClientAuth is
    	// RequestClientCert or RequireAnyClientCert), then this callback will be
    	// considered but the verifiedChains argument will always be nil. When
    	// ClientAuth is NoClientCert, this callback is not called on the server.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            1 * command.run() >> {
                instant.running
                thread.block()
            }
            1 * onFinishCommand.run()
            0 * _._
        }
    
        def "cancelBuild stops daemon when cancel callback fails and command completes in short time"() {
            def command = Mock(Runnable)
    
            expect:
            notStopped
    
            when:
            coordinator.runCommand(command, "command")
            start {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top