Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for metafactory (0.31 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	}
    }
    
    type serializer struct {
    	metaFactory metaFactory
    	creater     runtime.ObjectCreater
    	typer       runtime.ObjectTyper
    	options     options
    }
    
    func NewSerializer(creater runtime.ObjectCreater, typer runtime.ObjectTyper, options ...Option) Serializer {
    	return newSerializer(&defaultMetaFactory{}, creater, typer, options...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    	}
    }
    
    func TestDecode(t *testing.T) {
    	for _, tc := range []struct {
    		name          string
    		options       []Option
    		data          []byte
    		gvk           *schema.GroupVersionKind
    		metaFactory   metaFactory
    		typer         runtime.ObjectTyper
    		creater       runtime.ObjectCreater
    		into          runtime.Object
    		expectedObj   runtime.Object
    		expectedGVK   *schema.GroupVersionKind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/meta.go

    limitations under the License.
    */
    
    package json
    
    import (
    	"encoding/json"
    	"fmt"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    // MetaFactory is used to store and retrieve the version and kind
    // information for JSON objects in a serializer.
    type MetaFactory interface {
    	// Interpret should return the version and kind of the wire-format of
    	// the object.
    	Interpret(data []byte) (*schema.GroupVersionKind, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go

    // is not nil, the object has the group, version, and kind fields set.
    // Deprecated: use NewSerializerWithOptions instead.
    func NewSerializer(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.ObjectTyper, pretty bool) *Serializer {
    	return NewSerializerWithOptions(meta, creater, typer, SerializerOptions{false, pretty, false})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 16:08:07 UTC 2022
    - 12K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go

    	AcceptStreamContentTypes []string
    	StreamContentType        string
    
    	Framer           runtime.Framer
    	StreamSerializer runtime.Serializer
    }
    
    func newSerializersForScheme(scheme *runtime.Scheme, mf json.MetaFactory, options CodecFactoryOptions) []serializerType {
    	jsonSerializer := json.NewSerializerWithOptions(
    		mf, scheme, scheme,
    		json.SerializerOptions{Yaml: false, Pretty: false, Strict: options.Strict},
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

                if (bootstrapMethodHandle.getOwner().equals(LAMBDA_METAFACTORY_TYPE) && bootstrapMethodHandle.getName().equals("metafactory")) {
                    Handle altMethod = new Handle(
                        H_INVOKESTATIC,
                        LAMBDA_METAFACTORY_TYPE,
                        "altMetafactory",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

            private static final Handle LAMBDA_BOOTSTRAP_HANDLE = new Handle(H_INVOKESTATIC, LAMBDA_METAFACTORY_TYPE.getInternalName(), "metafactory", LAMBDA_METAFACTORY_METHOD, false);
            private static final Type RETURN_VOID_METHOD_TYPE = Type.getMethodType(RETURN_VOID);
            private static final Type RETURN_OBJECT_METHOD_TYPE = Type.getMethodType(RETURN_OBJECT);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/FactoryBackedCompileOperation.java

        private final Factory<T> dataFactory;
        private final Serializer<T> serializer;
    
        public FactoryBackedCompileOperation(String id, String stage, Transformer transformer, Factory<T> dataFactory, Serializer<T> serializer) {
            this.id = id;
            this.stage = stage;
            this.transformer = transformer;
            this.dataFactory = dataFactory;
            this.serializer = serializer;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 01 11:44:55 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                return method.getParameterTypes();
            }
    
            private Member getFactory() {
                return method.getMethod();
            }
    
            @Override
            protected String getFactoryDisplayName() {
                return String.format("method %s.%s()", format(getFactory().getDeclaringClass()), getFactory().getName());
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. src/go/doc/testdata/b.0.golden

    	// Associated with comparable type if AllDecls is set. 
    	func ComparableFactory() comparable
    
    	// 
    	func F(x int) int
    
    	// 
    	func F1() notExported
    
    	// Always under the package functions list. 
    	func NotAFactory() int
    
    	// Associated with uint type if AllDecls is set. 
    	func UintFactory() uint
    
    
    TYPES
    	// 
    	type T struct{}	// T
    
    	// 
    	var V T	// v
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 11 16:05:02 UTC 2022
    - 766 bytes
    - Viewed (0)
Back to top