Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for flatDir (0.09 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandler.java

        @Override
        public FlatDirectoryArtifactRepository flatDir(Action<? super FlatDirectoryArtifactRepository> action) {
            return addRepository(repositoryFactory.createFlatDirRepository(), FLAT_DIR_DEFAULT_NAME, action);
        }
    
        @Override
        @SuppressWarnings("rawtypes")
        public FlatDirectoryArtifactRepository flatDir(Closure configureClosure) {
            return flatDir(ConfigureUtil.configureUsing(configureClosure));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/RepositoryHandler.java

         * </table>
         *
         * <p>Examples:</p>
         * <pre class='autoTested'>
         * repositories {
         *     flatDir name: 'libs', dirs: "$projectDir/libs"
         *     flatDir dirs: ["$projectDir/libs1", "$projectDir/libs2"]
         * }
         * </pre>
         *
         * @param args The arguments used to configure the repository.
         * @return the added resolver
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 03:42:11 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

        def "jars on buildscript classpath can change"() {
            given:
            buildFile << '''
                buildscript {
                    repositories { flatDir { dirs 'repo' }}
                    dependencies { classpath name: 'test', version: '1.3-BUILD-SNAPSHOT' }
                }
    
                task hello {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandlerTest.groovy

            expect:
            handler.flatDir { name = 'libs' }.is(repository)
        }
    
        def testFlatDirWithMap() {
            given:
            def repository = Mock(TestFlatDirectoryArtifactRepository) { getName() >> "name" }
            1 * repositoryFactory.createFlatDirRepository() >> repository
    
            expect:
            handler.flatDir([name: 'libs'] + [dirs: ['a', 'b']]).is(repository)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 18:02:33 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

            def repoDir = testDirectory.createDir("repo")
            repoDir.createFile("lib-1.0.jar")
    
            runEclipseTask """
    apply plugin: "java"
    apply plugin: "eclipse"
    
    repositories {
    	flatDir { dirs "${TextUtil.escapeString(repoDir)}" }
    }
    
    dependencies {
    	implementation "some:lib:1.0"
    }
            """
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	Value         int64
    	Flat, FlatDiv int64
    	Cum, CumDiv   int64
    }
    
    // FlatValue returns the exclusive value for this tag, computing the
    // mean if a divisor is available.
    func (t *Tag) FlatValue() int64 {
    	if t.FlatDiv == 0 {
    		return t.Flat
    	}
    	return t.Flat / t.FlatDiv
    }
    
    // CumValue returns the inclusive value for this tag, computing the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. src/internal/profile/graph.go

    type Graph struct {
    	Nodes Nodes
    }
    
    // FlatValue returns the exclusive value for this node, computing the
    // mean if a divisor is available.
    func (n *Node) FlatValue() int64 {
    	if n.FlatDiv == 0 {
    		return n.Flat
    	}
    	return n.Flat / n.FlatDiv
    }
    
    // CumValue returns the inclusive value for this node, computing the
    // mean if a divisor is available.
    func (n *Node) CumValue() int64 {
    	if n.CumDiv == 0 {
    		return n.Cum
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	file            string
    	line            int
    	flat, cum       int64
    	flatDiv, cumDiv int64
    	startsBlock     bool
    	inlineCalls     []callID
    }
    
    type callID struct {
    	file string
    	line int
    }
    
    func (a *assemblyInstruction) flatValue() int64 {
    	if a.flatDiv != 0 {
    		return a.flat / a.flatDiv
    	}
    	return a.flat
    }
    
    func (a *assemblyInstruction) cumValue() int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    				x := sp.insts[addr]
    				flatSum += x.flat
    				cumSum += x.cum
    				startsBlock := (addr != lastAddr+uint64(sp.insts[lastAddr].length))
    				lastAddr = addr
    
    				// divisors already applied, so leave flatDiv,cumDiv as 0
    				asm = append(asm, assemblyInstruction{
    					address:     x.objAddr,
    					instruction: x.disasm,
    					function:    fn.name,
    					file:        x.file,
    					line:        x.line,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top