Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for typeOff (0.1 sec)

  1. src/reflect/value.go

    			panic("reflect: " + op + " of method on nil interface value")
    		}
    		rcvrtype = iface.itab.Type
    		fn = unsafe.Pointer(&unsafe.Slice(&iface.itab.Fun[0], i+1)[i])
    		t = (*funcType)(unsafe.Pointer(tt.typeOff(m.Typ)))
    	} else {
    		rcvrtype = v.typ()
    		ms := v.typ().ExportedMethods()
    		if uint(i) >= uint(len(ms)) {
    			panic("reflect: internal error: invalid method index")
    		}
    		m := ms[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

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

    		{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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        bool* has_outside_compilation) {
      bool func_has_outside_compilation = false;
      NameAttrList func;
      if (fld->Contains(n->type_string())) {
        func.set_name(n->type_string());
        typedef protobuf::Map<string, AttrValue> AttrMap;
        *func.mutable_attr() = AttrMap(n->attrs().begin(), n->attrs().end());
      } else if (n->IsPartitionedCall()) {
        TF_RETURN_IF_ERROR(GetNodeAttr(n->def(), "f", &func));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    Type declarations come in two forms: alias declarations and type definitions.
    </p>
    
    <pre class="ebnf">
    TypeDecl = "type" ( TypeSpec | "(" { TypeSpec ";" } ")" ) .
    TypeSpec = AliasDecl | TypeDef .
    </pre>
    
    <h4 id="Alias_declarations">Alias declarations</h4>
    
    <p>
    An alias declaration binds an identifier to the given type.
    </p>
    
    <pre class="ebnf">
    AliasDecl = identifier "=" 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)
  8. src/database/sql/sql_test.go

    		// maybe I should flesh out the fakeConn.Exec
    		// implementation so this properly fails.
    		// t.Errorf("expected error inserting nil name with Exec")
    	}
    
    	paramtype := reflect.TypeOf(spec.rows[0].nullParam)
    	bindVal := reflect.New(paramtype).Interface()
    
    	for i := 0; i < 5; i++ {
    		id := i + 1
    		if err := db.QueryRow("SELECT|t|nullf|id=?", id).Scan(bindVal); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    		ch <- r.Context()
    	}), func(ts *httptest.Server) {
    		ts.Config.BaseContext = func(ln net.Listener) context.Context {
    			if strings.Contains(reflect.TypeOf(ln).String(), "onceClose") {
    				t.Errorf("unexpected onceClose listener type %T", ln)
    			}
    			return context.WithValue(context.Background(), baseKey{}, "base")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top