Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,613 for a$b (0.03 sec)

  1. test/func5.go

    package main
    
    func caller(f func(int, int) int, a, b int, c chan int) {
    	c <- f(a, b)
    }
    
    func gocall(f func(int, int) int, a, b int) int {
    	c := make(chan int)
    	go caller(f, a, b, c)
    	return <-c
    }
    
    func call(f func(int, int) int, a, b int) int {
    	return f(a, b)
    }
    
    func call1(f func(int, int) int, a, b int) int {
    	return call(f, a, b)
    }
    
    var f func(int, int) int
    
    func add(x, y int) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 03:28:53 UTC 2012
    - 1.5K bytes
    - Viewed (0)
  2. test/torture.go

    }
    
    // Chains of divisions. See issue 4201.
    
    func ChainDiv(a, b int) int {
    	return a / b / a / b / a / b / a / b /
    		a / b / a / b / a / b / a / b /
    		a / b / a / b / a / b / a / b
    }
    
    func ChainDivRight(a, b int) int {
    	return a / (b / (a / (b /
    		(a / (b / (a / (b /
    			(a / (b / (a / (b /
    				(a / (b / (a / (b /
    					(a / (b / (a / b))))))))))))))))))
    }
    
    func ChainDivConst(a int) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 01 07:20:51 UTC 2014
    - 7.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/clean_binary.txt

    env GO111MODULE=on
    
    ! exists main$GOEXE
    go build main.go
    exists -exec main$GOEXE
    go clean
    ! exists main$GOEXE
    
    # case2: test module-named executable 'a.b.c'
    ! exists a.b.c$GOEXE
    go build
    exists -exec a.b.c$GOEXE
    go clean
    ! exists a.b.c$GOEXE
    
    # case3: directory-named executable 'src'
    env GO111MODULE=off
    
    ! exists src$GOEXE
    go build
    exists -exec src$GOEXE
    go clean
    ! exists src$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 13:36:17 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/NamespaceBuilderTest.groovy

            ":a"       | "a"
            ":abc"     | "abc"
            ":a:b:c"   | "a_b_c"
            ":a:b:c:"  | "a_b_c"
            "a-b-c"    | "a_b_c"
            "-a-b-c-"  | "a_b_c"
            "::a::b::" | "a_b"
            "a b c"    | "a_b_c"
            "  a b c " | "a_b_c"
            "~abc"     | "abc"
            "~a~b~c~"  | "a_b_c"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. test/typeparam/cons.go

    	return casecons.Apply(xs)
    }
    
    type mapNil[a, b any] struct {
    }
    
    func (m mapNil[a, b]) Apply(_ Nil[a]) any {
    	return Nil[b]{}
    }
    
    type mapCons[a, b any] struct {
    	f Function[a, b]
    }
    
    func (m mapCons[a, b]) Apply(xs Cons[a]) any {
    	return Cons[b]{m.f.Apply(xs.Head), Map[a, b](m.f, xs.Tail)}
    }
    
    func Map[a, b any](f Function[a, b], xs List[a]) List[b] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 21 23:41:49 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleSupportedTypesIntegrationTest.groovy

            "HashSet<String>"                    | "['a', 'b', 'c'] as HashSet"              | "[a, b, c]"
            "LinkedHashSet<String>"              | "['a', 'b', 'c'] as LinkedHashSet"        | "[a, b, c]"
            "CopyOnWriteArraySet<String>"        | "['a', 'b', 'c'] as CopyOnWriteArraySet"  | "[a, b, c]"
            "TreeSet<String>"                    | "['a', 'b', 'c'] as TreeSet"              | "[a, b, c]"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:40:52 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. test/fixedbugs/issue47185.dir/bad/bad.go

    	m := make(map[int64]A)
    	a := m[0]
    	if len(a.B.C1.D2.E2.F1) != 0 ||
    		len(a.B.C1.D2.E2.F2) != 0 ||
    		len(a.B.C1.D2.E2.F3) != 0 ||
    		len(a.B.C1.D2.E2.F4) != 0 ||
    		len(a.B.C1.D2.E2.F5) != 0 ||
    		len(a.B.C1.D2.E2.F6) != 0 ||
    		len(a.B.C1.D2.E2.F7) != 0 ||
    		len(a.B.C1.D2.E2.F8) != 0 ||
    		len(a.B.C1.D2.E2.F9) != 0 ||
    		len(a.B.C1.D2.E2.F10) != 0 ||
    		len(a.B.C1.D2.E2.F11) != 0 ||
    		len(a.B.C1.D2.E2.F16) != 0 {
    		panic("bad")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 19 13:27:46 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. src/path/filepath/path_test.go

    	{"a/b/c/d", "a/b/", "../.."},
    	{"a/b/c/d/", "a/b", "../.."},
    	{"a/b/c/d/", "a/b/", "../.."},
    	{"../../a/b", "../../a/b/c/d", "c/d"},
    	{"/a/b", "/a/b", "."},
    	{"/a/b/.", "/a/b", "."},
    	{"/a/b", "/a/b/.", "."},
    	{"/ab/cd", "/ab/cde", "../cde"},
    	{"/ab/cd", "/ab/c", "../c"},
    	{"/a/b", "/a/b/c/d", "c/d"},
    	{"/a/b", "/a/b/../c", "../c"},
    	{"/a/b/../c", "/a/b", "../b"},
    	{"/a/b/c", "/a/c/d", "../../c/d"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. src/slices/zsortordered.go

    func order2Ordered[E cmp.Ordered](data []E, a, b int, swaps *int) (int, int) {
    	if cmp.Less(data[b], data[a]) {
    		*swaps++
    		return b, a
    	}
    	return a, b
    }
    
    // medianOrdered returns x where data[x] is the median of data[a],data[b],data[c], where x is a, b, or c.
    func medianOrdered[E cmp.Ordered](data []E, a, b, c int, swaps *int) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParserTest.groovy

            version.parts as List == parts
    
            where:
            versionStr      | parts
            'a.b.c'         | ['a', 'b', 'c']
            'a-b-c'         | ['a', 'b', 'c']
            'a_b_c'         | ['a', 'b', 'c']
            'a+b+c'         | ['a', 'b', 'c']
            'a.b-c+d_e'     | ['a', 'b', 'c', 'd', 'e']
            '\u03b1-\u03b2' | ['\u03b1', '\u03b2']
        }
    
        def "splits on adjacent digits and alpha"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top