Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for typeOf (0.24 sec)

  1. src/reflect/all_test.go

    		{TypeOf(float32(0)), ""},
    		{TypeOf(float64(0)), ""},
    		{TypeOf(complex64(0)), ""},
    		{TypeOf(complex128(0)), ""},
    		{TypeOf(byte(0)), ""},
    		{TypeOf(rune(0)), ""},
    		{TypeOf([]byte(nil)), ""},
    		{TypeOf([]rune(nil)), ""},
    		{TypeOf(string("")), ""},
    		{TypeOf((*any)(nil)).Elem(), ""},
    		{TypeOf((*byte)(nil)), ""},
    		{TypeOf((*rune)(nil)), ""},
    		{TypeOf((*int64)(nil)), ""},
    		{TypeOf(map[string]int{}), ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. pkg/api/pod/util_test.go

    		"Spec.Volumes[*].VolumeSource.StorageOS.SecretRef",
    		"Spec.Volumes[*].VolumeSource.CSI.NodePublishSecretRef",
    	)
    	secretPaths := collectResourcePaths(t, "secret", nil, "", reflect.TypeOf(&api.Pod{}))
    	secretPaths = secretPaths.Difference(excludedSecretPaths)
    	if missingPaths := expectedSecretPaths.Difference(secretPaths); len(missingPaths) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

      typedef T1 Head;
      typedef Types1<T2> Tail;
    };
    
    template <typename T1, typename T2, typename T3>
    struct Types3 {
      typedef T1 Head;
      typedef Types2<T2, T3> Tail;
    };
    
    template <typename T1, typename T2, typename T3, typename T4>
    struct Types4 {
      typedef T1 Head;
      typedef Types3<T2, T3, T4> Tail;
    };
    
    template <typename T1, typename T2, typename T3, typename T4, typename T5>
    struct Types5 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 181.3K bytes
    - Viewed (0)
  4. src/reflect/value.go

    		return flagStickyRO
    	}
    	return 0
    }
    
    func (v Value) typ() *abi.Type {
    	// Types are either static (for compiler-created types) or
    	// heap-allocated but always reachable (for reflection-created
    	// types, held in the central map). So there is no need to
    	// escape types. noescape here help avoid unnecessary escape
    	// of v.
    	return (*abi.Type)(abi.NoEscape(unsafe.Pointer(v.typ_)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/database/sql/sql_test.go

    	if err != nil {
    		t.Fatalf("ColumnTypes: %v", err)
    	}
    
    	types := make([]reflect.Type, len(tt))
    	for i, tp := range tt {
    		st := tp.ScanType()
    		if st == nil {
    			t.Errorf("scantype is null for column %q", tp.Name())
    			continue
    		}
    		types[i] = st
    	}
    	values := make([]any, len(tt))
    	for i := range values {
    		values[i] = reflect.New(types[i]).Interface()
    	}
    	ct := 0
    	for rows.Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    				}
    				if !strings.Contains(got, "Content-Type: some/type") {
    					return errors.New("wrong content-type")
    				}
    				return nil
    			},
    		},
    		{
    			name: "sniff-on-first-write content-type",
    			handler: func(rw ResponseWriter, r *Request) {
    				rw.Write([]byte("<html><head></head><body>some html</body></html>"))
    				rw.Header().Set("Content-Type", "x/wrong")
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // Forcely assign operand types to result types (the i-th operand type will
      // assign to i-th result type). Returns true if anything is changed.
      bool ForceTypeForPassThroughOperands(Operation* op, OperandRange operands,
                                           ResultRange results);
    
      // Makes result types match the operand types (the i-th result type will
      // match the i-th operand type). Returns true if anything is changed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h

    // by the argument generators.
    //
    template <typename T1, typename T2>
    class CartesianProductGenerator2
        : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2> > {
     public:
      typedef ::std::tr1::tuple<T1, T2> ParamType;
    
      CartesianProductGenerator2(const ParamGenerator<T1>& g1,
          const ParamGenerator<T2>& g2)
          : g1_(g1), g2_(g2) {}
      virtual ~CartesianProductGenerator2() {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 187.7K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    </p>
    
    
    <h2 id="Types">Types</h2>
    
    <p>
    A type determines a set of values together with operations and methods specific
    to those values. A type may be denoted by a <i>type name</i>, if it has one,
    or specified using a <i>type literal</i>, which composes a type from existing types.
    </p>
    
    <pre class="ebnf">
    Type      = TypeName | TypeLit | "(" Type ")" .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

                        Attribute value) {
      // Handle the case where the type and value are already tensors.
      if (mlir::isa<TensorType>(type) && mlir::isa<ElementsAttr>(value)) {
        result.addTypes(type);
        result.addAttribute("value", value);
        return;
      }
    
      // Otherwise, default to the attribute builder.
      ConstOp::build(builder, result, value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top