Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,030 for convertOp (0.27 sec)

  1. android/guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <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)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <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)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. test/convert4.go

    		func() {
    			_ = (*[9]byte)(s)
    		},
    		"runtime error: cannot convert slice with length 8 to array or pointer to array with length 9",
    	)
    	wantPanic(
    		func() {
    			_ = [9]byte(s)
    		},
    		"runtime error: cannot convert slice with length 8 to array or pointer to array with length 9",
    	)
    
    	var n []byte
    	if p := (*[0]byte)(n); p != nil {
    		panic("nil slice converted to *[0]byte should be nil")
    	}
    	_ = [0]byte(n)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 18:58:26 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      // CHECK: %[[CONVERT_1:.*]] = mhlo.bitcast_convert %[[QUANTIZE]] : (tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<2xi8>
      // CHECK: %[[CONVERT_2:.*]] = mhlo.bitcast_convert %[[CONVERT_1]] : (tensor<2xi8>) -> tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>
      // CHECK: %[[DEQUANTIZE:.*]] = mhlo.uniform_dequantize %[[CONVERT_2]] : (tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    					dv.Set(sv.Convert(dt))
    					return nil
    				case reflect.Float32, reflect.Float64:
    					dv.Set(sv.Convert(dt))
    					return nil
    				}
    			case reflect.Float32, reflect.Float64:
    				switch dt.Kind() {
    				case reflect.Float32, reflect.Float64:
    					dv.Set(sv.Convert(dt))
    					return nil
    				}
    				if sv.Float() == math.Trunc(sv.Float()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir

    // CHECK:         %[[CONVERT_0:.*]] = u8[] convert(f32[] %[[ROUND]])
    // CHECK:         %[[CONVERT_1:.*]] = s32[] convert(u8[] %[[CONVERT_0]])
    // CHECK:         %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]],
    // CHECK:         %[[CONVERT_2:.*]] = f32[] convert(s32[] %[[SUB]])
    // CHECK:         %[[MUL:.*]] = f32[] multiply(f32[] %[[CONVERT_2]],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 16:28:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top