Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for test_sum (0.41 sec)

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

        }
    
        def adaptsEnum() {
            TestProtocolModel protocolModel = Mock()
            _ * protocolModel.getTestEnum() >> TestEnum.FIRST
    
            expect:
            TestModel model = adapter.adapt(TestModel.class, protocolModel)
            model.testEnum == TestEnum.FIRST
        }
    
        def adaptsStringToEnum() {
            TestProtocolModel protocolModel = Mock()
            _ * protocolModel.getTestEnum() >> "SECOND"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testlife/testdata/main.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build test_run
    
    // Run the game of life in C using Go for parallelization.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    
    	"cgolife"
    )
    
    const MAXDIM = 100
    
    var dim = flag.Int("dim", 16, "board dimensions")
    var gen = flag.Int("gen", 10, "generations")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 803 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/teststdio/testdata/hello.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build test_run
    
    package main
    
    import "cgostdio/stdio"
    
    func main() {
    	stdio.Stdout.WriteString(stdio.Greeting + "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 285 bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            @Option(description = "Descr enumListValue")
            final ListProperty<TestEnum> enumListValue
    
            @Option(description = "Descr enumSetValue")
            final SetProperty<TestEnum> enumSetValue
    
            @Option(description = "Descr enumValue")
            final Property<TestEnum> enumValue
    
            @Option(description = "Descr integerValue")
            final Property<Integer> integerValue
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/cgo_test.go

    func TestCheckConst(t *testing.T)            { testCheckConst(t) }
    func TestConst(t *testing.T)                 { testConst(t) }
    func TestCthread(t *testing.T)               { testCthread(t) }
    func TestEnum(t *testing.T)                  { testEnum(t) }
    func TestNamedEnum(t *testing.T)             { testNamedEnum(t) }
    func TestCastToEnum(t *testing.T)            { testCastToEnum(t) }
    func TestErrno(t *testing.T)                 { testErrno(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. test/typeparam/mapsimp.dir/main.go

    	}
    	a.Add(mc, map[int]int{16: 32})
    	want := map[int]int{1: 2, 2: 4, 4: 8, 8: 16, 16: 32}
    	if !a.Equal(mc, want) {
    		panic(fmt.Sprintf("a.Add result = %v, want %v", mc, want))
    	}
    }
    
    func TestSub() {
    	mc := a.Copy(m1)
    	a.Sub(mc, mc)
    	if len(mc) > 0 {
    		panic(fmt.Sprintf("a.Sub(%v, %v) = %v, want empty map", m1, m1, mc))
    	}
    	mc = a.Copy(m1)
    	a.Sub(mc, map[int]int{1: 0})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/teststdio/testdata/chain.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build test_run
    
    // Pass numbers along a chain of threads.
    
    package main
    
    import (
    	"runtime"
    	"strconv"
    
    	"cgostdio/stdio"
    )
    
    const N = 10
    const R = 5
    
    func link(left chan<- int, right <-chan int) {
    	// Keep the links in dedicated operating system
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 914 bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    }
    
    // validates the credential fields against the expected credential.
    func validateCredentialfields(t *testing.T, testNum int, expectedCredentials credentialHeader, actualCredential credentialHeader) {
    	if expectedCredentials.accessKey != actualCredential.accessKey {
    		t.Errorf("Test %d: AccessKey mismatch: Expected \"%s\", got \"%s\"", testNum, expectedCredentials.accessKey, actualCredential.accessKey)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/teststdio/testdata/fib.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build test_run
    
    // Compute Fibonacci numbers with two goroutines
    // that pass integers back and forth.  No actual
    // concurrency, just threads and synchronization
    // and foreign code on multiple pthreads.
    
    package main
    
    import (
    	"runtime"
    	"strconv"
    
    	"cgostdio/stdio"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 965 bytes
    - Viewed (0)
  10. .gitignore

    .tags*
    
    # Version file for dockerized build
    .dockerized-kube-version-defs
    
    # Web UI
    /www/master/node_modules/
    /www/master/npm-debug.log
    /www/master/shared/config/development.json
    
    # Karma output
    /www/test_out
    
    # precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh
    /_tmp/
    /doc_tmp/
    
    # Test artifacts produced by Prow/kubetest2 jobs
    /_artifacts/
    /_rundir/
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top