Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 936 for Bad (0.02 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/cap_freebsd.go

    	if capver(rights) != CAP_RIGHTS_VERSION_00 {
    		return fmt.Errorf("bad rights version %d", capver(rights))
    	}
    
    	n := caparsize(rights)
    	if n < capArSizeMin || n > capArSizeMax {
    		return errors.New("bad rights size")
    	}
    
    	for _, right := range setrights {
    		if caprver(right) != CAP_RIGHTS_VERSION_00 {
    			return errors.New("bad right version")
    		}
    		i, err := rightToIndex(right)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. platforms/jvm/war/src/integTest/groovy/org/gradle/api/tasks/bundling/WarTaskIntegrationTest.groovy

            given:
            createDir('bad') {
                file('web.xml')
            }
            file('good.xml')
    
            file('bad/web.xml').text = 'bad'
            file('good.xml').text = 'good'
    
            buildFile << '''
            task war(type: War) {
                webInf {
                    from 'bad'
                }
                webXml = file('good.xml')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/testdata/props/funcflags.go

    // <endcallsites>
    // <endfuncpreamble>
    func T_simple() {
    	panic("bad")
    }
    
    // funcflags.go T_nested 32 0 1
    // Flags FuncPropNeverReturns
    // ParamFlags
    //   0 ParamFeedsIfOrSwitch
    // <endpropsdump>
    // {"Flags":1,"ParamFlags":[32],"ResultFlags":null}
    // <endcallsites>
    // <endfuncpreamble>
    func T_nested(x int) {
    	if x < 10 {
    		panic("bad")
    	} else {
    		panic("good")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:01 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            def e = thrown(InvalidUserCodeException)
            e.message == "bad closure"
    
            and:
            1 * adapter.createFromClosure(ComponentSelection, _) >> { throw new InvalidUserCodeException("bad closure") }
    
            when:
            rules.withModule("group:module") { }
    
            then:
            e = thrown(InvalidUserCodeException)
            e.message == "bad targeted closure"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/go/token/example_test.go

    	const src = `package main
    
    import "fmt"
    
    import "go/token"
    
    //line :1:5
    type p = token.Pos
    
    const bad = token.NoPos
    
    //line fake.go:42:11
    func ok(pos p) bool {
    	return pos != bad
    }
    
    /*line :7:9*/func main() {
    	fmt.Println(ok(bad) == bad.IsValid())
    }
    `
    
    	f, err := parser.ParseFile(fset, "main.go", src, 0)
    	if err != nil {
    		fmt.Println(err)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:09:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperBadArchiveTest.groovy

        private static final String GRADLE_BIN_HASH = "/gradle-bin.zip.sha256"
        private static final String BAD_ARCHIVE_CONTENT = "bad archive content"
    
        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        TestFile badArchive = file("bad-archive.zip") << BAD_ARCHIVE_CONTENT
    
        def "wrapper gets bad archive on 1 attempt"() {
            given:
            server.expect(server.head(GRADLE_BIN_ZIP))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. tests/integration/pilot/multicluster_test.go

      annotations:
        networking.istio.io/cluster: bad
      creationTimestamp: null
      labels:
        istio/multiCluster: "true"
      name: istio-remote-secret-bad
    stringData:
      bad: |
        apiVersion: v1
        kind: Config
        clusters:
        - cluster:
            server: https://127.0.0.1
          name: bad
        contexts:
        - context:
            cluster: bad
            user: bad
          name: bad
        current-context: bad
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/check.go

    			case auxBool:
    				if v.AuxInt < 0 || v.AuxInt > 1 {
    					f.Fatalf("bad bool AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt8:
    				if v.AuxInt != int64(int8(v.AuxInt)) {
    					f.Fatalf("bad int8 AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt16:
    				if v.AuxInt != int64(int16(v.AuxInt)) {
    					f.Fatalf("bad int16 AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue15002.go

    			panic("bad panic: " + s)
    		}
    	}()
    	return uint16(x[i]) | uint16(x[i+1])<<8
    }
    
    func test32(x []byte) uint32 {
    	defer func() {
    		r := recover()
    		if r == nil {
    			panic("no fault or bounds check failure happened")
    		}
    		s := fmt.Sprintf("%s", r)
    		if s != "runtime error: index out of range [1] with length 1" {
    			panic("bad panic: " + s)
    		}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    func BFunc() int {
    	return -42
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() != -42 {
    		t.Fatalf("bad!")
    	}
    }
    -- deadstuff/deadstuff.go --
    package deadstuff
    
    func downStreamOfPanic(x int) {
    	panic("bad")
    	if x < 10 {
    		println("foo")
    	}
    }
    -- deadstuff/deadstuff_test.go --
    package deadstuff
    
    import "testing"
    
    func TestMumble(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top