Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for badness (0.71 sec)

  1. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/enterprise/exceptions/ExceptionMetadataHelperTest.groovy

            def iae = new IllegalArgumentException("badness", npe)
            def re = new RuntimeException("sadness")
            def mbf = new MultipleBuildFailures([re, iae])
    
            expect:
            with(ExceptionMetadataHelper.extractCauses(mbf)) {
                size() == 2
                get(0).message == "sadness"
                with(get(1)) {
                    message == "badness"
                    cause.message == "nullness"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue13799.go

    	// loop.
    
    	// Cause of bug -- escape of closure failed to escape (shared) data structures
    	// of map.  Assign to fn declared outside of loop triggers escape of closure.
    	// Heap -> stack pointer eventually causes badness when stack reallocation
    	// occurs.
    
    	var fn func() // ERROR "moved to heap: fn$"
    	i := 0        // ERROR "moved to heap: i$"
    	for ; i < maxI; i++ {
    		// var fn func() // this makes it work, because fn stays off heap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. src/internal/coverage/cfile/testdata/harness.go

    Russ Cox <******@****.***> 1715803583 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_badtest.txt

    env GO111MODULE=off
    
    ! go test badtest/badexec
    ! stdout ^ok
    stdout ^FAIL\tbadtest/badexec
    
    ! go test badtest/badsyntax
    ! stdout ^ok
    stdout ^FAIL\tbadtest/badsyntax
    
    ! go test badtest/badvar
    ! stdout ^ok
    stdout ^FAIL\tbadtest/badvar
    
    ! go test notest
    ! stdout ^ok
    stderr '^notest.hello.go:6:1: syntax error: non-declaration statement outside function body' # Exercise issue #7108
    
    -- badtest/badexec/x_test.go --
    package badexec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 06 15:47:54 UTC 2020
    - 805 bytes
    - Viewed (0)
  5. README.md

    **Linux GPU**                 | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-gpu-py3.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-gpu-py3.html) | [PyPI](https://pypi.org/project/tf-nightly-gpu/)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/emitdata_test.go

    	}
    }
    
    // buildHarness builds the helper program "harness.exe".
    func buildHarness(t *testing.T, dir string, opts []string) string {
    	harnessPath := filepath.Join(dir, "harness.exe")
    	harnessSrc := filepath.Join("testdata", "harness.go")
    	args := []string{"build", "-o", harnessPath}
    	args = append(args, opts...)
    	args = append(args, harnessSrc)
    	//t.Logf("harness build: go %+v\n", args)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. pkg/volume/flexvolume/attacher_test.go

    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/test/utils/harness"
    )
    
    func TestAttach(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	spec := fakeVolumeSpec()
    
    	plugin, _ := testPlugin(t)
    	plugin.runner = fakeRunner(
    		assertDriverCall(t, notSupportedOutput(), attachCmd,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 03 23:29:42 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. pkg/volume/flexvolume/common_test.go

    	goruntime "runtime"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetesting "k8s.io/kubernetes/pkg/volume/testing"
    	"k8s.io/kubernetes/test/utils/harness"
    	"k8s.io/utils/exec"
    	exectesting "k8s.io/utils/exec/testing"
    )
    
    func testPlugin(h *harness.Harness) (*flexVolumeAttachablePlugin, string) {
    	rootDir := h.TempDir("", "flexvolume_test")
    	return &flexVolumeAttachablePlugin{
    		flexVolumePlugin: &flexVolumePlugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. pkg/volume/flexvolume/detacher_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"testing"
    
    	"k8s.io/kubernetes/test/utils/harness"
    )
    
    func TestDetach(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	plugin, _ := testPlugin(t)
    	plugin.runner = fakeRunner(
    		assertDriverCall(t, notSupportedOutput(), detachCmd,
    			"sdx", "localhost"),
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 08 22:44:05 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/fix/cftype.go

    	typeof, _ := typecheck(&TypeConfig{}, f)
    	changed := false
    
    	// step 1: Find all the nils with the offending types.
    	// Compute their replacement.
    	badNils := map[any]ast.Expr{}
    	walk(f, func(n any) {
    		if i, ok := n.(*ast.Ident); ok && i.Name == "nil" && badType(typeof[n]) {
    			badNils[n] = &ast.BasicLit{ValuePos: i.NamePos, Kind: token.INT, Value: "0"}
    		}
    	})
    
    	// step 2: find all uses of the bad nils, replace them with 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:25:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top