Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,613 for a$b (0.07 sec)

  1. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/conditionalJumps/break2.kt

    fun foo(a: Int): Int {
        val b: Int = 1
        for (n in 1..a) {
            <expr>if (a + b > 0) break
            consume(a - b)
            if (a - b > 0) break
            consume(a + b)</expr>
        }
        return 1
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 228 bytes
    - Viewed (0)
  2. src/path/filepath/match_test.go

    	{"ab[^b-d]", "abc", false, nil},
    	{"ab[^e-g]", "abc", true, nil},
    	{"a\\*b", "a*b", true, nil},
    	{"a\\*b", "ab", false, nil},
    	{"a?b", "a☺b", true, nil},
    	{"a[^a]b", "a☺b", true, nil},
    	{"a???b", "a☺b", false, nil},
    	{"a[^a][^a][^a]b", "a☺b", false, nil},
    	{"[a-ζ]*", "α", true, nil},
    	{"*[a-ζ]", "A", false, nil},
    	{"a?b", "a/b", false, nil},
    	{"a*b", "a/b", false, nil},
    	{"[\\]a]", "]", true, nil},
    	{"[\\-]", "-", true, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ModuleDependencyExcludeResolveIntegrationTest.groovy

            'exclude c'       | [[module: 'c']]                | ['a', 'b', 'd']
            'exclude d'       | [[module: 'd']]                | ['a', 'b', 'c']
            'exclude both'    | [[module: 'c'], [module: 'd']] | ['a', 'b']
            'exclude neither' | [[module: 'other']]            | ['a', 'b', 'c', 'd']
        }
    
        /**
         * Exclude of transitive dependency involved in a dependency cycle.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

        abstract String getPaid()
    
        def "selects configuration in target project which matches the configuration attributes"() {
            given:
            createDirs("a", "b")
            file('settings.gradle') << "include 'a', 'b'"
            buildFile << """
                $typeDefs
    
                project(':a') {
                    configurations {
                        _compileFreeDebug.attributes { $freeDebug }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ImportTest.kt

            val imports = listOf(
                importOf("a", "b", "C"),
                importOf("a", "b", "c", "d")
            )
            val analysisContext = testContext()
            val result = defaultCodeResolver().collectImports(imports, analysisContext)
    
            assertEquals(
                mapOf(
                    "C" to DefaultFqName("a.b", "C"),
                    "d" to DefaultFqName("a.b.c", "d")
                ),
                result
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/sort/zsortfunc.go

    // order2_func returns x,y where data[x] <= data[y], where x,y=a,b or x,y=b,a.
    func order2_func(data lessSwap, a, b int, swaps *int) (int, int) {
    	if data.Less(b, a) {
    		*swaps++
    		return b, a
    	}
    	return a, b
    }
    
    // median_func returns x where data[x] is the median of data[a],data[b],data[c], where x is a, b, or c.
    func median_func(data lessSwap, a, b, c int, swaps *int) int {
    	a, b = order2_func(data, a, b, swaps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go

    	}
    	if !s.HasAll("a", "b") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s2.Insert("a", "b", "d")
    	if s.IsSuperset(s2) {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	s2.Delete("d")
    	if !s.IsSuperset(s2) {
    		t.Errorf("Missing contents: %#v", s)
    	}
    }
    
    func TestSetDeleteMultiples(t *testing.T) {
    	s := sets.Set[string]{}
    	s.Insert("a", "b", "c")
    	if len(s) != 3 {
    		t.Errorf("Expected len=3: %d", len(s))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 09:03:44 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. src/strings/compare.go

    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    //
    // Use Compare when you need to perform a three-way comparison (with
    // slices.SortFunc, for example). It is usually clearer and always faster
    // to use the built-in string comparison operators ==, <, >, and so on.
    func Compare(a, b string) int {
    	return bytealg.CompareString(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 628 bytes
    - Viewed (0)
  9. test/phiopt.go

    }
    
    //go:noinline
    func f2(a, b int) bool {
    	x := true
    	if a == b {
    		x = false
    	}
    	return x // ERROR "converted OpPhi to Not$"
    }
    
    //go:noinline
    func f3(a, b int) bool {
    	x := false
    	if a == b {
    		x = true
    	}
    	return x // ERROR "converted OpPhi to Copy$"
    }
    
    //go:noinline
    func f4(a, b bool) bool {
    	return a || b // ERROR "converted OpPhi to OrB$"
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. test/typeparam/combine.go

    		if !ok {
    			return t, false
    		}
    		return join(t1, t2), true
    	}
    }
    
    type Pair[A, B any] struct {
    	A A
    	B B
    }
    
    func _NewPair[A, B any](a A, b B) Pair[A, B] {
    	return Pair[A, B]{a, b}
    }
    
    func Combine2[A, B any](ga Gen[A], gb Gen[B]) Gen[Pair[A, B]] {
    	return Combine(ga, gb, _NewPair[A, B])
    }
    
    func main() {
    	var g1 Gen[int] = func() (int, bool) { return 3, true }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top