Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for checkdiv3 (0.13 sec)

  1. test/divmod.go

    			checkdiv2(x-1, y+1)
    			checkdiv2(x+1, y+1)
    		}
    	}
    }
    
    func checkdiv2(x, y uint64) {
    	checkdiv3(x, y)
    	checkdiv3(^x, y)
    	checkdiv3(x, ^y)
    	checkdiv3(^x, ^y)
    }
    
    var ntest int64 = 0
    
    func checkdiv3(x, y uint64) {
    	ntest++
    	if ntest&(ntest-1) == 0 && long {
    		println(ntest, "...")
    	}
    	checkuint64(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 9.3K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy

        }
    
        def "default dirs"() {
            expect:
            checkDirs()
        }
    
        def "dynamic dirs"() {
            when:
            project.buildDir = project.file('mybuild')
    
            then:
            checkDirs()
        }
    
        private void checkDirs() {
            assert convention.docsDir == new File(project.buildDir, convention.docsDirName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/GradleBuildScriptExecutionFromSubDirIntegTest.groovy

            buildFile """
                tasks.register("checkDir") {
                    def file = file("tmp/gradle")
                    doLast {
                        println file
                    }
                }
            """
            settingsFile << "include 'tmp'"
    
            when:
            def subdir = file("tmp")
            subdir.mkdirs()
            executer.inDirectory(subdir)
            succeeds ':checkDir'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    //
    // CheckDir returns an error if it encounters an I/O error or if the returned
    // [CheckedFiles] does not describe a valid module zip file (according to
    // [CheckedFiles.Err]). The returned [CheckedFiles] is still populated when such
    // an error is returned.
    //
    // Note that CheckDir will not open any files, so [CreateFromDir] may still fail
    // when CheckDir is successful due to I/O errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  5. src/testing/fstest/testfs.go

    		f.Close()
    		t.errorf("%s: Open returned File type %T, not a fs.ReadDirFile", dir, f)
    		return nil
    	}
    	return d
    }
    
    // checkDir checks the directory dir, which is expected to exist
    // (it is either the root or was found in a directory listing with IsDir true).
    func (t *fsTester) checkDir(dir string) {
    	// Read entire directory.
    	t.dirs = append(t.dirs, dir)
    	d := t.openDir(dir)
    	if d == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top