Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 623 for isSelect (0.18 sec)

  1. test/codegen/condmove.go

    	// wasm:"Select"
    	return x
    }
    
    func cmov32bit(x, y uint32) uint32 {
    	if x < y {
    		x = -y
    	}
    	// amd64:"CMOVL(HI|CS)"
    	// arm64:"CSNEG\t(LS|HS)"
    	// ppc64x:"ISEL\t[$]1"
    	// wasm:"Select"
    	return x
    }
    
    func cmov16bit(x, y uint16) uint16 {
    	if x < y {
    		x = -y
    	}
    	// amd64:"CMOVW(HI|CS)"
    	// arm64:"CSNEG\t(LS|HS)"
    	// ppc64x:"ISEL\t[$][01]"
    	// wasm:"Select"
    	return x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. tests/count_test.go

    	result := dryDB.Table("users").Select("name").Count(&count)
    	if !regexp.MustCompile(`SELECT COUNT\(.name.\) FROM .*users.*`).MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Table("users").Distinct("name").Count(&count)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/NoBuildDependenciesArtifactSetTest.groovy

            def target = Stub(ArtifactSet)
            def selector = Stub(ArtifactVariantSelector)
    
            when:
            target.select(_, _) >> ResolvedArtifactSet.EMPTY
    
            then:
            new NoBuildDependenciesArtifactSet(target).select(selector, Mock(ArtifactSelectionSpec)) == ResolvedArtifactSet.EMPTY
        }
    
        def "creates wrapper for non-empty set of selected artifacts"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. src/internal/types/testdata/fixedbugs/issue51360.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func _() {
    	len.Println /* ERROR "cannot select on len" */
    	len.Println /* ERROR "cannot select on len" */ ()
    	_ = len.Println /* ERROR "cannot select on len" */
    	_ = len /* ERROR "cannot index len" */ [0]
    	_ = *len /* ERROR "cannot indirect len" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 423 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

        }
    
        def "does not select items when no matches"() {
            expect:
            doesNotMatch("name")
            doesNotMatch("name", "other")
            doesNotMatch("name", "na")
            doesNotMatch("sN", "otherName")
            doesNotMatch("sA", "someThing")
            doesNotMatch("soN", "saN")
            doesNotMatch("soN", "saName")
        }
    
        def "does not select items when multiple camel case matches"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  10. 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)
Back to top