Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,597 for pselect (0.16 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. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/PublishedCapabilitiesIntegrationTest.groovy

            then:
            failure.assertHasCause("""Module 'cglib:cglib-nodep' has been rejected:
       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib:3.2.5(runtime)]""")
            failure.assertHasCause("""Module 'cglib:cglib' has been rejected:
       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib-nodep:3.2.5(runtime)]""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top