Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 738 for funcs (0.03 sec)

  1. tests/callbacks_test.go

    }
    
    func getFuncName(fc interface{}) string {
    	reflectValue, ok := fc.(reflect.Value)
    	if !ok {
    		reflectValue = reflect.ValueOf(fc)
    	}
    
    	fnames := strings.Split(runtime.FuncForPC(reflectValue.Pointer()).Name(), ".")
    	return fnames[len(fnames)-1]
    }
    
    func c1(*gorm.DB) {}
    func c2(*gorm.DB) {}
    func c3(*gorm.DB) {}
    func c4(*gorm.DB) {}
    func c5(*gorm.DB) {}
    func c6(*gorm.DB) {}
    
    func TestCallbacks(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

      for (int i = 0; i < len; ++i) {
        TF_Function* func = new TF_Function();
        func->record = new tensorflow::FunctionRecord(lib.function(i), {}, false);
        funcs[i] = func;
      }
      status->status = absl::OkStatus();
      return len;
    }
    
    void TF_FunctionToFunctionDef(TF_Function* func, TF_Buffer* output_func_def,
                                  TF_Status* status) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	// idempotent.
    	g.once.Do(func() {
    		for i := len(g.cleanUpFns) - 1; i >= 0; i-- {
    			g.cleanUpFns[i]()
    		}
    	})
    	return nil
    }
    
    // compressionIndexEncrypter returns a function that will read data from input,
    // encrypt it using the provided key and return the result.
    func compressionIndexEncrypter(key crypto.ObjectKey, input func() []byte) func() []byte {
    	var data []byte
    	var fetched bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. chainable_api.go

    //	}
    //
    //	func OrderStatus(status []string) func (db *gorm.DB) *gorm.DB {
    //	    return func (db *gorm.DB) *gorm.DB {
    //	        return db.Scopes(AmountGreaterThan1000).Where("status in (?)", status)
    //	    }
    //	}
    //
    //	db.Scopes(AmountGreaterThan1000, OrderStatus([]string{"paid", "shipped"})).Find(&orders)
    func (db *DB) Scopes(funcs ...func(*DB) *DB) (tx *DB) {
    	tx = db.getInstance()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. internal/s3select/sql/parser.go

    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    // LiteralString is a type for parsed SQL string literals
    type LiteralString string
    
    // Capture interface used by participle
    func (ls *LiteralString) Capture(values []string) error {
    	// Remove enclosing single quote
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. api/except.txt

    pkg os, const ModeType = 2399666176
    pkg os, const ModeType FileMode
    pkg os, func Chmod(string, FileMode) error
    pkg os, func Lstat(string) (FileInfo, error)
    pkg os, func Mkdir(string, FileMode) error
    pkg os, func MkdirAll(string, FileMode) error
    pkg os, func OpenFile(string, int, FileMode) (*File, error)
    pkg os, func SameFile(FileInfo, FileInfo) bool
    pkg os, func Stat(string) (FileInfo, error)
    pkg os, method (*File) Chmod(FileMode) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - 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 Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
  9. api/go1.23.txt

    pkg go/types, method (*Func) Signature() *Signature #65772
    pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
    pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
    pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
    pkg iter, type Seq[$0 interface{}] func(func($0) bool) #61897
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) LastConn() time.Time {
    	return d.disk.LastConn()
    }
    
    func (d *naughtyDisk) IsLocal() bool {
    	return d.disk.IsLocal()
    }
    
    func (d *naughtyDisk) Endpoint() Endpoint {
    	return d.disk.Endpoint()
    }
    
    func (d *naughtyDisk) Hostname() string {
    	return d.disk.Hostname()
    }
    
    func (d *naughtyDisk) Healing() *healingTracker {
    	return d.disk.Healing()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top