Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Funcs (0.04 sec)

  1. tests/callbacks_test.go

    	"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)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

    }
    
    int TF_GraphNumFunctions(TF_Graph* g) {
      tensorflow::mutex_lock l(g->mu);
      return g->graph.flib_def().num_functions();
    }
    
    int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func,
                             TF_Status* status) {
      tensorflow::FunctionDefLibrary lib;
      {
        tensorflow::mutex_lock l(g->mu);
        lib = g->graph.flib_def().ToProto();
      }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    func NewGetObjectReaderFromReader(r io.Reader, oi ObjectInfo, opts ObjectOptions, cleanupFns ...func()) (*GetObjectReader, error) {
    	if opts.CheckPrecondFn != nil && opts.CheckPrecondFn(oi) {
    		// Call the cleanup funcs
    		for i := len(cleanupFns) - 1; i >= 0; i-- {
    			cleanupFns[i]()
    		}
    		return nil, PreConditionFailed{}
    	}
    	return &GetObjectReader{
    		ObjInfo:    oi,
    		Reader:     r,
    		cleanUpFns: cleanupFns,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // `funcs` and sets status to OK. The caller takes ownership of
    // all the returned TF_Functions. They must be deleted with TF_DeleteFunction.
    // On error, returns 0, sets status to the encountered error, and the contents
    // of funcs will be undefined.
    TF_CAPI_EXPORT extern int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  5. chainable_api.go

    //	    }
    //	}
    //
    //	db.Scopes(AmountGreaterThan1000, OrderStatus([]string{"paid", "shipped"})).Find(&orders)
    func (db *DB) Scopes(funcs ...func(*DB) *DB) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.scopes = append(tx.Statement.scopes, funcs...)
    	return tx
    }
    
    func (db *DB) executeScopes() (tx *DB) {
    	scopes := db.Statement.scopes
    	db.Statement.scopes = nil
    	for _, scope := range scopes {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  6. doc/go_mem.html

    <pre>
    i := *p
    if i &lt; 0 || i &gt;= len(funcs) {
    	panic("invalid function index")
    }
    ... complex code ...
    // compiler must NOT reload i = *p here
    funcs[i]()
    </pre>
    
    <p>
    If the complex code needs many registers, a compiler for single-threaded programs
    could discard <code>i</code> without saving a copy and then reload
    <code>i = *p</code> just before
    <code>funcs[i]()</code>.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. api/except.txt

    pkg unicode, const Version = "6.2.0"
    pkg unicode, const Version = "6.3.0"
    pkg unicode, const Version = "7.0.0"
    pkg unicode, const Version = "8.0.0"
    pkg unicode, const Version = "9.0.0"
    pkg html/template, method (*Template) Funcs(FuncMap) *Template
    pkg html/template, type FuncMap map[string]interface{}
    pkg syscall (freebsd-386), const SYS_FSTAT = 189
    pkg syscall (freebsd-386), const SYS_FSTATAT = 493
    pkg syscall (freebsd-386), const SYS_FSTATFS = 397
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Jun 16 23:08:08 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.8.md

    * Fix charms leaving services running after remove-unit ([#48446](https://github.com/kubernetes/kubernetes/pull/48446), [@Cynerva](https://github.com/Cynerva))
    * Added helper funcs to schedulercache.Resource. ([#46926](https://github.com/kubernetes/kubernetes/pull/46926), [@k82cn](https://github.com/k82cn))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
  9. lib/fips140/v1.0.0.zip

    withMc bool) EncArgs { return EncArgs{ Key: key, N: n, WithMc: withMc, } }, "load_keys_args": func(firstKey, nkeys int) LoadKeysArgs { return LoadKeysArgs{ FirstKey: firstKey, NKeys: nkeys, } }, } var tmpl = template.Must(template.New("ctr_arm64").Funcs(funcs).Parse(tmplArm64Str)) if err := tmpl.Execute(os.Stdout, params); err != nil { panic(err) } } golang.org/fips140@v1.0.0/fips140/v1.0.0/aes/ctr_asm.go // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top