Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for endClass (0.13 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/TestWithClassPath.kt

    import org.gradle.kotlin.dsl.fixtures.classEntriesFor
    import org.gradle.kotlin.dsl.support.bytecode.InternalName
    import org.gradle.kotlin.dsl.support.bytecode.beginClass
    import org.gradle.kotlin.dsl.support.bytecode.endClass
    import org.gradle.kotlin.dsl.support.bytecode.publicDefaultConstructor
    import org.gradle.kotlin.dsl.support.zipTo
    
    import org.objectweb.asm.Opcodes.ACC_ABSTRACT
    import org.objectweb.asm.Opcodes.ACC_INTERFACE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/bytecode/AsmExtensions.kt

        superName: InternalName? = null,
        interfaces: List<InternalName>? = null,
        classBody: ClassWriter.() -> Unit = {}
    ) = beginPublicClass(name, superName, interfaces).run {
        classBody()
        endClass()
    }
    
    
    internal
    fun beginPublicClass(name: InternalName, superName: InternalName? = null, interfaces: List<InternalName>? = null) =
        beginClass(Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL, name, superName, interfaces)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

        superName: InternalName? = null,
        interfaces: List<InternalName>? = null,
        classBody: ClassWriter.() -> Unit = {}
    ) = beginPublicClass(name, superName, interfaces).run {
        classBody()
        endClass()
    }
    
    
    internal
    fun beginPublicClass(name: InternalName, superName: InternalName? = null, interfaces: List<InternalName>? = null) =
        beginClass(Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL, name, superName, interfaces)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/KotlinMetadata.kt

        signature.desc,
        methodBody = methodBody
    )
    
    
    internal
    fun ClassWriter.endKotlinClass(classHeader: KotlinClassHeader): ByteArray {
        visitKotlinMetadataAnnotation(classHeader)
        return endClass()
    }
    
    
    /**
     * Writes the given [header] to the class file as a [kotlin.Metadata] annotation.
     **/
    private
    fun ClassWriter.visitKotlinMetadataAnnotation(header: KotlinClassHeader) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/net/write_unix_test.go

    //go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package net
    
    import (
    	"bytes"
    	"syscall"
    	"testing"
    	"time"
    )
    
    // Test that a client can't trigger an endless loop of write system
    // calls on the server by shutting down the write side on the client.
    // Possibility raised in the discussion of https://golang.org/cl/71973.
    func TestEndlessWrite(t *testing.T) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  6. src/go/doc/testdata/e.go

    func (*T4) M() {}
    
    type T5 struct {
    	T4
    }
    
    // ----------------------------------------------------------------------------
    // Recursive type declarations must not lead to endless recursion.
    
    type U1 struct {
    	*U1
    }
    
    // U1.M should appear as method of U1.
    func (*U1) M() {}
    
    type U2 struct {
    	*U3
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.8K bytes
    - Viewed (0)
  7. src/go/internal/srcimporter/srcimporter_test.go

    }
    
    // verifyInterfaceMethodRecvs verifies that method receiver types
    // are named if the methods belong to a named interface type.
    func verifyInterfaceMethodRecvs(t *testing.T, named *types.Named, level int) {
    	// avoid endless recursion in case of an embedding bug that lead to a cycle
    	if level > 10 {
    		t.Errorf("%s: embeds itself", named)
    		return
    	}
    
    	iface, _ := named.Underlying().(*types.Interface)
    	if iface == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. src/go/types/methodset.go

    	}
    
    	// Start with typ as single entry at shallowest depth.
    	current := []embeddedType{{typ, nil, isPtr, false}}
    
    	// seen tracks named types that we have seen already, allocated lazily.
    	// Used to avoid endless searches in case of recursive types.
    	//
    	// We must use a lookup on identity rather than a simple map[*Named]bool as
    	// instantiated types may be identical but not equal.
    	var seen instanceLookup
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            }
        }
    
        private String getMessage(String message, Throwable exception) {
            String fullMessage = (message != null) ? message : "";
    
            // To break out of possible endless loop when getCause returns "this", or dejaVu for n-level recursion (n>1)
            Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java

    import java.util.Set;
    import java.util.stream.Collectors;
    
    /**
     * This class keeps track of all objects being evaluated at the moment.
     * It helps to provide nicer error messages when the evaluation enters an endless cycle (A obtains a value of B which obtains a value of A).
     * <p>
     * Concurrent evaluation of same objects by multiple threads is still allowed.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top