Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for debugMsg (0.18 sec)

  1. internal/grid/debugmsg_string.go

    	_ = x[debugIsOutgoingClosed-7]
    }
    
    const _debugMsg_name = "debugShutdowndebugKillInbounddebugKillOutbounddebugWaitForExitdebugSetConnPingDurationdebugSetClientPingDurationdebugAddToDeadlinedebugIsOutgoingClosed"
    
    var _debugMsg_index = [...]uint8{0, 13, 29, 46, 62, 86, 112, 130, 151}
    
    func (i debugMsg) String() string {
    	if i < 0 || i >= debugMsg(len(_debugMsg_index)-1) {
    		return "debugMsg(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 09 16:43:38 GMT 2024
    - 993 bytes
    - Viewed (0)
  2. internal/grid/connection_test.go

    	remoteServer := startServer(t, listeners[1], wrapServer(remote.Handler()))
    	close(connReady)
    
    	defer func() {
    		local.debugMsg(debugShutdown)
    		remote.debugMsg(debugShutdown)
    		remoteServer.Close()
    		localServer.Close()
    		remote.debugMsg(debugWaitForExit)
    		local.debugMsg(debugWaitForExit)
    	}()
    
    	cleanReqs := make(chan struct{})
    	gotCall := make(chan struct{})
    	defer close(cleanReqs)
    	// 1: Block forever
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. internal/grid/debug.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    	debugShutdown debugMsg = iota
    	debugKillInbound
    	debugKillOutbound
    	debugWaitForExit
    	debugSetConnPingDuration
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. internal/grid/manager.go

    	var res []string
    	for k := range m.targets {
    		res = append(res, k)
    	}
    	return res
    }
    
    // debugMsg should *only* be used by tests.
    //
    //lint:ignore U1000 This is used by tests.
    func (m *Manager) debugMsg(d debugMsg, args ...any) {
    	for _, c := range m.targets {
    		c.debugMsg(d, args...)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. internal/grid/grid_test.go

    			},
    			OutCapacity: 1,
    			InCapacity:  1,
    		}))
    	}
    	register(local)
    	register(remote)
    	// Double remote DL
    	local.debugMsg(debugAddToDeadline, wantDL)
    	defer local.debugMsg(debugAddToDeadline, time.Duration(0))
    	remote.debugMsg(debugAddToDeadline, wantDL)
    	defer remote.debugMsg(debugAddToDeadline, time.Duration(0))
    
    	testHandler := func(t *testing.T, handler HandlerID) {
    		remoteConn := local.Connection(remoteHost)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    func (c *Connection) Stats() ConnectionStats {
    	return ConnectionStats{
    		IncomingStreams: c.inStream.Size(),
    		OutgoingStreams: c.outgoing.Size(),
    	}
    }
    
    func (c *Connection) debugMsg(d debugMsg, args ...any) {
    	if debugPrint {
    		fmt.Println("debug: sending message", d, args)
    	}
    
    	switch d {
    	case debugShutdown:
    		c.updateState(StateShutdown)
    	case debugKillInbound:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/cmd/asm/main.go

    	flags.Parse()
    
    	architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink)
    	if architecture == nil {
    		log.Fatalf("unrecognized architecture %s", GOARCH)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
Back to top