Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for checkVal (0.17 sec)

  1. src/cmd/cover/testdata/test.go

    	}
    	for i := 0; i < 3; i++ {
    		if checkVal(LINE, 3, i) <= 2 {
    			check(LINE, 3)
    		}
    		if checkVal(LINE, 3, i) <= 1 {
    			check(LINE, 2)
    		}
    		if checkVal(LINE, 3, i) <= 0 {
    			check(LINE, 1)
    		}
    	}
    	for i := 0; i < 3; i++ {
    		if checkVal(LINE, 3, i) <= 1 {
    			check(LINE, 2)
    		} else {
    			check(LINE, 1)
    		}
    	}
    	for i := 0; i < 3; i++ {
    		if checkVal(LINE, 3, i) <= 0 {
    			check(LINE, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  2. cluster/images/etcd/migrate/integration_test.go

    				if err != nil {
    					t.Fatalf("failed to write text value: %v", err)
    				}
    
    				checkVal, err := server.client.Get(start.version, key)
    				if err != nil {
    					t.Errorf("Error getting %s for validation: %v", key, err)
    				}
    				if checkVal != value {
    					t.Errorf("Expected %s from %s but got %s", value, key, checkVal)
    				}
    			})
    
    			// Migrate the servers in series.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  3. src/cmd/cover/testdata/main.go

    func check(line, count uint32) {
    	b := block{
    		count,
    		line,
    	}
    	counters[b] = true
    }
    
    // checkVal is a version of check that returns its extra argument,
    // so it can be used in conditionals.
    func checkVal(line, count uint32, val int) int {
    	b := block{
    		count,
    		line,
    	}
    	counters[b] = true
    	return val
    }
    
    var PASS = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 16:40:40 UTC 2016
    - 3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/func_test.go

    // TODO(matloob): Allow values and predecessors to be in different
    // orders if the CFG are otherwise equivalent.
    func Equiv(f, g *Func) bool {
    	valcor := make(map[*Value]*Value)
    	var checkVal func(fv, gv *Value) bool
    	checkVal = func(fv, gv *Value) bool {
    		if fv == nil && gv == nil {
    			return true
    		}
    		if valcor[fv] == nil && valcor[gv] == nil {
    			valcor[fv] = gv
    			valcor[gv] = fv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. src/runtime/symtab.go

    			// Put the new element at the beginning,
    			// since it is the most likely to be newly used.
    			if debugCheckCache && checkPC != 0 {
    				if checkVal != val || checkPC != prevpc {
    					print("runtime: table value ", val, "@", prevpc, " != cache value ", checkVal, "@", checkPC, " at PC ", targetpc, " off ", off, "\n")
    					throw("bad pcvalue cache")
    				}
    			} else {
    				mp := acquirem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/organizing_tasks.adoc

    My CI build tasks
    -----------------
    checkAll - Runs checks for all projects (CI)
    
    My global build tasks
    ---------------------
    qualityCheckApp - Runs checks on app (globally)
    ----
    
    If we run the `:checkAll` task, we see that it compiles all the code and runs the code quality checks (including `spotbug`):
    
    [source,text]
    ----
    $ ./gradlew :checkAll
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 23:21:15 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

                    checkModel(actualItem, expectedItem, specs)
                }
                return
            }
    
            if (expected instanceof Map) {
                assert actual instanceof Map
                checkMap(actual, expected) { actualItem, expectedItem ->
                    checkModel(actualItem, expectedItem, specs)
                }
                return
            }
    
            for (def spec in specs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/build-organization/composite-builds/basic/groovy/build.gradle

    defaultTasks 'run'
    
    // tag::run[]
    tasks.register('run') {
        dependsOn gradle.includedBuild('my-app').task(':app:run')
    }
    // end::run[]
    
    task checkAll {
        dependsOn gradle.includedBuild('my-app').task(':app:check')
        dependsOn gradle.includedBuild('my-utils').task(':number-utils:check')
        dependsOn gradle.includedBuild('my-utils').task(':string-utils:check')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 369 bytes
    - Viewed (0)
  9. test/fixedbugs/issue7346.go

    // compile
    
    // Copyright 2014 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.
    
    // issue 7346 : internal error "doasm" error due to checknil
    // of a nil literal.
    
    package main
    
    func main() {
    	_ = *(*int)(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 303 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/composite-builds/basic/kotlin/build.gradle.kts

    defaultTasks("run")
    
    // tag::run[]
    tasks.register("run") {
        dependsOn(gradle.includedBuild("my-app").task(":app:run"))
    }
    // end::run[]
    
    tasks.register("checkAll") {
        dependsOn(gradle.includedBuild("my-app").task(":app:check"))
        dependsOn(gradle.includedBuild("my-utils").task(":number-utils:check"))
        dependsOn(gradle.includedBuild("my-utils").task(":string-utils:check"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 387 bytes
    - Viewed (0)
Back to top