Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getEstimatedSingleLambdaHandlingCodeLength (0.7 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

                    Type[] argumentTypes = Type.getArgumentTypes(factory.descriptor);
    
                    int codeSizeSoFar = sizeEvaluator.getMaxSize();
                    if (codeSizeSoFar + getEstimatedSingleLambdaHandlingCodeLength(argumentTypes) + getEstimatedEpilogueLength() >= MAX_CODE_SIZE) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/LambdaSerializationTransformerTest.groovy

            def estimatedDeserializationMethodSize = (
                transformer.estimatedDeserializationPrologueLength
                    + transformer.estimatedEpilogueLength
                    + transformer.getEstimatedSingleLambdaHandlingCodeLength(lambdaArgs as Type[])
            )
    
            then:
            // ASM has no API to figure out the exact method size, so we have to rely on estimations.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 11:19:58 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top