Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for readProfile (0.15 sec)

  1. src/runtime/cpuprof.go

    	return ticksPerSecond()
    }
    
    // readProfile, provided to runtime/pprof, returns the next chunk of
    // binary CPU profiling stack trace data, blocking until data is available.
    // If profiling is turned off and all the profile data accumulated while it was
    // on has been returned, readProfile returns eof=true.
    // The caller must save the returned data and tags before calling readProfile again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    	go profileWriter(w)
    	return nil
    }
    
    // readProfile, provided by the runtime, returns the next chunk of
    // binary CPU profiling stack trace data, blocking until data is available.
    // If profiling is turned off and all the profile data accumulated while it was
    // on has been returned, readProfile returns eof=true.
    // The caller must save the returned data and tags before calling readProfile again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    				delay += s.Value[1]
    			}
    		}
    		return
    	}
    
    	blockMutex(t)
    	contentions, delay := readProfile()
    	if contentions == 0 || delay == 0 {
    		t.Fatal("did not see expected function in profile")
    	}
    	runtime.SetMutexProfileFraction(0)
    	newContentions, newDelay := readProfile()
    	if newContentions != contentions || newDelay != delay {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. operator/pkg/helm/renderer.go

    	by, err := fs.ReadFile(manifests.BuiltinOrDir(chartsDir), path)
    	if err != nil {
    		return "", err
    	}
    	return string(by), nil
    }
    
    func readProfiles(chartsDir string) (map[string]bool, error) {
    	profiles := map[string]bool{}
    	f := manifests.BuiltinOrDir(chartsDir)
    	dir, err := fs.ReadDir(f, profilesRoot)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 13 01:59:17 UTC 2022
    - 5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        source1.close()
        source2.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_CLEAN, 10L, metadata.size, "abcdefghij", metadata)
      }
    
      @Test
      fun readFromFile() {
        val upstream = Buffer()
        upstream.writeUtf8("abcdefghijklmnopqrst")
        val relay = edit(file, upstream, metadata, 5)
        val source1 = relay.newSource()!!.buffer()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. operator/pkg/helm/helm.go

    // a profile label or a file path.
    func GetProfileYAML(installPackagePath, profileOrPath string) (string, error) {
    	if profileOrPath == "" {
    		profileOrPath = "default"
    	}
    	profiles, err := readProfiles(installPackagePath)
    	if err != nil {
    		return "", fmt.Errorf("failed to read profiles: %v", err)
    	}
    	// If charts are a file path and profile is a name like default, transform it to the file path.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top