Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for implementMe (0.21 sec)

  1. src/cmd/compile/internal/types2/api_predicates.go

    }
    
    // Implements reports whether type V implements interface T.
    //
    // The behavior of Implements is unspecified if V is Typ[Invalid] or an uninstantiated
    // generic type.
    func Implements(V Type, T *Interface) bool {
    	if T.Empty() {
    		// All types (even Typ[Invalid]) implement the empty interface.
    		return true
    	}
    	// Checker.implements suppresses errors for invalid types, so we need special
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. 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)
  3. platforms/documentation/docs/src/snippets/plugins/customPlugin/readme.xml

    <sample>
        <para>A set of projects that show how to implement, test, publish and use a custom plugin and task.</para>
        <para>This sample contains the following projects:</para>
        <itemizedlist>
            <listitem>
                <para>The <filename>java-gradle-plugin</filename> directory contains the project that implements and publishes the plugin.</para>
            </listitem>
            <listitem>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 563 bytes
    - Viewed (0)
  4. 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)
  5. src/go/types/api_predicates.go

    }
    
    // Implements reports whether type V implements interface T.
    //
    // The behavior of Implements is unspecified if V is Typ[Invalid] or an uninstantiated
    // generic type.
    func Implements(V Type, T *Interface) bool {
    	if T.Empty() {
    		// All types (even Typ[Invalid]) implement the empty interface.
    		return true
    	}
    	// Checker.implements suppresses errors for invalid types, so we need special
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/storage/storage.go

    // ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
    func (r *REST) ShortNames() []string {
    	return []string{"po"}
    }
    
    // Implement CategoriesProvider
    var _ rest.CategoriesProvider = &REST{}
    
    // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.
    func (r *REST) Categories() []string {
    	return []string{"all"}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  7. pkg/registry/core/limitrange/storage/storage.go

    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, err
    	}
    	return &REST{store}, nil
    }
    
    // Implement ShortNamesProvider
    var _ rest.ShortNamesProvider = &REST{}
    
    // ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
    func (r *REST) ShortNames() []string {
    	return []string{"limits"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. pkg/registry/apps/daemonset/storage/storage.go

    }
    
    // Implement ShortNamesProvider
    var _ rest.ShortNamesProvider = &REST{}
    
    // ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
    func (r *REST) ShortNames() []string {
    	return []string{"ds"}
    }
    
    var _ rest.CategoriesProvider = &REST{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  9. pkg/api/testing/meta_test.go

    						t.Errorf("%v (%v) has ObjectMeta but does not implement ObjectMetaAccessor", gv.WithKind(kind), knownType)
    						continue
    					}
    					if _, ok := value.Elem().Type().FieldByName("ListMeta"); ok {
    						t.Errorf("%v (%v) has ListMeta but does not implement ListMetaAccessor", gv.WithKind(kind), knownType)
    						continue
    					}
    					t.Logf("%v (%v) does not implement ListMetaAccessor or ObjectMetaAccessor", gv.WithKind(kind), knownType)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. 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)
Back to top