Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 858 for isSelect (0.17 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/attributes/DisambiguationRuleChain.java

         * <p>A disambiguation rule can select the best match from a list of candidates.</p>
         *
         * <p>A rule <i>can</i> express an preference by calling the @{link {@link MultipleCandidatesDetails#closestMatch(Object)}
         * method to tell that a candidate is the best one.</p>
         *
         * <p>It is not mandatory for a rule to choose, and it is not an error to select multiple candidates.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  2. test/fixedbugs/bug225.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {	
    	c := make(chan bool, 1);
    	select {
    	case _ = <-c:
    		panic("BUG: recv should not");
    	default:
    	}
    	c <- true;
    	select {
    	case _ = <-c:
    	default:
    		panic("BUG: recv should");
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 375 bytes
    - Viewed (0)
  3. test/fixedbugs/issue7998.go

    // license that can be found in the LICENSE file.
    
    // /tmp/x.go:5: cannot use _ as value
    
    package p
    
    func f(ch chan int) bool {
    	select {
    	case _, ok := <-ch:
    		return ok
    	}
    	_, ok := <-ch
    	_ = ok
    	select {
    	case _, _ = <-ch:
    		return true
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 380 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_acl_windows.txt

    go build -o $TMP\main.exe main.go
    
    # Read ACLs for the files.
    exec powershell -Command 'Get-Acl main.exe | Select -expand AccessToString'
    cp stdout $WORK\exe-acl.txt
    exec powershell -Command 'Get-Acl main.go | Select -expand AccessToString'
    cp stdout $WORK\src-acl.txt
    cd $TMP
    exec powershell -Command 'Get-Acl main.exe | Select -expand AccessToString'
    cp stdout $WORK\guest-acl.txt
    
    cd $WORK
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    		// making the two calls ambiguous. However because the
    		// interfaces and implementations are mutually exclusive,
    		// devirtualization can still select the correct callee for
    		// each.
    		//
    		// If they were not mutually exclusive (for example, two Add
    		// calls), then we could not definitively select the correct
    		// callee.
    		val += m.Multiply(42, selectA(i).Add(one(i), 2))
    	}
    	return val
    }
    
    type AddFunc func(int, int) int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/stacks.go

    	// It is impossible to ensure that a goroutine has actually blocked
    	// on a channel, in a select or otherwise. So we kick off goroutines
    	// that need to block first in the hope that while we are executing
    	// the rest of the test, they will block.
    	go func() { // func1
    		select {}
    	}()
    	go func() { // func2
    		var c chan int
    		c <- 0
    	}()
    	go func() { // func3
    		var c chan int
    		<-c
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/cover/testdata/html/html.go

    // from the HTML output.
    
    // This is a regression test for incorrect sorting of boundaries
    // that coincide, specifically for empty select clauses.
    // START f
    func f() {
    	ch := make(chan int)
    	select {
    	case <-ch:
    	default:
    	}
    }
    
    // END f
    
    // https://golang.org/issue/25767
    // START g
    func g() {
    	if false {
    		fmt.Printf("Hello")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 07 22:47:53 UTC 2018
    - 483 bytes
    - Viewed (0)
  9. src/internal/bytealg/compare_wasm.s

    	Get R3
    	Get R1
    	Get R3
    	I64LtU
    	Select
    	Set R4
    
    	Get R0
    	I32WrapI64
    	Get R2
    	I32WrapI64
    	Get R4
    	I32WrapI64
    	Call memcmp<>(SB)
    	I64ExtendI32S
    	Tee R5
    
    	I64Eqz
    	If
    		// check length
    		Get R1
    		Get R3
    		I64Sub
    		Set R5
    	End
    
    	I64Const $0
    	I64Const $-1
    	I64Const $1
    	Get R5
    	I64Const $0
    	I64LtS
    	Select
    	Get R5
    	I64Eqz
    	Select
    	Return
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 11 04:00:35 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/initialization/AbstractProjectSpec.java

            select(registry, matches);
            return !matches.isEmpty();
        }
    
        @Override
        public <T extends ProjectIdentifier> T selectProject(String settingsDescription, ProjectRegistry<? extends T> registry) {
            checkPreconditions(registry);
            List<T> matches = new ArrayList<T>();
            select(registry, matches);
            if (matches.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.3K bytes
    - Viewed (0)
Back to top