Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 603 for checkPkg (0.2 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            return propertyWithNoValue().value(value)
        }
    
        def "finalization checking works empty providers"() {
            given:
            def property = propertyWithNoValue()
    
            expect:
            !property.isPresent()
            !property.isFinalized()
        }
    
        def "finalization checking works with simple values"() {
            given:
            def property = propertyWithValue(someValue())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/go/types/check.go

    // guard against this behavior changing during the type checking pass.
    // Therefore we implement the following rule: any number of goroutines can type
    // check concurrently with the same EnableAlias value, but if any goroutine
    // tries to type check concurrently with a different EnableAlias value, we
    // panic.
    //
    // To achieve this, _aliasAny is a state machine:
    //
    //	0:        no type checking is occurring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. testing/precondition-tester/src/test/groovy/org/gradle/test/precondition/PreconditionProbingTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.test.precondition
    
    import org.junit.jupiter.api.Assumptions
    import spock.lang.Specification
    
    /**
     * This class executes a special test suite, checking all the allowed precondition combinations.
     *
     * <p>
     * Each combination can have three outcomes:
     * <ul>
     *     <li><b>Successful:</b> the precondition combination could be satisfied.</li>
     *     <li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    // during the type checking pass. Therefore we implement the following rule:
    // any number of goroutines can type check concurrently with the same
    // EnableAlias value, but if any goroutine tries to type check concurrently
    // with a different EnableAlias value, we panic.
    //
    // To achieve this, _aliasAny is a state machine:
    //
    //	0:        no type checking is occurring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    // considered "printf wrappers"; calls to them are subject to the same
    // checking. In this example, logf is a printf wrapper:
    //
    //	func logf(level int, format string, args ...any) {
    //		if enabled(level) {
    //			log.Printf(format, args...)
    //		}
    //	}
    //
    //	logf(3, "invalid request: %v") // logf format reads arg 1, but call has 0 args
    //
    // To enable printf checking on a function that is not found by this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/stdlib_test.go

    	}
    
    	start := time.Now()
    
    	// Though we read files while parsing, type-checking is otherwise CPU bound.
    	//
    	// This doesn't achieve great CPU utilization as many packages may block
    	// waiting for a common import, but in combination with the non-deterministic
    	// map iteration below this should provide decent coverage of concurrent
    	// type-checking (see golang/go#47729).
    	cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/multiproject/basic-dependencies/kotlin/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java

    package org.gradle.sample.services;
    
    import org.gradle.sample.api.Person;
    import org.gradle.sample.shared.Helper;
    
    public class PersonService {
        boolean checkPerson(Person person) {
            System.out.println(Helper.prettyPrint("Checking"));
            if (person.getFirstname().length() < 2) {
                return false;
            }
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:29:44 UTC 2024
    - 360 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    // TypeCheckingResult holds the issues found during type checking, any returned
    // error, and the gvk that the type checking is performed against.
    type TypeCheckingResult struct {
    	// GVK is the associated GVK
    	GVK schema.GroupVersionKind
    	// Issues contain machine-readable information about the typechecking result.
    	Issues error
    	// Err is the possible error that was encounter during type checking.
    	Err error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    // "/livez" to mux. *All handlers* for mux must be specified in
    // exactly one call to InstallHandler. Calling InstallHandler more
    // than once for the same mux will result in a panic.
    func InstallLivezHandler(mux mux, checks ...HealthChecker) {
    	InstallPathHandler(mux, "/livez", checks...)
    }
    
    // InstallPathHandler registers handlers for health checking on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/multiproject/basic-dependencies/groovy/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java

    package org.gradle.sample.services;
    
    import org.gradle.sample.api.Person;
    import org.gradle.sample.shared.Helper;
    
    public class PersonService {
        boolean checkPerson(Person person) {
            System.out.println(Helper.prettyPrint("Checking"));
            if (person.getFirstname().length() < 2) {
                return false;
            }
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:29:44 UTC 2024
    - 360 bytes
    - Viewed (0)
Back to top