- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 949 for Bad (0.03 sec)
-
test/fixedbugs/issue8606b.go
// codegen tests in test/codegen can't really detect ordering // optimizations like this. Instead, we generate invalid strings with // bad backing store pointers but nonzero length, so we can check that // the backing store never gets compared. // // We use two different bad strings so that pointer comparisons of // backing store pointers fail. package main import ( "fmt" "reflect" "syscall" "unsafe"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy
""".stripIndent()) } def "custom quiet logging"() { when: executer.withStackTraceChecksDisabled() args("-q") fails("test") then: outputContains(""" ${maybeParentheses('badTest')} FAILED java.lang.RuntimeException: bad
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:24 UTC 2024 - 6.9K bytes - Viewed (0) -
src/crypto/x509/name_constraints_test.go
if err == nil { t.Errorf("bad name %q unexpectedly accepted in name constraint", test.name) continue } else { if !test.matcher(err) { t.Errorf("bad name %q triggered unrecognised error: %s", test.name, err) } } } } func TestBadNamesInSANs(t *testing.T) { // Bad names in URI and IP SANs should not parse. Bad DNS and email SANs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 22:40:21 UTC 2024 - 45.2K bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
} else { got := fmt.Sprintf("%v", err) checkWant("meta data", got) } // Now try to emit counter data file to a bad dir. if err := coverage.WriteCountersDir(mangled); err == nil { log.Fatal("expected error emitting counter data to bad dir") } else { got := fmt.Sprintf("%v", err) checkWant("counter data", got) } } func emitToUnwritableDir() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/ParallelStaleOutputIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4K bytes - Viewed (0) -
test/escape_runtime_atomic.go
// license that can be found in the LICENSE file. // Test escape analysis for internal/runtime/atomic. package escape import ( "internal/runtime/atomic" "unsafe" ) // BAD: should always be "leaking param: addr to result ~r0 level=1$". func Loadp(addr unsafe.Pointer) unsafe.Pointer { // ERROR "leaking param: addr( to result ~r0 level=1)?$" return atomic.Loadp(addr) } var ptr unsafe.Pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 874 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverpkg_partial.txt
import "testing" func TestA(t *testing.T) { if AFunc() != 42 { t.Fatalf("bad!") } } -- b/b.go -- package b import ( "M/a" "M/d" ) func BFunc() int { return -d.FortyTwo + a.AFunc() } -- b/b_test.go -- package b import "testing" func TestB(t *testing.T) { if BFunc() == 1010101 { t.Fatalf("bad!") } } -- c/c.go -- package c var G int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:12:49 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResultTest.groovy
IllegalStateException e = thrown() e.message == 'No result has been specified.' } def "cannot get id when resolve failed"() { org.gradle.internal.Factory<String> broken = { "too bad" } def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken) when: result.failed(failure) result.moduleVersionId then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/fix/cftype.go
// It used to be ok to cast between *unsafe.Pointer and *C.CFTypeRef in a single step. // Now we need unsafe.Pointer as an intermediate cast. // (*unsafe.Pointer)(x) where x is type *bad -> (*unsafe.Pointer)(unsafe.Pointer(x)) // (*bad.type)(x) where x is type *unsafe.Pointer -> (*bad.type)(unsafe.Pointer(x)) walk(f, func(n any) { if n == nil { return } // Find pattern like (*a.b)(x) c, ok := n.(*ast.CallExpr) if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:25:49 UTC 2023 - 3.5K bytes - Viewed (0) -
src/crypto/ed25519/ed25519.go
} switch { case hash == crypto.SHA512: // Ed25519ph if l := len(message); l != sha512.Size { return nil, errors.New("ed25519: bad Ed25519ph message hash length: " + strconv.Itoa(l)) } if l := len(context); l > 255 { return nil, errors.New("ed25519: bad Ed25519ph context length: " + strconv.Itoa(l)) } signature := make([]byte, SignatureSize) sign(signature, priv, message, domPrefixPh, context)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11.7K bytes - Viewed (0)