Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for handleKey (0.36 sec)

  1. src/cmd/vendor/golang.org/x/term/terminal.go

    			}
    		case r == '\x1b':
    			inEscapeSeq = true
    		default:
    			length++
    		}
    	}
    
    	return length
    }
    
    // handleKey processes the given key and, optionally, returns a line of text
    // that the user has entered.
    func (t *Terminal) handleKey(key rune) (line string, ok bool) {
    	if t.pasteActive && key != keyEnter {
    		t.addKeyToLine(key)
    		return
    	}
    
    	switch key {
    	case keyBackspace:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          if (detailsText.style.display === 'block') {
            detailsText.style.display = 'none';
          } else {
            detailsText.style.display = 'block';
          }
        }
      }
    
      function handleKey(e) {
        if (e.keyCode != 13) return;
        setHrefParams(window.location, function (params) {
          params.set('f', search.value);
        });
        e.preventDefault();
      }
    
      function handleSearch() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/ifrt/lower_to_ifrt_restore_variable.mlir

    // CHECK-NEXT:     [[HANDLEY:%.*]] = "tf.VarHandleOp"() <{container = "", shared_name = "y"}> : () -> tensor<!tf_type.resource<tensor<3x1xf32>>>
    // CHECK-NEXT:     "tf.IfrtRestoreVariableOp"([[PREFIX]], [[NAME]], [[SLICE]], [[HANDLEY]])
    // CHECK-SAME:        {restored_dtypes = [f32], truncate_in_cast = array<i1: false>}
    // CHECK-NOT:       "tf.RestoreV2"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/state.go

    }
    
    type DistroReportHandler struct {
    	dc *Controller
    }
    
    func (drh *DistroReportHandler) OnAdd(obj any, _ bool) {
    	drh.HandleNew(obj)
    }
    
    func (drh *DistroReportHandler) OnUpdate(oldObj, newObj any) {
    	drh.HandleNew(newObj)
    }
    
    func (drh *DistroReportHandler) HandleNew(obj any) {
    	cm, ok := obj.(*v1.ConfigMap)
    	if !ok {
    		scope.Warnf("expected configmap, but received %v, discarding", obj)
    		return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. pkg/probe/http/http_test.go

    			reqHeaders: http.Header{
    				"Host": {"muffins.cupcakes.org"},
    			},
    			health:  probe.Success,
    			accBody: "muffins.cupcakes.org",
    		},
    		{
    			handler: handleReq(FailureCode, "fail body"),
    			health:  probe.Failure,
    		},
    		{
    			handler: handleReq(http.StatusInternalServerError, "fail body"),
    			health:  probe.Failure,
    		},
    		{
    			handler: func(w http.ResponseWriter, r *http.Request) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:40:08 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top