Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 127 for Failure (0.35 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    			b.Likely = ssa.BranchLikely
    			bOk := s.f.NewBlock(ssa.BlockPlain)
    			bFail := s.f.NewBlock(ssa.BlockPlain)
    			b.AddEdgeTo(bOk)
    			b.AddEdgeTo(bFail)
    
    			if !commaok {
    				// On failure, panic by calling panicnildottype.
    				s.startBlock(bFail)
    				s.rtcall(ir.Syms.Panicnildottype, false, nil, target)
    
    				// On success, return (perhaps modified) input interface.
    				s.startBlock(bOk)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/runtime/asm_amd64.s

    	MOVQ	AX, g_m(CX)
    
    	CLD				// convention is D is always left cleared
    
    	// Check GOAMD64 requirements
    	// We need to do this after setting up TLS, so that
    	// we can report an error if there is a failure. See issue 49586.
    #ifdef NEED_FEATURES_CX
    	MOVL	$0, AX
    	CPUID
    	CMPL	AX, $0
    	JE	bad_cpu
    	MOVL	$1, AX
    	CPUID
    	ANDL	$NEED_FEATURES_CX, CX
    	CMPL	CX, $NEED_FEATURES_CX
    	JNE	bad_cpu
    #endif
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    				t.Errorf("#%d: expected error containing %q, got %s", i, test.expectedErrSubstr, err)
    			}
    		} else {
    			if err != nil {
    				t.Errorf("#%d: unexpected failure: %s", i, err)
    				continue
    			}
    			reserialized := MarshalPKCS1PublicKey(pub)
    			if !bytes.Equal(reserialized, test.derBytes) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_client_test.go

    	testResumeState("InitialHandshake", false)
    	testResumeState("WithClientCertificates", true)
    	serverConfig.ClientAuth = NoClientCert
    
    	// Tickets should be removed from the session cache on TLS handshake
    	// failure, and the client should recover from a corrupted PSK
    	testResumeState("FetchTicketToCorrupt", false)
    	corruptTicket()
    	_, _, err = testHandshake(t, clientConfig, serverConfig)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. src/runtime/map_test.go

    				break
    			}
    		}
    	}
    }
    
    // Issue 8410
    func TestMapSparseIterOrder(t *testing.T) {
    	// Run several rounds to increase the probability
    	// of failure. One is not enough.
    NextRound:
    	for round := 0; round < 10; round++ {
    		m := make(map[int]bool)
    		// Add 1000 items, remove 980.
    		for i := 0; i < 1000; i++ {
    			m[i] = true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. src/runtime/mheap.go

    		}
    	}
    	if goal := scavenge.gcPercentGoal.Load(); goal != ^uint64(0) && growth > 0 {
    		// We just caused a heap growth, so scavenge down what will soon be used.
    		// By scavenging inline we deal with the failure to allocate out of
    		// memory fragments by scavenging the memory fragments that are least
    		// likely to be re-used.
    		//
    		// Only bother with this because we're not using a memory limit. We don't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  7. src/cmd/fix/main.go

    var (
    	doDiff    = flag.Bool("diff", false, "display diffs instead of rewriting files")
    	goVersion = flag.String("go", "", "go language version for files")
    )
    
    // enable for debugging fix failures
    const debug = false // display incorrectly reformatted source and exit
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool fix [-diff] [-r fixname,...] [-force fixname,...] [path ...]\n")
    	flag.PrintDefaults()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/crypto/tls/conn.go

    	good &= good << 1
    	good = uint8(int8(good) >> 7)
    
    	// Zero the padding length on error. This ensures any unchecked bytes
    	// are included in the MAC. Otherwise, an attacker that could
    	// distinguish MAC failures from padding failures could mount an attack
    	// similar to POODLE in SSL 3.0: given a good ciphertext that uses a
    	// full block's worth of padding, replace the final block with another
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. doc/go_spec.html

    for operands of the key type; thus the key type must not be a function, map, or
    slice.
    If the key type is an interface type, these
    comparison operators must be defined for the dynamic key values;
    failure will cause a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <pre>
    map[string]int
    map[*T]struct{ x, y float64 }
    map[string]interface{}
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  10. src/time/tick_test.go

    	// Using After(10ms) but waiting for 500ms to read the channel
    	// should produce a time from start+10ms, not start+500ms.
    	// Make sure it does.
    	// To avoid flakes due to very long scheduling delays,
    	// require 10 failures in a row before deciding something is wrong.
    	for range 10 {
    		start := Now()
    		c := After(10 * Millisecond)
    		Sleep(500 * Millisecond)
    		dt := (<-c).Sub(start)
    		if dt < 400*Millisecond {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top