Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for switchPivots (0.13 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

        const val = search.value;
        try {
          new RegExp(search.value);
        } catch (error) {
          return;  // TODO: Display error state in search box
        }
        switchPivots(val);
      }
    
      function switchPivots(regexp) {
        // Switch URL without hitting the server.
        const url = new URL(document.URL);
        if (regexp === '' || regexp === '^$') {
          url.searchParams.delete('p');  // Not pivoting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top