Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for wrong_name (0.16 sec)

  1. tensorflow/c/c_api_experimental_test.cc

      TF_DeleteFunction(funcs[0]);
    }
    
    TEST_F(CApiExperimentalFunctionTest, EmptyGraphRemoveNonExistentFunction) {
      TF_GraphRemoveFunction(func_graph_, "wrong_name", s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Tried to remove non-existent function 'wrong_name'."),
                string(TF_Message(s_)));
    }
    
    TEST_F(CApiExperimentalFunctionTest, GraphRemoveNonExistentFunction) {
      TF_Function* funcs[1];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/lookup.go

    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    	var f *Func // method on V, if found (state is one of ok, wrongName, wrongSig)
    
    	if u, _ := under(V).(*Interface); u != nil {
    		tset := u.typeSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/go/types/lookup.go

    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    	var f *Func // method on V, if found (state is one of ok, wrongName, wrongSig)
    
    	if u, _ := under(V).(*Interface); u != nil {
    		tset := u.typeSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top