Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 157 of 157 for Failure (0.08 sec)

  1. src/cmd/cgo/internal/test/test.go

    			// Trigger lots of synchronization and memory reads/writes to
    			// increase the likelihood that the race described in #27660
    			// results in corruption of ThreadSanitizer's internal state
    			// and thus an assertion failure or segfault.
    			i := 0
    			for ctx.Err() == nil {
    				j := rand.Intn(100)
    				locks[j].Lock()
    				ints[j]++
    				locks[j].Unlock()
    				// needed for gccgo, to avoid creation of an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. src/math/big/prime.go

    	// try increasing P ≥ 3 such that D = P² - 4 (so Q = 1)
    	// until Jacobi(D, n) = -1.
    	// The search is expected to succeed for non-square n after just a few trials.
    	// After more than expected failures, check whether n is square
    	// (which would cause Jacobi(D, n) = 1 for all D not dividing n).
    	p := Word(3)
    	d := nat{1}
    	t1 := nat(nil) // temp
    	intD := &Int{abs: d}
    	intN := &Int{abs: n}
    	for ; ; p++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  3. src/mime/multipart/formdata_test.go

    	// Changes in how we account for non-file form data may cause the exact point
    	// where we change from rejecting the form as too large to accepting it to vary,
    	// but we should see both successes and failures.
    	const failWhenMaxMemoryLessThan = 128
    	for maxMemory := int64(0); maxMemory < failWhenMaxMemoryLessThan*2; maxMemory += 16 {
    		b := strings.NewReader(testBody)
    		r := NewReader(b, boundary)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/runtime/runtime-gdb_test.go

    			t.Skip("skipping gdb tests on AIX; see https://golang.org/issue/35710")
    		}
    	case "plan9":
    		t.Skip("there is no gdb on Plan 9")
    	}
    }
    
    func checkGdbVersion(t *testing.T) {
    	// Issue 11214 reports various failures with older versions of gdb.
    	out, err := exec.Command("gdb", "--version").CombinedOutput()
    	if err != nil {
    		t.Skipf("skipping: error executing gdb: %v", err)
    	}
    	re := regexp.MustCompile(`([0-9]+)\.([0-9]+)`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug_test.go

    // so that those files (in the runtime/library) can change without affecting
    // this test.
    //
    // These choices can be reversed with -i (inlining on) and -r (repeats detected) which
    // will also cause their own failures against the expected outputs.  Note that if the compiler
    // and debugger were behaving properly, the inlined code and repeated lines would not appear,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  6. src/database/sql/fakedb_test.go

    		t.Fatalf("Drivers = %v, want sorted list with at least [invalid, test]", all)
    	}
    }
    
    // hook to simulate connection failures
    var hookOpenErr struct {
    	sync.Mutex
    	fn func() error
    }
    
    func setHookOpenErr(fn func() error) {
    	hookOpenErr.Lock()
    	defer hookOpenErr.Unlock()
    	hookOpenErr.fn = fn
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. src/compress/flate/huffman_bit_writer.go

    		bytes[4] = byte(bits >> 32)
    		bytes[5] = byte(bits >> 40)
    		n += 6
    		if n < bufferFlushSize {
    			continue
    		}
    		w.write(w.bytes[:n])
    		if w.err != nil {
    			return // Return early in the event of write failures
    		}
    		n = 0
    	}
    	w.nbytes = n
    	w.writeCode(encoding[endBlockMarker])
    }
    
    // histogram accumulates a histogram of b in h.
    //
    // len(h) must be >= 256, and h's elements must be all zeroes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
Back to top