Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 205 for asSubtype (0.16 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

    public abstract class KaSubtypingComponent : KaSessionComponent() {
        public abstract fun isEqualTo(first: KaType, second: KaType, errorTypePolicy: KaSubtypingErrorTypePolicy): Boolean
        public abstract fun isSubTypeOf(subType: KaType, superType: KaType, errorTypePolicy: KaSubtypingErrorTypePolicy): Boolean
    }
    
    public typealias KtSubtypingComponent = KaSubtypingComponent
    
    public interface KaSubtypingComponentMixIn : KaSessionMixIn {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/SpecializedModelMapStrategyTest.groovy

    class SpecializedModelMapStrategyTest extends Specification {
        def store = new DefaultModelSchemaStore(DefaultModelSchemaExtractor.withDefaultStrategies())
    
        def "assembles schema for model map subtype"() {
            expect:
            def schema = store.getSchema(ModelType.of(SpecializedMap))
            schema instanceof SpecializedMapSchema
            schema.elementType == ModelType.of(String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate.go

    		clause := &clauses[i]
    		for i := range accepted {
    			accepts := &accepted[i]
    			switch {
    			case clause.Type == accepts.MediaTypeType && clause.SubType == accepts.MediaTypeSubType,
    				clause.Type == accepts.MediaTypeType && clause.SubType == "*",
    				clause.Type == "*" && clause.SubType == "*":
    				if retVal, ret := acceptMediaTypeOptions(clause.Params, accepts, endpoint); ret {
    					return retVal, true
    				}
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 10 10:53:34 UTC 2019
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
       * getInstance(TypeToken.of(Foo.class))}.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeToInstanceMap.java

       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
       * getInstance(TypeToken.of(Foo.class))}.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinCompositeProviderFactory.kt

                // error is unfortunate, but to properly type this, we'd need to be able to restrict `KotlinCompositeProvider<P>` to be a
                // subtype of `P`, which is not possible in Kotlin.
                @Suppress("UNCHECKED_CAST")
                when (provider) {
                    is KotlinCompositeProvider<*> -> (provider as KotlinCompositeProvider<P>).providers
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. internal/s3select/parquet/args.go

    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subReaderArgs ReaderArgs
    	parsedArgs := subReaderArgs{}
    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    	args.unmarshaled = true
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. platforms/software/security/src/main/java/org/gradle/security/internal/BaseSignatoryProvider.java

    import org.gradle.api.Project;
    import org.gradle.plugins.signing.signatory.Signatory;
    
    /**
     * <p>Provides implementations of signatory implementations for a project.</p>
     *
     * @param <T> The specific {@link Signatory} subtype
     */
    public interface BaseSignatoryProvider<T extends Signatory> {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinComposableProvider.kt

     *
     * A composite provider should only contain providers of the same base type as the composite provider itself, so implementations of
     * [KotlinCompositeProvider] should always be a subtype of their type argument [P]. (This is not enforceable in the Kotlin type system.)
     */
    public interface KotlinCompositeProvider<P : KotlinComposableProvider> : KotlinComposableProvider {
        public val providers: List<P>
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.SocketAddress;
    import jnr.unixsocket.UnixSocket;
    import jnr.unixsocket.UnixSocketAddress;
    import jnr.unixsocket.UnixSocketChannel;
    
    /**
     * Subtype UNIX socket for a higher-fidelity impersonation of TCP sockets. This is named "tunneling"
     * because it assumes the ultimate destination has a hostname and port.
     */
    final class TunnelingUnixSocket extends UnixSocket {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 1.9K bytes
    - Viewed (0)
Back to top