Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for Failure (0.12 sec)

  1. src/internal/trace/testtrace/expectation.go

    func (e *Expectation) Check(err error) error {
    	if !e.failure && err != nil {
    		return fmt.Errorf("unexpected error while reading the trace: %v", err)
    	}
    	if e.failure && err == nil {
    		return fmt.Errorf("expected error while reading the trace: want something matching %q, got none", e.errorMatcher)
    	}
    	if e.failure && err != nil && !e.errorMatcher.MatchString(err.Error()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/crypto/tls/alert.go

    	alertDecryptionFailed:             "decryption failed",
    	alertRecordOverflow:               "record overflow",
    	alertDecompressionFailure:         "decompression failure",
    	alertHandshakeFailure:             "handshake failure",
    	alertBadCertificate:               "bad certificate",
    	alertUnsupportedCertificate:       "unsupported certificate",
    	alertCertificateRevoked:           "revoked 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)
  3. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    -- expect --
    FAILURE ".*expected a proc but didn't have one.*"
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=34
    GoCreateSyscall dt=1 new_g=4
    ProcStatus dt=1 p=0 pstatus=2
    ProcStart dt=1 p=0 p_seq=1
    GoSyscallEndBlocked dt=1
    GoStart dt=1 g=4 g_seq=1
    GoSyscallBegin dt=1 p_seq=2 stack=0
    GoDestroySyscall dt=1
    GoCreateSyscall dt=1 new_g=4
    GoSyscallEnd dt=1
    GoSyscallBegin dt=1 p_seq=3 stack=0
    GoDestroySyscall dt=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-fail-first-gen-first.test

    -- expect --
    FAILURE "expected a proc but didn't have one"
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=0 time=0 size=5
    GoCreate dt=0 new_g=1 new_stack=0 stack=0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 256 bytes
    - Viewed (0)
  5. src/crypto/tls/bogo_shim_test.go

    	// NOTE: we don't immediately check the error, because the failure could be either because
    	// the runner failed for some unexpected reason, or because a test case failed, and we
    	// cannot easily differentiate these cases. We check if the JSON results file was written,
    	// which should only happen if the failure was because of a test failure, and use that
    	// to determine the failure mode.
    
    	resultsJSON, jsonErr := os.ReadFile(resultsFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    	size    int64
    	cur     int64
    	mu      sync.Mutex
    	waiters list.List
    }
    
    // Acquire acquires the semaphore with a weight of n, blocking until resources
    // are available or ctx is done. On success, returns nil. On failure, returns
    // ctx.Err() and leaves the semaphore unchanged.
    func (s *Weighted) Acquire(ctx context.Context, n int64) error {
    	done := ctx.Done()
    
    	s.mu.Lock()
    	select {
    	case <-done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/elf_test.go

    	argv := []string{"build", "-o", path, filepath.Join(wd, "testdata", "issue39256")}
    	out, err := testenv.Command(t, testenv.GoToolPath(t), argv...).CombinedOutput()
    	if err != nil {
    		t.Fatalf("Build failure: %s\n%s\n", err, string(out))
    	}
    
    	f, err := elf.Open(path)
    	if err != nil {
    		t.Fatalf("Failed to open ELF file: %v", err)
    	}
    	libs, err := f.ImportedLibraries()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go

    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    // assertableTo checks whether interface v can be asserted into t. It returns
    // nil on success, or the first conflicting method on failure.
    func assertableTo(free *typeparams.Free, v, t types.Type) *types.Func {
    	if t == nil || v == nil {
    		// not assertable to, but there is no missing method
    		return nil
    	}
    	// ensure that v and t are interfaces
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/crypto/tls/auth.go

    		}
    		if !ecdsa.VerifyASN1(pubKey, signed, sig) {
    			return errors.New("ECDSA verification failure")
    		}
    	case signatureEd25519:
    		pubKey, ok := pubkey.(ed25519.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an Ed25519 public key, got %T", pubkey)
    		}
    		if !ed25519.Verify(pubKey, signed, sig) {
    			return errors.New("Ed25519 verification failure")
    		}
    	case signaturePKCS1v15:
    		pubKey, ok := pubkey.(*rsa.PublicKey)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/asm_zos_s390x.s

    	MOVD $0, R15 // Move SVC args into registers (entry point still in r0 from SVC 08)
    	SVC_DELETE
    	MOVD R2, R15 // Restore go stack pointer
    
    error:
    	MOVD $0, ret+8(FP) // Return 0 on failure
    
    done:
    	XOR R0, R0 // Reset r0 to 0
    	RET
    
    // func svcUnload(name *byte, fnptr unsafe.Pointer) int64
    TEXT ·svcUnload(SB), NOSPLIT, $0
    	MOVD R15, R2          // Save go stack pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top