Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 9,567 for Implements (0.14 sec)

  1. src/crypto/aes/modes_test.go

    	b := cipher.Block(&testBlock{})
    	if _, ok := b.(gcmAble); !ok {
    		t.Fatalf("testBlock does not implement the gcmAble interface")
    	}
    	aead, err := cipher.NewGCM(b)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    	if _, ok := aead.(testInterface); !ok {
    		t.Fatalf("cipher.NewGCM did not use gcmAble interface")
    	}
    }
    
    // testBlockMode implements the cipher.BlockMode interface.
    type testBlockMode struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/PluginServiceInjectionIntegrationTest.groovy

    class PluginServiceInjectionIntegrationTest extends AbstractIntegrationSpec {
    
        def "can apply a plugin with @Inject services constructor arg"() {
            buildFile """
                class CustomPlugin implements Plugin<Project> {
                    private final WorkerExecutor executor
    
                    @Inject
                    CustomPlugin(WorkerExecutor executor) {
                        this.executor = executor
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_proto.go

    	return &Timestamp{
    		Seconds: m.Time.Unix(),
    		Nanos:   int32(truncatedNanoseconds),
    	}
    }
    
    // Size implements the protobuf marshalling interface.
    func (m *MicroTime) Size() (n int) {
    	if m == nil || m.Time.IsZero() {
    		return 0
    	}
    	return m.ProtoMicroTime().Size()
    }
    
    // Reset implements the protobuf marshalling interface.
    func (m *MicroTime) Unmarshal(data []byte) error {
    	if len(data) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 02 08:21:04 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. src/log/slog/level.go

    	}
    }
    
    // MarshalJSON implements [encoding/json.Marshaler]
    // by quoting the output of [Level.String].
    func (l Level) MarshalJSON() ([]byte, error) {
    	// AppendQuote is sufficient for JSON-encoding all Level strings.
    	// They don't contain any runes that would produce invalid JSON
    	// when escaped.
    	return strconv.AppendQuote(nil, l.String()), nil
    }
    
    // UnmarshalJSON implements [encoding/json.Unmarshaler]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:34:43 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesCachingIntegrationTest.groovy

            }
            buildFile << """
    
    @CacheableRule
    class CachedRuleA implements ComponentMetadataRule {
        public void execute(ComponentMetadataContext context) {
                println 'Rule A executed'
                context.details.changing = true
        }
    }
    
    @CacheableRule
    class CachedRuleB implements ComponentMetadataRule {
        public void execute(ComponentMetadataContext context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/plugins/multiproject/common/maven-repo/com/example/sample-plugins/1.0.0/sample-plugins-1.0.0.jar

    META-INF/MANIFEST.MF Manifest-Version: 1.0 com/example/hello/HelloPlugin$1.class package com.example.hello; synchronized class HelloPlugin$1 implements org.gradle.api.Action { void HelloPlugin$1(HelloPlugin); public void execute(org.gradle.api.Task); } com/example/hello/HelloPlugin.class package com.example.hello; public synchronized class HelloPlugin implements org.gradle.api.Plugin { public void HelloPlugin(); public void apply(org.gradle.api.Project); } com/example/goodbye/GoodbyePlugin.class package...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/sys_netbsd.go

    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    	PathMTU int // path maximum transmission unit
    }
    
    // SysType implements the SysType method of Sys interface.
    func (rmx *RouteMetrics) SysType() SysType { return SysMetrics }
    
    // Sys implements the Sys method of Message interface.
    func (m *RouteMessage) Sys() []Sys {
    	return []Sys{
    		&RouteMetrics{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/isolated/IsolationSchemeTest.groovy

    }
    
    class DirectUsage implements SomeAction<CustomParams> {
    }
    
    interface Indirect<P> extends SomeAction<CustomParams> {
    }
    
    class IndirectUsage implements Indirect<Number> {
    }
    
    class NoParams implements SomeAction<Nothing> {
    }
    
    class BaseParams implements SomeAction<SomeParams> {
    }
    
    class RawActionType implements SomeAction {
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 19:49:52 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. internal/dsync/lock-args_gen.go

    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *ResponseCode) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ResponseCode(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. cmd/object-api-interface_gen.go

    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z ExpirationOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "Expire"
    	o = append(o, 0x81, 0xa6, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65)
    	o = msgp.AppendBool(o, z.Expire)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top