Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for div1 (0.05 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/FileHierarchySetTest.groovy

            flatten(set) == [parent.path, "1:dir1", "1:common", "2:dir2", "2:dir3"]
        }
    
        def "creates from files where one file is ancestor of the others"() {
            def dir1 = tmpDir.createDir("dir1")
            def dir2 = dir1.createDir("dir2")
    
            expect:
            def set = from(dir2, dir1)
            set.contains(dir1)
            set.contains(dir2)
            set.contains(dir1.file("child"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. test/codegen/arithmetic.go

    		d += e
    	}
    	return d, e
    }
    
    func NoFix32A(divr int32) (int32, int32) {
    	var d int32 = 42
    	var e int32 = 84
    	if divr > 5 {
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		d /= divr
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		e %= divr
    		d += e
    	}
    	return d, e
    }
    
    func NoFix32B(divd int32) (int32, int32) {
    	var d int32
    	var e int32
    	var divr int32 = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

                def sourceDirs = objects.sourceDirectorySet('main', 'main files')
                sourceDirs.srcDirs("dir1", "dir2")
                fileCollection.from(sourceDirs.srcDirTrees)
                println("files = \${fileCollection.files.name.sort()}")
            """
    
            given:
            file("dir1/file1").createFile()
            file("dir1/file2").createFile()
            file("dir2/sub/file3").createFile()
    
            expect:
            succeeds()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    value = layout.projectDir.dir("dir1")
                    propValue = layout.projectDir.dir("dir2")
                }
            """
    
            when:
            configurationCacheRun "ok"
            configurationCacheRun "ok"
    
            then:
            outputContains("value = ${file("dir1")}")
            outputContains("value.child = ${file("dir1/child")}")
            outputContains("propValue = ${file("dir2")}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    
    	testCases := []struct {
    		dir string
    		err error
    	}{
    		{
    			dir: "dir1/",
    			err: ObjectNotFound{Bucket: bucketName, Object: "dir1/"},
    		},
    		{
    			dir: "dir1/dir3/",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/cfg/cfg.go

    					return canonical(dir)
    				}
    			}
    		}
    	}
    	return def
    }
    
    // isSameDir reports whether dir1 and dir2 are the same directory.
    func isSameDir(dir1, dir2 string) bool {
    	if dir1 == dir2 {
    		return true
    	}
    	info1, err1 := os.Stat(dir1)
    	info2, err2 := os.Stat(dir2)
    	return err1 == nil && err2 == nil && os.SameFile(info1, info2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

        }
    
        def "generates -extdirs option"() {
            spec.compileOptions.extensionDirs = "/dir1:/dir2"
    
            expect:
            builder.build() == ["-extdirs", "/dir1:/dir2"] + defaultOptions
        }
    
        def "generates -classpath option"() {
            def file1 = new File("/lib/lib1.jar")
            def file2 = new File("/lib/lib2.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

            createJarFileWithProviderConfigurationFile(jarFile6, 'org.gradle.internal.other.Service', 'org.gradle.internal.other.ServiceImpl')
            def inputDirectory = inputFilesDir.createDir('dir1')
            writeClass(inputDirectory, "org/gradle/MyFirstClass")
            writeClass(inputDirectory, "org/gradle/MyAClass")
            writeClass(inputDirectory, "org/gradle/MyBClass")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Avg64u", argLength: 2, typ: "UInt64"}, // 64-bit platforms only
    
    	// For Div16, Div32 and Div64, AuxInt non-zero means that the divisor has been proved to be not -1
    	// or that the dividend is not the most negative value.
    	{name: "Div8", argLength: 2},  // arg0 / arg1, signed
    	{name: "Div8u", argLength: 2}, // arg0 / arg1, unsigned
    	{name: "Div16", argLength: 2, aux: "Bool"},
    	{name: "Div16u", argLength: 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/main.go

    	ownTmpDir      bool // set to true if tmp dir created by linker (e.g. no -tmpdir)
    )
    
    func init() {
    	flag.Var(&rpath, "r", "set the ELF dynamic linker search `path` to dir1:dir2:...")
    	flag.Var(&flagExtld, "extld", "use `linker` when linking in external mode")
    	flag.Var(&flagExtldflags, "extldflags", "pass `flags` to external linker")
    	flag.Var(&flagW, "w", "disable DWARF generation")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top