Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for fns (0.29 sec)

  1. callbacks.go

    	}
    
    	for _, c := range cs {
    		if err = sortCallback(c); err != nil {
    			return
    		}
    	}
    
    	for _, name := range sorted {
    		if idx := getRIndex(names, name); !cs[idx].remove {
    			fns = append(fns, cs[idx].handler)
    		}
    	}
    
    	return
    }
    
    func removeCallbacks(cs []*callback, nameMap map[string]bool) []*callback {
    	callbacks := make([]*callback, 0, len(cs))
    	for _, callback := range cs {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  2. tests/callbacks_test.go

    	"runtime"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    func assertCallbacks(v interface{}, fnames []string) (result bool, msg string) {
    	var (
    		got   []string
    		funcs = reflect.ValueOf(v).Elem().FieldByName("fns")
    	)
    
    	for i := 0; i < funcs.Len(); i++ {
    		got = append(got, getFuncName(funcs.Index(i)))
    	}
    
    	return fmt.Sprint(got) == fmt.Sprint(fnames), fmt.Sprintf("expects %v, got %v", fnames, got)
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	once       sync.Once
    }
    
    // WithCleanupFuncs sets additional cleanup functions to be called when closing
    // the GetObjectReader.
    func (g *GetObjectReader) WithCleanupFuncs(fns ...func()) *GetObjectReader {
    	g.cleanUpFns = append(g.cleanUpFns, fns...)
    	return g
    }
    
    // NewGetObjectReaderFromReader sets up a GetObjectReader with a given
    // reader. This ignores any object properties.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_function_test.cc

    ==============================================================================*/
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_internal.h"
    #include "tensorflow/c/c_test_util.h"
    #include "tensorflow/core/framework/common_shape_fns.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/framework/op_def.pb.h"
    #include "tensorflow/core/lib/hash/hash.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. tensorflow/c/c_api.cc

        graph->graph.RemoveControlEdge(edge);
      }
    }
    
    void TF_SetRequireShapeInferenceFns(TF_Graph* graph, bool require) {
      mutex_lock l(graph->mu);
      graph->refiner.set_require_shape_inference_fns(require);
    }
    
    void TF_ExtendSession(TF_Session* session, TF_Status* status) {
      ExtendSessionGraphHelper(session, status);
      session->extend_before_run = false;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

    #include "tensorflow/core/example/example.pb.h"
    #include "tensorflow/core/example/feature.pb.h"
    #include "tensorflow/core/framework/api_def.pb.h"
    #include "tensorflow/core/framework/common_shape_fns.h"
    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/framework/kernel_def.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/node_def_util.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 135.2K bytes
    - Viewed (0)
  8. src/main/webapp/js/jquery-3.6.3.min.map

    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 135.2K bytes
    - Viewed (0)
Back to top