Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 826 for pselect (0.11 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/DependencyGraphBuilderTest.groovy

            then:
            1 * conflictResolver.select(!null) >> { args ->
                def details = args[0]
                Collection<ComponentResolutionState> candidates = details.candidates
                assert candidates*.version == ['1.2', '1.1']
                details.select(candidates.find { it.version == '1.2' })
            }
            1 * conflictResolver.select(!null) >> { args ->
                def details = args[0]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/NonInteractiveUserInputHandlerTest.groovy

        }
    
        def "always returns default for select question"() {
            expect:
            userInputHandler.selectOption('Select count', [1, 2, 3], 2) == 2
        }
    
        def "returns first option when no default"() {
            expect:
            userInputHandler.choice('Select count', [1, 2, 3])
                .ask() == 1
        }
    
        def "returns default option for choice"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. 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)
  4. tests/scan_test.go

    		Name string
    		Age  int
    	}
    
    	var res result
    	DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&res)
    	if res.ID != user3.ID || res.Name != user3.Name || res.Age != int(user3.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3)
    	}
    
    	var resPointer *result
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&resPointer).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/c/BUILD

            ":tf_tstring",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core/platform:tstring",
            "@com_google_absl//absl/status",
            "@local_xla//xla/tsl/c:tsl_status",
        ] + select({
            "//tensorflow:with_xla_support": [
                "//tensorflow/compiler/jit",
                "//tensorflow/compiler/tf2xla:xla_compiler",
            ],
            "//conditions:default": [],
        }) + if_tensorrt([
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K 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. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

            }
    
            private HtmlTestClassExecutionResult assertOutput(heading, Matcher<? super String> matcher) {
                def tabs = html.select("div.tab")
                def tab = tabs.find { it.select("h2").text() == heading }
                assert matcher.matches(tab ? TextUtil.normaliseLineSeparators(tab.select("span > pre").first().textNodes().first().wholeText) : "")
                return this
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ComponentState.java

        public boolean isCandidateForConflictResolution() {
            return state.isCandidateForConflictResolution();
        }
    
        void evict() {
            state = ComponentSelectionState.Evicted;
        }
    
        void select() {
            state = ComponentSelectionState.Selected;
        }
    
        void makeSelectable() {
            state = ComponentSelectionState.Selectable;
        }
    
        @Override
        public void reject() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. 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)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

        private void addTOC(Document document) {
            Element tocSection = document.body().select("section.topic").first().before("<section class='table-of-contents'/>").previousElementSibling();
            tocSection.append("<h2>Table Of Contents</h2>");
            Element toc = tocSection.append("<ul class='toc'/>").children().last();
    
            Elements h23elements = document.select("h2,h3");
            for (Element h23element: h23elements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top