Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for cov (0.04 sec)

  1. cluster/log-dump/log-dump.sh

              run-in-docker-container "${node_name}" "kube-controller-manager" "cat /tmp/k8s-kube-controller-manager.cov" > "${dir}/kube-controller-manager.cov" || true
            else
              run-in-docker-container "${node_name}" "kube-proxy" "cat /tmp/k8s-kube-proxy.cov" > "${dir}/kube-proxy.cov" || true
            fi
          else
            echo 'Coverage profiles seem to exist, but cannot be retrieved from inside containers.'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 21:15:57 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. src/cmd/internal/cov/mreader.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cov
    
    import (
    	"cmd/internal/bio"
    	"io"
    	"os"
    )
    
    // This file contains the helper "MReader", a wrapper around bio plus
    // an "mmap'd read-only" view of the file obtained from bio.SliceRO().
    // MReader is designed to implement the io.ReaderSeeker interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:12:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/cover/html.go

    		for len(boundaries) > 0 && boundaries[0].Offset == i {
    			b := boundaries[0]
    			if b.Start {
    				n := 0
    				if b.Count > 0 {
    					n = int(math.Floor(b.Norm*9)) + 1
    				}
    				fmt.Fprintf(dst, `<span class="cov%v" title="%v">`, n, b.Count)
    			} else {
    				dst.WriteString("</span>")
    			}
    			boundaries = boundaries[1:]
    		}
    		switch b := src[i]; b {
    		case '>':
    			dst.WriteString("&gt;")
    		case '<':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  4. src/cmd/cover/cfg_test.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main_test
    
    import (
    	"cmd/internal/cov/covcmd"
    	"encoding/json"
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    func writeFile(t *testing.T, path string, contents []byte) {
    	if err := os.WriteFile(path, contents, 0666); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. pkg/util/coverage/coverage.go

    	// or if it's empty we just use a default in /tmp
    	coverageFile = os.Getenv("KUBE_COVERAGE_FILE")
    	if coverageFile == "" {
    		coverageFile = "/tmp/k8s-" + name + ".cov"
    	}
    	fmt.Println("Dumping coverage information to " + coverageFile)
    
    	flushInterval := 5 * time.Second
    	requestedInterval := os.Getenv("KUBE_COVERAGE_FLUSH_INTERVAL")
    	if requestedInterval != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 21:00:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    # f               yes             no              3               ---
    #
    
    [short] skip
    [!GOEXPERIMENT:coverageredesign] skip
    
    # Test all packages with -coverpkg=./...
    go test -coverprofile=cov.p -coverpkg=./... ./...
    stdout '^ok\s+M/a\s+\S+\s+coverage: 50.0% of statements in ./...'
    stdout '^ok\s+M/b\s+\S+\s+coverage: 60.0% of statements in ./...'
    stdout '^ok\s+M/c\s+\S+\s+coverage: 30.0% of statements in ./...'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/internal/coverage/cformat/format.go

    	pkgs := make([]string, 0, len(fm.pm))
    	for importpath := range fm.pm {
    		pkgs = append(pkgs, importpath)
    	}
    
    	rep := func(cov, tot uint64) error {
    		if tot != 0 {
    			if _, err := fmt.Fprintf(w, "coverage: %.1f%% of statements%s\n",
    				100.0*float64(cov)/float64(tot), covpkgs); err != nil {
    				return err
    			}
    		} else if noteEmpty {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/testing.md

    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    rootdir: /home/user/code/superawesome-cli/app
    plugins: forked-1.1.3, xdist-1.31.0, cov-2.8.1
    collected 6 items
    
    ---> 100%
    
    test_main.py <span style="color: green; white-space: pre;">......                            [100%]</span>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/ts_test.go

    	strc := string(contents)
    	if err != nil {
    		t.Fatalf("problems reading text file %s: %v", textfile, err)
    	}
    	if !strings.Contains(strc, token) {
    		t.Logf("content: %s\n", string(contents))
    		t.Fatalf("cov profile does not contain aux meta content %q", token)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/cover.go

    // license that can be found in the LICENSE file.
    
    // Action graph execution methods related to coverage.
    
    package work
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/str"
    	"cmd/internal/cov/covcmd"
    	"context"
    	"encoding/json"
    	"fmt"
    	"internal/coverage"
    	"io"
    	"os"
    	"path/filepath"
    )
    
    // CovData invokes "go tool covdata" with the specified arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top