Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for debugReqs (0.47 sec)

  1. internal/grid/benchmark_test.go

    					st, err := conn.NewStream(ctx, handlerTest, payload)
    					if err != nil {
    						if debugReqs {
    							fmt.Println(err.Error())
    						}
    						b.Fatal(err.Error())
    					}
    					got := 0
    					err = st.Results(func(b []byte) error {
    						got++
    						PutByteBuffer(b)
    						return nil
    					})
    					if err != nil {
    						if debugReqs {
    							fmt.Println(err.Error())
    						}
    						b.Fatal(err.Error())
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    		}()
    
    		if m.DeadlineMS > 0 && time.Since(start).Milliseconds()+c.addDeadline.Milliseconds() > int64(m.DeadlineMS) {
    			if debugReqs {
    				fmt.Println(m.MuxID, c.StringReverse(), "DEADLINE EXCEEDED")
    			}
    			// No need to return result
    			PutByteBuffer(b)
    			return
    		}
    		if debugReqs {
    			fmt.Println(m.MuxID, c.StringReverse(), "RESPONDING")
    		}
    		m = message{
    			MuxID: m.MuxID,
    			Seq:   m.Seq,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. internal/grid/muxclient.go

    		defer cancel()
    	}
    	// Send request
    	if err := m.send(msg); err != nil {
    		return nil, err
    	}
    	if debugReqs {
    		fmt.Println(m.MuxID, m.parent.String(), "SEND")
    	}
    	// Wait for response or context.
    	select {
    	case v, ok := <-ch:
    		if !ok {
    			return nil, ErrDisconnected
    		}
    		if debugReqs && v.Err != nil {
    			v.Err = fmt.Errorf("%d %s RESP ERR: %w", m.MuxID, m.parent.String(), v.Err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  4. internal/grid/debug.go

    )
    
    //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
    	debugSetClientPingDuration
    	debugAddToDeadline
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    #### Debug builds
    
    When [building Tensorflow](https://www.tensorflow.org/install/source), passing
    `--config=dbg` to Bazel will build with debugging information and without
    optimizations, allowing you to use GDB or other debuggers to debug C++ code. For
    example, you can build the pip package with debugging information by running:
    
    ```bash
    bazel build --config=dbg //tensorflow/tools/pip_package:build_pip_package
    ```
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top