Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fireCount (0.18 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelNodeInternalTest.groovy

            def descriptor = Mock(ModelRuleDescriptor)
            ModelNodeInternal modelNode = new TestNode(registration)
            def executionBinder = Mock(RuleBinder)
            executionBinder.isBound() >> true
            executionBinder.getInputBindings() >> []
            executionBinder.getDescriptor() >> descriptor
    
            when:
            fireCount.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatistics.java

                long fileCount = this.fileCount.getAndSet(0);
                long failedFileCount = this.failedFileCount.getAndSet(0);
    
                return new DirectorySnapshotterStatistics() {
                    @Override
                    public long getVisitedHierarchyCount() {
                        return hierarchyCount;
                    }
    
                    @Override
                    public long getVisitedDirectoryCount() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/syscall/rlimit_test.go

    	// Check that we can open 1200 files, which proves
    	// that the rlimit is being raised appropriately on those systems.
    	fileCount := 1200
    
    	// OpenBSD has a default soft limit of 512 and hard limit of 1024.
    	if runtime.GOOS == "openbsd" {
    		fileCount = 768
    	}
    
    	var files []*os.File
    	for i := 0; i < fileCount; i++ {
    		f, err := os.Open("rlimit.go")
    		if err != nil {
    			t.Error(err)
    			break
    		}
    		files = append(files, f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 21:22:57 UTC 2023
    - 953 bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy

        private static long millisToSeconds(long millis) {
            millis / 1000L
        }
    
        private static generateFilesAndSubDirectories(TestFile parentDir, int fileCount, int dirCount, int maxDepth, int currentDepth, AtomicInteger fileIdGenerator) {
            for (int i = 0; i < fileCount; i++) {
                parentDir.createFile("file" + fileIdGenerator.incrementAndGet()) << ("x" * fileIdGenerator.get())
            }
            if (currentDepth < maxDepth) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

        }
    
        private static ImmutableList<DataSource> createInputFiles(int fileCount, int minFileSize, int maxFileSize, DataAccessor accessor) throws IOException {
            Random random = new Random(1234L);
            ImmutableList.Builder<DataSource> inputs = ImmutableList.builder();
            for (int idx = 0; idx < fileCount; idx++) {
                String name = "input-" + idx + ".bin";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/developingPlugins/incrementalTask/groovy/build.gradle

    tasks.register("generate", Generate) {
        fileCount = 2
        content = 'Hello World!'
        generatedFileDir = layout.buildDirectory.file("generated-output")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 158 bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            where:
            walkerInstance << walkers
        }
    
        @VisibleForTesting
        static generateFilesAndSubDirectories(File parentDir, int fileCount, int dirCount, int maxDepth, int currentDepth, AtomicInteger fileIdGenerator) {
            for (int i = 0; i < fileCount; i++) {
                def file = new File(parentDir, "file" + fileIdGenerator.incrementAndGet())
                file << ("x" * fileIdGenerator.get())
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. cluster/gce/gci/flexvolume_node_setup.sh

      fi
    
      for driver_dir in "${MOUNTER_PATH}/flexvolume"/*; do
        if [ -d "$driver_dir" ]; then
    
          filecount=$(cd "$driver_dir"; find . -mindepth 1 -maxdepth 1 -print0 | xargs -0 -n1 basename | wc -l)
          if [ "$filecount" -gt 1 ]; then
            echo "ERROR: Expected 1 file in the FlexVolume directory but found $filecount."
            exit 1
          fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 13 17:58:51 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  9. src/go/types/gotype.go

    	conf.Check(path, fset, files, nil)
    }
    
    func printStats(d time.Duration) {
    	fileCount := 0
    	lineCount := 0
    	fset.Iterate(func(f *token.File) bool {
    		fileCount++
    		lineCount += f.LineCount()
    		return true
    	})
    
    	fmt.Printf(
    		"%s (%d files, %d lines, %d lines/s)\n",
    		d, fileCount, lineCount, int64(float64(lineCount)/d.Seconds()),
    	)
    }
    
    func main() {
    	flag.Usage = usage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

                path = ".";
            }
            else {
                out.println("<b><big>" + path + "</big></b><br>");
                path = "../";
            }
            out.println( ( dirCount + fileCount ) + " objects (" + dirCount + " directories, " + fileCount + " files)<br>");
            out.println("<b><a class=\"plain\" href=\".\">normal</a> | <a class=\"plain\" href=\"?fmt=detail\">detailed</a></b>");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
Back to top