Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for HandleFunc (0.24 sec)

  1. src/cmd/trace/main.go

    	mux.HandleFunc("/regionblock", traceviewer.SVGProfileHandlerFunc(pprofByRegion(computePprofBlock(), parsed)))
    	mux.HandleFunc("/regionsyscall", traceviewer.SVGProfileHandlerFunc(pprofByRegion(computePprofSyscall(), parsed)))
    	mux.HandleFunc("/regionsched", traceviewer.SVGProfileHandlerFunc(pprofByRegion(computePprofSched(), parsed)))
    
    	// Region endpoints.
    	mux.HandleFunc("/userregions", UserRegionsHandlerFunc(parsed))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/server.go

    	if s.enableProfiling {
    		// Add the handler for pprof.
    		mux.HandleFunc("/debug/pprof/", s.handlePprofIndex)
    		mux.HandleFunc("/debug/pprof/cmdline", s.handlePprofCmdline)
    		mux.HandleFunc("/debug/pprof/profile", s.handlePprofProfile)
    		mux.HandleFunc("/debug/pprof/symbol", s.handlePprofSymbol)
    		mux.HandleFunc("/debug/pprof/trace", s.handlePprofTrace)
    	}
    	mux.HandleFunc("/debug/ndsz", s.handleNdsz)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

            succeeded(adjustBranch(ifop, ifop.then_function(), rewriter)) ||
            succeeded(adjustBranch(ifop, ifop.else_function(), rewriter));
        return LogicalResult::success(success);
      }
    };
    
    class HandleFunc : public OpRewritePattern<func::FuncOp> {
     public:
      using OpRewritePattern::OpRewritePattern;
    
      LogicalResult matchAndRewrite(func::FuncOp f,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. pkg/istio-agent/xds_proxy.go

    	if err != nil {
    		log.Errorf("failed to start Tap XDS Proxy: %v", err)
    	}
    
    	httpMux := http.NewServeMux()
    	handler := p.makeTapHandler()
    	httpMux.HandleFunc("/debug/", handler)
    	httpMux.HandleFunc("/debug", handler) // For 1.10 Istiod which uses istio.io/debug
    
    	mixedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. cmd/kube-scheduler/app/server.go

    	configz.InstallHandler(pathRecorderMux)
    	pathRecorderMux.Handle("/metrics", legacyregistry.HandlerWithReset())
    
    	resourceMetricsHandler := resources.Handler(informers.Core().V1().Pods().Lister())
    	pathRecorderMux.HandleFunc("/metrics/resources", func(w http.ResponseWriter, req *http.Request) {
    		if !isLeader() {
    			return
    		}
    		resourceMetricsHandler.ServeHTTP(w, req)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. pkg/kube/inject/webhook.go

    	if err != nil {
    		return nil, err
    	}
    	if err := wh.updateConfig(sidecarConfig, valuesConfig); err != nil {
    		log.Errorf("failed to process webhook config: %v", err)
    	}
    
    	p.Mux.HandleFunc("/inject", wh.serveInject)
    	p.Mux.HandleFunc("/inject/", wh.serveInject)
    
    	p.Env.Watcher.AddMeshHandler(func() {
    		wh.mu.Lock()
    		wh.meshConfig = p.Env.Mesh()
    		wh.mu.Unlock()
    	})
    
    	return wh, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. src/net/http/request_test.go

    			},
    		},
    		{
    			"/names/{name}/{other...}",
    			"/names/n/*",
    			map[string]string{
    				"name":  "n",
    				"other": "*",
    			},
    		},
    	} {
    		mux := NewServeMux()
    		mux.HandleFunc(test.pattern, func(w ResponseWriter, r *Request) {
    			for name, want := range test.want {
    				got := r.PathValue(name)
    				if got != want {
    					t.Errorf("%q, %q: got %q, want %q", test.pattern, name, got, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/server.go

    	}
    
    	// Monitoring Server.
    	if err := s.initMonitor(args.ServerOptions.MonitoringAddr); err != nil {
    		return fmt.Errorf("error initializing monitor: %v", err)
    	}
    
    	// Readiness Handler.
    	s.httpMux.HandleFunc("/ready", s.istiodReadyHandler)
    
    	return nil
    }
    
    // initDiscoveryService initializes discovery server on plain text port.
    func (s *Server) initDiscoveryService() {
    	log.Infof("starting discovery service")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top