Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 699 for pselect (0.14 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

            // Select default project name
            ConcurrentTestUtil.poll(60) {
                assert handle.standardOutput.contains(projectNamePrompt)
            }
            handle.stdinPipe.write(TextUtil.platformLineSeparator.bytes)
    
            // Select 'Single project'
            ConcurrentTestUtil.poll(60) {
                assert handle.standardOutput.contains("Select application structure:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChainTest.groovy

            expect:
            toolChain.select(platform).available
        }
    
        def "setTargets removes existing platforms"() {
            given:
            platform.name >> "SomePlatform"
            toolChain.target("SomePlatform", Mock(Action))
            toolChain.setTargets("NoPlatform")
    
            expect:
            !toolChain.select(platform).available
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  3. chainable_api.go

    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    //	db.Select("name", "age").Find(&users)
    //	// Select name and age of user using an array
    //	db.Select([]string{"name", "age"}).Find(&users)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesDependencyResolveIntegTest.groovy

            "1.+"                | "select branch" | "1.1"         | '["1.2", "1.1"]' | ['1.2', '1.1']     | false           | false            | ["didn't match versions 2.1, 2.0", "rejection: 1.2 by rule because not branch"]
            "latest.integration" | "select 2.1"    | "2.1"         | '["2.1"]'        | ['2.1']            | true            | true             | []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  5. src/runtime/chan_test.go

    	if math.Abs(float64(cnt1-mean)) > 10*stddev {
    		t.Errorf("unfair select: in %d trials, results were %d, %d", trials, cnt1, cnt2)
    	}
    	close(done)
    	wg.Wait()
    }
    
    func TestChanSendInterface(t *testing.T) {
    	type mt struct{}
    	m := &mt{}
    	c := make(chan any, 1)
    	c <- m
    	select {
    	case c <- m:
    	default:
    	}
    	select {
    	case c <- m:
    	case c <- &mt{}:
    	default:
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  6. src/runtime/race/testdata/chan_test.go

    	aux := make(chan bool)
    	data := 0
    	_ = data
    	go func() {
    		select {
    		case mtx <- struct{}{}:
    		case <-aux:
    		}
    		data = 42
    		select {
    		case <-mtx:
    		case <-aux:
    		}
    		done <- struct{}{}
    	}()
    	select {
    	case mtx <- struct{}{}:
    	case <-aux:
    	}
    	data = 43
    	select {
    	case <-mtx:
    	case <-aux:
    	}
    	<-done
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  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