Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,866 for checkSeq (0.11 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

            file("config/checkstyle/checkstyle.xml") << """
    <!DOCTYPE module PUBLIC
              "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
              "https://checkstyle.org/dtds/configuration_1_3.dtd">
    <module name="Checker">
        <module name="TreeWalker">
            <module name="$nameOfCheck"/>
        </module>
    </module>
            """
        }
    
        private void goodCode() {
            file("src/main/java/com/example/Foo.java").java """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.Lock;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is
     * interrupted during such a call, the call continues to block until the result is available or the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBomResolveIntegrationTest.groovy

            buildFile << """
                dependencies {
                    compile "group:moduleA"
                    compile platform("group:bom:1.0")
                }
            """
    
            when:
            succeeds 'checkDep'
    
            then:
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module("group:bom:1.0:platform-runtime") {
                        constraint("group:moduleA:2.0", "group:moduleA:2.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. src/runtime/proc_runtime_test.go

    		}
    		for co := 0; co < len(ord.coprimes); co++ {
    			enum := ord.start(uint32(co))
    			checked := make([]bool, procs)
    			for p := 0; p < procs; p++ {
    				x := enum.position()
    				if checked[x] {
    					println("procs:", procs, "inc:", enum.inc)
    					panic("duplicate during enumeration")
    				}
    				checked[x] = true
    				enum.next()
    			}
    			if !enum.done() {
    				panic("not done")
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 18:43:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AbstractDependencyMetadataRulesIntegrationTest.groovy

                }
                'org.test:moduleB:1.0'() {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
    
            then:
            succeeds 'checkDep'
            def expectedVariant = variantToTest
            resolve.expectGraph {
                root(':', ':test:') {
                    edge('org.test:moduleB', 'org.test:moduleB:1.0') {
                        maybeByConstraint()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 36.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageDisplayConfiguration.groovy

        private final ValidationMessageChecker checker
        String pluginId
        boolean hasIntro = true
        private String description
        private String reason
        private List<String> solutions = []
    
        ValidationMessageDisplayConfiguration(ValidationMessageChecker checker) {
            this.checker = checker
        }
    
        String typeName
        String property
        String propertyType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

    int OpView::NumOutputs() const { return output_args_.size(); }
    
    ArgView OpView::OnlyInput() const {
      CHECK_EQ(input_args_.size(), 1);  // Crash OK
      return input_args_.front();
    }
    
    ArgView OpView::OnlyOutput() const {
      CHECK_EQ(output_args_.size(), 1);  // Crash OK
      return output_args_.front();
    }
    
    string OpView::FunctionName() const { return op_.name(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial011_an.py

        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 554 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
          executor.execute(runnable);
        } catch (Exception e) { // sneaky checked exception
          // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
          executor.execute(runnable);
        } catch (Exception e) { // sneaky checked exception
          // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (0)
Back to top