Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DebugPrint (0.54 sec)

  1. internal/grid/muxclient.go

    // m.respMu must be held.
    func (m *muxClient) sendLocked(msg message) error {
    	dst := GetByteBufferCap(msg.Msgsize())
    	msg.Seq = m.SendSeq
    	msg.MuxID = m.MuxID
    	msg.Flags |= m.BaseFlags
    	if debugPrint {
    		fmt.Println("Client sending", &msg, "to", m.parent.Remote)
    	}
    	m.SendSeq++
    
    	dst, err := msg.MarshalMsg(dst)
    	if err != nil {
    		return err
    	}
    	if msg.Flags&FlagSubroute != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    		}
    		dialer.TLSConfig = c.tlsConfig
    		dialStarted := time.Now()
    		if debugPrint {
    			fmt.Println(c.Local, "Connecting to ", toDial)
    		}
    		conn, br, _, err := dialer.Dial(c.ctx, toDial)
    		if br != nil {
    			ws.PutReader(br)
    		}
    		c.connMu.Lock()
    		c.debugOutConn = conn
    		c.connMu.Unlock()
    		retry := func(err error) {
    			if debugPrint {
    				fmt.Printf("%v Connecting to %v: %v. Retrying.\n", c.Local, toDial, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. internal/grid/manager.go

    		defer func() {
    			if debugPrint {
    				fmt.Printf("grid: Handler returning from: %v %v\n", req.Method, req.URL)
    			}
    			if r := recover(); r != nil {
    				debug.PrintStack()
    				err := fmt.Errorf("grid: panic: %v\n", r)
    				gridLogIf(context.Background(), err, err.Error())
    				w.WriteHeader(http.StatusInternalServerError)
    			}
    		}()
    		if debugPrint {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    // protocol buffers.
    func dataAsString(data []byte) string {
    	dataString := string(data)
    	if !strings.HasPrefix(dataString, "{") {
    		dataString = "\n" + hex.Dump(data)
    		proto.NewBuffer(make([]byte, 0, 1024)).DebugPrint("decoded object", data)
    	}
    	return dataString
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top