Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 487 for Implicits (0.16 sec)

  1. test/interface/receiver1.go

    // errorcheck
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Verify compiler complains about missing implicit methods.
    // Does not compile.
    
    package main
    
    type T int
    
    func (t T) V()
    func (t *T) P()
    
    type V interface {
    	V()
    }
    type P interface {
    	P()
    	V()
    }
    
    type S struct {
    	T
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 03 17:55:56 UTC 2020
    - 790 bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt

            .singleOrNull()
    }
    
    /**
     * Implicit dispatch receiver is present when an extension function declared in object
     * is imported somewhere else and used without directly referencing the object instance
     * itself:
     *
     * ```kt
     * import Foo.bar
     *
     * object Foo { fun String.bar() {} }
     *
     * fun usage() {
     *   "hello".bar() // this call has implicit 'Foo' dispatch receiver
     * }
     * ```
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/Rule.java

     * limitations under the License.
     */
    package org.gradle.api;
    
    /**
     * <p>A {@code Rule} represents some action to perform when an unknown domain object is referenced. The rule can use the
     * domain object name to add an implicit domain object.</p>
     */
    public interface Rule {
        /**
         * Returns the description of the rule. This is used for reporting purposes.
         *
         * @return the description. should not return null.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/DoubleUtils.java

      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGN_MASK = 0x8000000000000000L;
    
      static final int SIGNIFICAND_BITS = 52;
    
      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
      static final long IMPLICIT_BIT = SIGNIFICAND_MASK + 1;
    
      static long getSignificand(double d) {
        checkArgument(isFinite(d), "not a normal value");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/RuleInput.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Attached to the getter for a property on a {@link RuleSource} to denote that the property defines an implicit input for all rules defined by the rule source.
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @Incubating
    public @interface RuleInput {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/DoubleUtils.java

      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGN_MASK = 0x8000000000000000L;
    
      static final int SIGNIFICAND_BITS = 52;
    
      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
      static final long IMPLICIT_BIT = SIGNIFICAND_MASK + 1;
    
      static long getSignificand(double d) {
        checkArgument(isFinite(d), "not a normal value");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/AnnotatedServiceLifecycleHandler.java

     */
    public interface AnnotatedServiceLifecycleHandler {
        List<Class<? extends Annotation>> getAnnotations();
    
        /**
         * When not null, all services are considered to have the implicit annotation
         * and the handler should be notified about all registrations.
         */
        @Nullable
        Class<? extends Annotation> getImplicitAnnotation();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:35:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GenerateExternalPluginSpecBuilders.kt

                    classPath,
                    outputFile,
                    packageName
                )
            }
            metadataOutputDir.withOutputDirectory { outputDir ->
                outputDir.resolve("implicit-imports").writeText(
                    "$packageName.*"
                )
            }
        }
    
        private
        fun createPackageDirIn(outputDir: File, packageName: String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/go/doc/testdata/generics.1.golden

    // Package generics contains the new syntax supporting generic ...
    PACKAGE generics
    
    IMPORTPATH
    	testdata/generics
    
    FILENAMES
    	testdata/generics.go
    
    FUNCTIONS
    	// AnotherFunc has an implicit constraint interface.  Neither type ...
    	func AnotherFunc[T ~struct{ f int }](_ struct{ f int })
    
    	// Func has an instantiated constraint. 
    	func Func[T Constraint[string, Type[int]]]()
    
    	// Single is not a factory function. 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/CapabilitiesConflictHandler.java

        /**
         * Was the given capability already seen which might require a conflict check later?
         * This is needed to determine if also implicit capabilities need to enter conflict detection.
         */
        boolean hasSeenCapability(Capability capability);
    
        interface Candidate {
            NodeState getNode();
            Capability getCapability();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top