Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,580 for pselect (0.13 sec)

  1. platforms/jvm/language-jvm/src/test/groovy/org/gradle/api/plugins/jvm/internal/TestFixturesDependencyModifiersTest.groovy

    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class TestFixturesDependencyModifiersTest extends Specification {
        def "copies given external dependency to select test fixtures"() {
            def modifier = TestUtil.objectFactory().newInstance(TestFixturesDependencyModifiers.TestFixturesDependencyModifier)
            def dependency = new DefaultExternalModuleDependency("group", "name", "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

                }
                failure.assertHasCause("""Module 'org.apache:groovy' has been rejected:
       Cannot select module with conflict on capability 'org.apache:groovy:1.0' also provided by [org.apache:groovy-all:1.0($variant)]""")
                failure.assertHasCause("""Module 'org.apache:groovy-json' has been rejected:
       Cannot select module with conflict on capability 'org.apache:groovy-json:1.0' also provided by [org.apache:groovy-all:1.0($variant)]""")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/edwards25519.go

    }
    
    // Constant-time operations
    
    // Select sets v to a if cond == 1 and to b if cond == 0.
    func (v *projCached) Select(a, b *projCached, cond int) *projCached {
    	v.YplusX.Select(&a.YplusX, &b.YplusX, cond)
    	v.YminusX.Select(&a.YminusX, &b.YminusX, cond)
    	v.Z.Select(&a.Z, &b.Z, cond)
    	v.T2d.Select(&a.T2d, &b.T2d, cond)
    	return v
    }
    
    // Select sets v to a if cond == 1 and to b if cond == 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 13 19:21:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    	expectPanic("Query Query", func() { db.Query("PANIC|Query|SELECT|people|age,name|") })
    	expectPanic("Query NumInput", func() { db.Query("PANIC|NumInput|SELECT|people|age,name|") })
    	expectPanic("Query Close", func() {
    		rows, err := db.Query("PANIC|Close|SELECT|people|age,name|")
    		if err != nil {
    			t.Fatal(err)
    		}
    		rows.Close()
    	})
    	db.Query("PANIC|Exec|SELECT|people|age,name|") // should run successfully: Query does not call Exec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy

            when:
            def result = selector.select(variantSetOf(variants), requestedAttributes, false, factory)
    
            then:
            result == resolvedArtifactSet
            1 * attributeMatcher.matches(_, _, _) >> [variant]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/time/tick_test.go

    			drain1()
    		}
    	}
    	noTick := func() {
    		t.Helper()
    		select {
    		default:
    		case <-C:
    			t.Errorf("extra tick")
    		}
    	}
    	assertTick := func() {
    		t.Helper()
    		select {
    		default:
    		case <-C:
    			return
    		}
    		for range tries {
    			Sleep(sched)
    			select {
    			default:
    			case <-C:
    				return
    			}
    		}
    		t.Errorf("missing tick")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. tests/connpool_test.go

    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    			"INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandlerTest.groovy

            input == true
        }
    
        def "can ask select question"() {
            when:
            def input = ask { it.selectOption("select option", [11, 12, 13], 12) }
    
            then:
            1 * outputEventBroadcaster.onOutput(_ as UserInputRequestEvent)
            1 * outputEventBroadcaster.onOutput(_) >> { SelectOptionPromptEvent event ->
                assert event.question == "select option"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/adstest.go

    				log.Warnf("ads received error: %v", err)
    			}
    			select {
    			case a.error <- err:
    			case <-a.context.Done():
    			}
    			return
    		}
    		select {
    		case a.responses <- resp:
    		case <-a.context.Done():
    			return
    		}
    	}
    }
    
    // DrainResponses reads all responses, but does nothing to them
    func (a *AdsTest) DrainResponses() {
    	for {
    		select {
    		case <-a.context.Done():
    			return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/runtime/chan.go

    //  At least one of c.sendq and c.recvq is empty,
    //  except for the case of an unbuffered channel with a single goroutine
    //  blocked on it for both sending and receiving using a select statement,
    //  in which case the length of c.sendq and c.recvq is limited only by the
    //  size of the select statement.
    //
    // For buffered channels, also:
    //  c.qcount > 0 implies that c.recvq is empty.
    //  c.qcount < c.dataqsiz implies that c.sendq is empty.
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top