Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for debugReqs (0.1 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())
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K 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,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K 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)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 4.4K 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
    ```
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top