- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,341 for convertFn (0.14 sec)
-
pkg/bootstrap/option/instance.go
applyFunc func(map[string]any, *instance) error ) type instance struct { name Name convertFn convertFunc applyFn applyFunc } func (i *instance) Name() Name { return i.name } func (i *instance) withConvert(fn convertFunc) *instance { out := *i out.convertFn = fn return &out } func (i *instance) apply(params map[string]any) error { return i.applyFn(params, i) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/converter_test.go
} type C struct{} c := NewConverter(nil) convertFn1 := func(in *A, out *B, s Scope) error { out.Bar = in.Foo out.Baz = in.Baz return nil } if err := c.RegisterUntypedConversionFunc( (*A)(nil), (*B)(nil), func(a, b interface{}, s Scope) error { return convertFn1(a.(*A), b.(*B), s) }, ); err != nil { t.Fatalf("unexpected error %v", err) } convertFn2 := func(in *B, out *A, s Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 06 06:28:24 UTC 2021 - 6.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go
} } return c.converter.Convert(in, toGVK.GroupVersion()) } // safeConverterWrapper is a wrapper over an unsafe object converter that makes copy of the input and then delegate to the unsafe converter. type safeConverterWrapper struct { unsafe runtime.ObjectConvertor } var _ runtime.ObjectConvertor = &safeConverterWrapper{} // ConvertFieldLabel delegate the call to the unsafe converter.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 9.5K bytes - Viewed (0) -
src/database/sql/convert.go
// B: 1. NamedValueChecker 2. Column Converter 3. Default // C: 1. NamedValueChecker 3. Default // D: 1. Column Converter 2. Default // // The only time a Column Converter is called is first // or after NamedValueConverter. If first it is handled before // the nextCheck label. Thus for repeats tries only when the // NamedValueConverter is selected should the Column Converter // be used in the retry.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Converter.java
* * <ul> * <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}. * <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}. * <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code * converter.reverse().convertAll(bs)}. * <li>Use {@code converter} or {@code converter.reverse()} anywhere a {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* * <ul> * <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}. * <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}. * <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code * converter.reverse().convertAll(bs)}. * <li>Use {@code converter} or {@code converter.reverse()} anywhere a {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
pkg/kubectl/cmd/convert/convert.go
# Convert 'pod.yaml' to latest version and print to stdout. kubectl convert -f pod.yaml # Convert the live state of the resource specified by 'pod.yaml' to the latest version # and print to stdout in JSON format. kubectl convert -f pod.yaml --local -o json # Convert all files under current directory to latest version and create them all. kubectl convert -f . | kubectl create -f -`)) )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 03:21:17 UTC 2023 - 9.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/converter.go
// Meta is supplied by Scheme, when it calls Convert. type Meta struct { // Context is an optional field that callers may use to pass info to conversion functions. Context interface{} } // scope contains information about an ongoing conversion. type scope struct { converter *Converter meta *Meta } // Convert continues a conversion. func (s *scope) Convert(src, dest interface{}) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/converter.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 16:02:13 UTC 2023 - 24.9K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-converter-issue.md
--- name: TensorFlow Lite Converter Issue about: Use this template for reporting issues during model conversion to TFLite labels: 'TFLiteConverter' --- ### 1. System information - OS Platform and Distribution (e.g., Linux Ubuntu 16.04): - TensorFlow installation (pip package or built from source): - TensorFlow library (version, if pip package or github SHA, if built from source): ### 2. Code
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 2.1K bytes - Viewed (0)