Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,710 for pselect (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top