Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getUniqueBuildId (0.41 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ApplyNonAbiChangeToGroovySourceFileMutator.groovy

            super(sourceFile)
        }
    
        @Override
        protected void applyChangeAt(BuildContext context, StringBuilder text, int lastMethodEndPos) {
            text.insert(lastMethodEndPos, "System.out.println(\"${context.getUniqueBuildId()}\");")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ApplyAbiChangeToGroovySourceFileMutator.groovy

            super(sourceFile)
        }
    
        @Override
        protected void applyChangeAt(BuildContext context, StringBuilder text, int lastMethodEndPos) {
            String method = "_m${context.getUniqueBuildId()}()"
            text.insert(lastMethodEndPos + 1, "\npublic void $method { }")
            text.insert(lastMethodEndPos, "$method;")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/SwiftBuildPerformanceTest.groovy

            }
    
            @Override
            protected void applyChangeTo(BuildContext context, StringBuilder text) {
                def location = text.indexOf("public init() { }")
                text.insert(location, "var ${context.getUniqueBuildId()} : Int = 0\n    ")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top