Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 128 for Failure (0.12 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/testing/testing.go

    	short = flag.Bool("test.short", false, "run smaller test suite to save time")
    
    	// The failfast flag requests that test execution stop after the first test failure.
    	failFast = flag.Bool("test.failfast", false, "do not start new tests after the first test failure")
    
    	// The directory in which to create profile files and the like. When run from
    	// "go test", the binary always runs in the source directory for the package;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/conversions.go

    // is tricky because we'd have to run updateExprType on the argument first.
    // (go.dev/issue/21982.)
    
    // convertibleTo reports whether T(x) is valid. In the failure case, *cause
    // may be set to the cause for the failure.
    // The check parameter may be nil if convertibleTo 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: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/mime/mediatype.go

    }
    
    // consumeToken consumes a token from the beginning of provided
    // string, per RFC 2045 section 5.1 (referenced from 2183), and return
    // the token consumed and the rest of the string. Returns ("", v) on
    // failure to consume at least one character.
    func consumeToken(v string) (token, rest string) {
    	notPos := strings.IndexFunc(v, isNotTokenChar)
    	if notPos == -1 {
    		return v, ""
    	}
    	if notPos == 0 {
    		return "", v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/internal/trace/reader.go

    	// (4) Organize batchCursors in a min-heap, ordered by the timestamp of the next event for each M.
    	// (5) Try to advance the next event for the M at the top of the min-heap.
    	//   (a) On success, select that M.
    	//   (b) On failure, sort the min-heap and try to advance other Ms. Select the first M that advances.
    	//   (c) If there's nothing left to advance, goto (1).
    	// (6) Select the latest event for the selected M and get it ready to be returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/internal/test/test.go

    // If we are running multiple test targets, print a final "FAIL"
    // in case a failure in an early package has already scrolled
    // off of the user's terminal.
    // (See https://golang.org/issue/30507#issuecomment-470593235.)
    //
    // In JSON mode, we need to maintain valid JSON output and
    // we assume that the test output is being parsed by a tool
    // anyway, so the failure will not be missed and would be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top