Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 641 for pselect (0.11 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/plugins/jvm/internal/PlatformDependencyModifiersTest.groovy

    import org.gradle.util.AttributeTestUtil
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class PlatformDependencyModifiersTest extends Specification {
        def "copies given external dependency to select platform"() {
            def modifier = TestUtil.objectFactory().newInstance(PlatformDependencyModifiers.PlatformDependencyModifier)
            def dependency = new DefaultExternalModuleDependency("group", "name", "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportFixture.groovy

            def parsedHtmlReport = Jsoup.parse(htmlDir.file("index.html"), "UTF-8")
            def table = parsedHtmlReport.select("table#coveragetable").first()
            def td = table.select("tfoot td:eq(2)").first()
            String totalCoverage = td.text().replaceAll(NON_BREAKING_WHITESPACE, '') // remove non-breaking whitespace
            return totalCoverage.endsWith("%") ? totalCoverage.subSequence(0, totalCoverage.length() - 1) as BigDecimal : null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/stmt1.go

    		}
    		panic(0)
    	}
    } /* ERROR "missing return" */
    
    // select statements
    func _(ch chan int) (z int) {
    	select {}
    } // nice!
    
    func _(ch chan int) (z int) {
    	select {}
    	; ;
    }
    
    func _(ch chan int) (z int) {
    	select {
    	default: break
    	}
    } /* ERROR "missing return" */
    
    func _(ch chan int) (z int) {
    	select {
    	case <-ch: return
    	default: break
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/test/groovy/org/gradle/docs/releasenotes/StaticReleaseNotesTest.groovy

            renderedText = renderedFile.getText("utf-8")
            renderedDocument = Jsoup.parse(renderedText)
        }
    
        def "has fixed issues holder"() {
            expect:
            !renderedDocument.body().select("h2#fixed-issues").empty
        }
    
        def "no duplicate ids"() {
            when:
            def groupedElements = renderedDocument.body().allElements.findAll { it.id() }.groupBy { it.id() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

            matcher.candidates == ["tame", "lame"] as Set
        }
    
        def "does not select map entry when no matches"() {
            expect:
            matcher.find("soNa", ["does not match" : 9]) == null
        }
    
        def "selects map entry when exact match"() {
            expect:
            matcher.find("name", ["name" : 9]) == 9
        }
    
        def "selects map entry when one partial match"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  6. hack/update-kustomize.sh

    LATEST_KYAML=$(echo "${PUBLISHED_RELEASES}" | jq -r '[ .[] | select(.tag_name | startswith("kyaml/v")) ] | sort_by(.published_at) | last | .tag_name | scan("\/(v[\\d.]+)") | .[0]')
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:40:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/component/ProjectComponentSelector.java

    @HasInternalProtocol
    public interface ProjectComponentSelector extends ComponentSelector {
        /**
         * Absolute build path of the build within the Gradle invocation to select a project from.
         *
         * @since 8.2
         */
        String getBuildPath();
    
        /**
         * The name of the build to select a project from.
         *
         * @return The build name
         * @deprecated Use {@link #getBuildPath()} instead.
         */
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 18:25:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/gotos.go

    		goto L /* ERROR "goto L jumps into block" */
    	}
    }
    
    // select
    // different from switch.  the statement has no implicit block around it.
    
    func _() {
    L:
    	select {
    	case <-c:
    		goto L
    	}
    }
    
    func _() {
    L:
    	select {
    	case c <- 1:
    
    	default:
    		goto L
    	}
    }
    
    func _() {
    	select {
    	case <-c:
    
    	default:
    	L:
    		goto L
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

         */
        private List<List<String>> parseTable(Element table) {
            def result = []
            def rows = table.select("tr")
            rows.each {row ->
                def rowResult = []
                def cols = row.select("td")
                if (cols.isEmpty()) {
                    cols = row.select("th")
                }
                cols.each {col ->
                    rowResult << col.text()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. hack/lint-dependencies.sh

    go run k8s.io/kubernetes/cmd/dependencyverifier "${KUBE_ROOT}/hack/unwanted-dependencies.json"
    
    outdated=$(go list -m -json all | jq -r "
      select(.Replace.Version != null) |
      select(.Version != .Replace.Version) |
      select(.Path) |
      \"\(.Path)
        pinned:    \(.Replace.Version)
        preferred: \(.Version)
        hack/pin-dependency.sh \(.Path) \(.Version)\"
    ")
    if [[ -n "${outdated}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top