Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for Failure (0.15 sec)

  1. src/runtime/mpallocbits.go

    // starts as well as the index of the first free page it finds in its search.
    //
    // See find for an explanation of the searchIdx parameter.
    //
    // Returns a ^uint(0) index on failure and the new searchIdx should be ignored.
    //
    // findSmallN assumes npages <= 64, where any such contiguous run of pages
    // crosses at most one aligned 64-bit boundary in the bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/internal/trace/trace_test.go

    		// Run some extra validation.
    		if !t.Failed() && extra != nil {
    			extra(t, tb, errBuf.Bytes(), stress)
    		}
    
    		// Dump some more information on failure.
    		if t.Failed() && onBuilder {
    			// Dump directly to the test log on the builder, since this
    			// data is critical for debugging and this is the only way
    			// we can currently make sure it's retained.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/crypto/x509/name_constraints_test.go

    				},
    			},
    		},
    		leaf: leafSpec{
    			sans: []string{"dns:example.com"},
    			ekus: []string{"serverAuth", "other"},
    		},
    	},
    
    	// #63: An intermediate with enumerated EKUs causes a failure if we
    	// test for an EKU not in that set. (ServerAuth is required by
    	// default.)
    	{
    		roots: make([]constraintsSpec, 1),
    		intermediates: [][]constraintsSpec{
    			{
    				{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. src/testing/testing_test.go

    		if !b.Run("test", func(b *testing.B) {
    			// Add a loop so that the test won't fail. See issue 38677.
    			for i := 0; i < b.N; i++ {
    				_ = b.TempDir()
    			}
    		}) {
    			t.Fatal("Sub test failure in a benchmark")
    		}
    	})
    }
    
    func TestTempDir(t *testing.T) {
    	testTempDir(t)
    	t.Run("InSubtest", testTempDir)
    	t.Run("test/subtest", testTempDir)
    	t.Run("test\\subtest", testTempDir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/go/types/operand.go

    	}
    }
    
    // assignableTo reports whether x is assignable to a variable of type T. If the
    // result is false and a non-nil cause is provided, it may be set to a more
    // detailed explanation of the failure (result != ""). The returned error code
    // is only valid if the (first) result is false. The check parameter may be nil
    // if assignableTo is invoked through an exported API call, i.e., when all
    // methods have been type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/crypto/rsa/rsa.go

    		return boring.EncryptRSANoPadding(bkey, em)
    	}
    
    	return encrypt(pub, em)
    }
    
    // ErrDecryption represents a failure to decrypt a message.
    // It is deliberately vague to avoid adaptive attacks.
    var ErrDecryption = errors.New("crypto/rsa: decryption error")
    
    // ErrVerification represents a failure to verify a signature.
    // It is deliberately vague to avoid adaptive attacks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/runtime/crash_test.go

    	if os.Getenv("GO_TEST_RUNTIME_PANIC") == "1" {
    		defer func() {
    			if r := recover(); r != nil {
    				// We expect to crash, so exit 0
    				// to indicate failure.
    				os.Exit(0)
    			}
    		}()
    		runtime.PanicForTesting(nil, 1)
    		// We expect to crash, so exit 0 to indicate failure.
    		os.Exit(0)
    	}
    	if os.Getenv("GO_TEST_RUNTIME_NPE_READMEMSTATS") == "1" {
    		runtime.ReadMemStats(nil)
    		os.Exit(0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. src/cmd/dist/buildtool.go

    	// We use a subdirectory of $GOROOT/pkg because that's the
    	// space within $GOROOT where we store all generated objects.
    	// We could use a temporary directory outside $GOROOT instead,
    	// but it is easier to debug on failure if the files are in a known location.
    	workspace := pathf("%s/pkg/bootstrap", goroot)
    	xremoveall(workspace)
    	xatexit(func() { xremoveall(workspace) })
    	base := pathf("%s/src/bootstrap", workspace)
    	xmkdirall(base)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/infer.go

    			}
    		}
    		smap := makeSubstMap(tparams, targs)
    		// TODO(gri): pass a poser here, rather than arg.Pos().
    		inferred := check.subst(arg.Pos(), tpar, smap, nil, check.context())
    		// CannotInferTypeArgs indicates a failure of inference, though the actual
    		// error may be better attributed to a user-provided type argument (hence
    		// InvalidTypeArg). We can't differentiate these cases, so fall back on
    		// the more general CannotInferTypeArgs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/go/types/infer.go

    			}
    		}
    		smap := makeSubstMap(tparams, targs)
    		// TODO(gri): pass a poser here, rather than arg.Pos().
    		inferred := check.subst(arg.Pos(), tpar, smap, nil, check.context())
    		// CannotInferTypeArgs indicates a failure of inference, though the actual
    		// error may be better attributed to a user-provided type argument (hence
    		// InvalidTypeArg). We can't differentiate these cases, so fall back on
    		// the more general CannotInferTypeArgs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top