Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 257 for Bad (0.29 sec)

  1. 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)
  2. src/internal/trace/testtrace/format.go

    		return nil, nil, fmt.Errorf("malformed test %s: bad filename %s", testPath, ar.Files[0].Name)
    	}
    	if ar.Files[1].Name != "trace" {
    		return nil, nil, fmt.Errorf("malformed test %s: bad filename %s", testPath, ar.Files[1].Name)
    	}
    	tr, err := raw.NewTextReader(bytes.NewReader(ar.Files[1].Data))
    	if err != nil {
    		return nil, nil, fmt.Errorf("malformed test %s: bad trace file: %v", testPath, err)
    	}
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/runtime1.go

    	if unsafe.Sizeof(a) != 1 {
    		throw("bad a")
    	}
    	if unsafe.Sizeof(b) != 1 {
    		throw("bad b")
    	}
    	if unsafe.Sizeof(c) != 2 {
    		throw("bad c")
    	}
    	if unsafe.Sizeof(d) != 2 {
    		throw("bad d")
    	}
    	if unsafe.Sizeof(e) != 4 {
    		throw("bad e")
    	}
    	if unsafe.Sizeof(f) != 4 {
    		throw("bad f")
    	}
    	if unsafe.Sizeof(g) != 8 {
    		throw("bad g")
    	}
    	if unsafe.Sizeof(h) != 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/coro.go

    		if !ok {
    			break
    		}
    		if v != 5 {
    			return fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    		}
    	}
    	return nil
    }
    
    func callerExhaustLocked(i iter.Seq[int]) error {
    	runtime.LockOSThread()
    	next, _ := iter.Pull(i)
    	for {
    		v, ok := next()
    		if !ok {
    			break
    		}
    		if v != 5 {
    			return fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    		}
    	}
    	runtime.UnlockOSThread()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprogcgo/coro.go

    		if !ok {
    			break
    		}
    		if v != 5 {
    			return fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    		}
    	}
    	return nil
    }
    
    func callerExhaustCallback(i iter.Seq[int]) (err error) {
    	callFromC(func() {
    		next, _ := iter.Pull(i)
    		for {
    			v, ok := next()
    			if !ok {
    				break
    			}
    			if v != 5 {
    				err = fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/crypto/tls/alert.go

    	alertBadRecordMAC:                 "bad record MAC",
    	alertDecryptionFailed:             "decryption failed",
    	alertRecordOverflow:               "record overflow",
    	alertDecompressionFailure:         "decompression failure",
    	alertHandshakeFailure:             "handshake failure",
    	alertBadCertificate:               "bad certificate",
    	alertUnsupportedCertificate:       "unsupported certificate",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			template:     testClaimTemplate("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/time/internal_test.go

    	t := newTimer(runtimeNano(), 1<<63-1, empty, nil, nil)
    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top