Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,673 for checkSeq (0.16 sec)

  1. src/go/types/alias.go

    }
    
    // NewAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    	// Ensure that alias.actual is set (#65455).
    	alias.cleanup()
    	return alias
    }
    
    // Obj returns the type name for the declaration defining the alias type a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/return.go

    		}
    	}
    
    	return false
    }
    
    func (check *Checker) isTerminatingList(list []syntax.Stmt, label string) bool {
    	// trailing empty statements are permitted - skip them
    	for i := len(list) - 1; i >= 0; i-- {
    		if _, ok := list[i].(*syntax.EmptyStmt); !ok {
    			return check.isTerminating(list[i], label)
    		}
    	}
    	return false // all statements are empty
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ErroringAction.java

    import org.gradle.api.Action;
    
    /**
     * Action adapter/implementation for action code that may throw exceptions.
     *
     * Implementations implement doExecute() (instead of execute()) which is allowed to throw checked exceptions.
     * Any checked exceptions thrown will be wrapped as unchecked exceptions and re-thrown.
     *
     * How the exception is wrapped is subject to {@link UncheckedException#throwAsUncheckedException(Throwable)}.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/report.js

                        div.append($("<label>", {for: id}).text(title));
                        var checkbox = $("<input>", {type: "checkbox", id: id, checked: true});
                        div.append(checkbox);
                        checkbox.change(function () {
                            if (checkbox.is(':checked')) {
                                $("." + id).show();
                            } else {
                                $("." + id).hide();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/fix/typecheck.go

    	"os"
    	"os/exec"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"strings"
    )
    
    // Partial type checker.
    //
    // The fact that it is partial is very important: the input is
    // an AST and a description of some type information to
    // assume about one or more packages, but not all the
    // packages that the program imports. The checker is
    // expected to do as much as it can with what it has been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/const.go

    	. "internal/types/errors"
    	"math"
    )
    
    // overflow checks that the constant x is representable by its type.
    // For untyped constants, it checks that the value doesn't become
    // arbitrarily large.
    func (check *Checker) overflow(x *operand, opPos syntax.Pos) {
    	assert(x.mode == constant_)
    
    	if x.val.Kind() == constant.Unknown {
    		// TODO(gri) We should report exactly what went wrong. At the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/util/traffic/result.go

    			minimumPercent, r.SuccessfulRequests, r.TotalRequests, r.PercentSuccess(), r.Error)
    	}
    	if r.SuccessfulRequests == r.TotalRequests {
    		t.Log("traffic checker succeeded with all successful requests")
    	} else {
    		t.Logf("traffic checker met minimum threshold, with %d/%d successes, but encountered some failures: %v", r.SuccessfulRequests, r.TotalRequests, r.Error)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/assignments.go

    // type. context describes the context in which the assignment takes place.
    // Use T == nil to indicate assignment to an untyped blank identifier.
    // If the assignment check fails, x.mode is set to invalid.
    func (check *Checker) assignment(x *operand, T Type, context string) {
    	check.singleValue(x)
    
    	switch x.mode {
    	case invalid:
    		return // error reported before
    	case nilvalue:
    		assert(isTypes2)
    		// ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/VariantAttributesRulesIntegrationTest.groovy

                }
                id('org.test:moduleB:1.0') {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
    
            then:
            succeeds 'checkDep'
            def expectedVariant = variantToTest
            resolve.expectGraph {
                root(':', ':test:') {
                    module("org.test:moduleA:1.0:$expectedVariant") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go

    	testCases := []struct {
    		desc string
    		have []HealthChecker
    		want []string
    	}{
    		{"no checker", []HealthChecker{}, []string{}},
    		{"one checker", []HealthChecker{c1}, []string{n1}},
    		{"other checker", []HealthChecker{c2}, []string{n2}},
    		{"checker order", []HealthChecker{c1, c2}, []string{n1, n2}},
    		{"different checker order", []HealthChecker{c2, c1}, []string{n2, n1}},
    	}
    
    	for _, tc := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 20:43:16 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top