Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,325 for implementMe (0.2 sec)

  1. src/internal/reflectlite/type.go

    func TypeOf(i any) Type {
    	return toType(abi.TypeOf(i))
    }
    
    func (t rtype) Implements(u Type) bool {
    	if u == nil {
    		panic("reflect: nil type passed to Type.Implements")
    	}
    	if u.Kind() != Interface {
    		panic("reflect: non-interface type passed to Type.Implements")
    	}
    	return implements(u.common(), t.common())
    }
    
    func (t rtype) AssignableTo(u Type) bool {
    	if u == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

                    ModelType<?> internalView = internalViewRegistration.getInternalView();
                    // Managed internal views are allowed not to be implemented by the default implementation
                    if (isManaged(internalView)) {
                        continue;
                    }
                    if (!internalView.isAssignableFrom(implementationType)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Converter.java

       * @throws UnsupportedOperationException if backward conversion is not implemented; this should be
       *     very rare. Note that if backward conversion is not only unimplemented but
       *     unimplement<i>able</i> (for example, consider a {@code Converter<Chicken, ChickenNugget>}),
       *     then this is not logically a {@code Converter} at all, and should just implement {@link
       *     Function}.
       */
      @ForOverride
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

       * @throws UnsupportedOperationException if backward conversion is not implemented; this should be
       *     very rare. Note that if backward conversion is not only unimplemented but
       *     unimplement<i>able</i> (for example, consider a {@code Converter<Chicken, ChickenNugget>}),
       *     then this is not logically a {@code Converter} at all, and should just implement {@link
       *     Function}.
       */
      @ForOverride
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. src/io/io.go

    // Because Copy is defined to read from src until EOF, it does
    // not treat an EOF from Read as an error to be reported.
    //
    // If src implements [WriterTo],
    // the copy is implemented by calling src.WriteTo(dst).
    // Otherwise, if dst implements [ReaderFrom],
    // the copy is implemented by calling dst.ReadFrom(src).
    func Copy(dst Writer, src Reader) (written int64, err error) {
    	return copyBuffer(dst, src, nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

        def "restores task with Transformer implemented by Java lambda"() {
            given:
            file("buildSrc/src/main/java/my/LambdaPlugin.java").tap {
                parentFile.mkdirs()
                text = """
                    package my;
    
                    import org.gradle.api.*;
                    import org.gradle.api.tasks.*;
    
                    public class LambdaPlugin implements Plugin<Project> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/go/types/instantiate.go

    		// the parameterized type.
    		bound := check.subst(pos, tpar.bound, smap, nil, ctxt)
    		var cause string
    		if !check.implements(pos, targs[i], bound, true, &cause) {
    			return i, errors.New(cause)
    		}
    	}
    	return -1, nil
    }
    
    // implements checks if V implements T. The receiver may be nil if implements
    // is called through an exported API call such as AssignableTo. If constraint
    // is set, T is a type constraint.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/instantiate.go

    		// the parameterized type.
    		bound := check.subst(pos, tpar.bound, smap, nil, ctxt)
    		var cause string
    		if !check.implements(pos, targs[i], bound, true, &cause) {
    			return i, errors.New(cause)
    		}
    	}
    	return -1, nil
    }
    
    // implements checks if V implements T. The receiver may be nil if implements
    // is called through an exported API call such as AssignableTo. If constraint
    // is set, T is a type constraint.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/crypto/tls/cipher_suites.go

    	supportedUpToTLS12 = []uint16{VersionTLS10, VersionTLS11, VersionTLS12}
    	supportedOnlyTLS12 = []uint16{VersionTLS12}
    	supportedOnlyTLS13 = []uint16{VersionTLS13}
    )
    
    // CipherSuites returns a list of cipher suites currently implemented by this
    // package, excluding those with security issues, which are returned by
    // [InsecureCipherSuites].
    //
    // The list is sorted by ID. Note that the default cipher suites selected by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa.go

    	"golang.org/x/crypto/cryptobyte/asn1"
    )
    
    // PublicKey represents an ECDSA public key.
    type PublicKey struct {
    	elliptic.Curve
    	X, Y *big.Int
    }
    
    // Any methods implemented on PublicKey might need to also be implemented on
    // PrivateKey, as the latter embeds the former and will expose its methods.
    
    // ECDH returns k as a [ecdh.PublicKey]. It returns an error if the key is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top