Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,316 for nfail (0.11 sec)

  1. test/fixedbugs/bug242.go

    		panic("fail")
    	}
    	i++
    	return c
    }
    
    type Empty interface{}
    type I interface {
    	Get() byte
    }
    type S1 struct {
    	i byte
    }
    
    func (p S1) Get() byte { return p.i }
    
    type S2 struct {
    	i byte
    }
    
    func e2(p Empty, expected byte) Empty {
    	if i != expected {
    		println("e2: got", i, "expected", expected)
    		panic("fail")
    	}
    	i++
    	return p
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 2.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue15975.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    var fail bool
    
    type Closer interface {
    	Close()
    }
    
    func nilInterfaceDeferCall() {
    	var x Closer
    	defer x.Close()
    	// if it panics when evaluating x.Close, it should not reach here
    	fail = true
    }
    
    func shouldPanic(f func()) {
    	defer func() {
    		if recover() == nil {
    			panic("did not panic")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 08 20:35:53 UTC 2016
    - 572 bytes
    - Viewed (0)
  3. src/compress/flate/flate_test.go

    		want   string // Expected result. Use "fail" to expect failure
    	}{{
    		"degenerate HCLenTree",
    		"05e0010000000000100000000000000000000000000000000000000000000000" +
    			"00000000000000000004",
    		"fail",
    	}, {
    		"complete HCLenTree, empty HLitTree, empty HDistTree",
    		"05e0010400000000000000000000000000000000000000000000000000000000" +
    			"00000000000000000010",
    		"fail",
    	}, {
    		"empty HCLenTree",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 11K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          MediaType.parse("te<t/plain");
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          MediaType.parse("text/pl@in");
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          MediaType.parse("text/plain;");
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/cmd/internal/test2json/testdata/issue23036.test

    === RUN   TestActualCase
    --- FAIL: TestActualCase (0.00s)
            foo_test.go:14: Differed.
                    Expected: MyTest:
                    --- FAIL: Test output from other tool
                    Actual: not expected
    FAIL
    exit status 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:12:12 UTC 2018
    - 286 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testplugin/testdata/issue44956/main.go

    // its own private base.stmp, which is not initialized, fail.
    
    package main
    
    import "plugin"
    
    func main() {
    	_, err := plugin.Open("issue44956p1.so")
    	if err != nil {
    		panic("FAIL")
    	}
    
    	p2, err := plugin.Open("issue44956p2.so")
    	if err != nil {
    		panic("FAIL")
    	}
    	f, err := p2.Lookup("F")
    	if err != nil {
    		panic("FAIL")
    	}
    	x := f.(func() *map[int]int)()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/PalantirConsistentVersionsPluginSmokeTest.groovy

                .expectDeprecationWarning("The compileClasspathCopy configuration has been deprecated for consumption. This will fail with an error in Gradle 9.0. For more information, please refer...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt

    ! stdout ^ok
    ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithAdd[/\\]'
    stdout FAIL
    
    # Test that fuzzing a target with a success in f.Add and a fuzztime of only
    # 1 does not produce a crash.
    go test -fuzz=FuzzWithGoodAdd -run=FuzzWithGoodAdd -fuzztime=1x
    stdout ok
    ! stdout FAIL
    
    # Test that fuzzing a target with a failure in testdata/fuzz prints the crash
    # and doesn't write anything to testdata/fuzz
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  9. src/crypto/internal/boring/ecdsa.go

    	if pt == nil || bd == nil {
    		return nil, nil, nil, fail("EC_KEY_get0_private_key")
    	}
    	bx := C._goboringcrypto_BN_new()
    	if bx == nil {
    		return nil, nil, nil, fail("BN_new")
    	}
    	defer C._goboringcrypto_BN_free(bx)
    	by := C._goboringcrypto_BN_new()
    	if by == nil {
    		return nil, nil, nil, fail("BN_new")
    	}
    	defer C._goboringcrypto_BN_free(by)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/InsecureProtocolOption.java

     *
     * @since 7.3
     */
    public enum InsecureProtocolOption {
        /**
         * Fail if a URL with an insecure protocol is found.
         *
         * Refuse to generate a Gradle build.
         */
        FAIL,
    
        /**
         * Emit a warning if a URL with an insecure protocol is found.
         *
         * The generated Gradle build will fail at runtime.
         */
        WARN,
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top