Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 304 for _strict (0.12 sec)

  1. internal/lru/lru.go

    // LRU implements a thread-safe LRU with expirable entries.
    type LRU[K comparable, V any] struct {
    	size      int
    	evictList *LruList[K, V]
    	items     map[K]*Entry[K, V]
    	onEvict   EvictCallback[K, V]
    
    	// expirable options
    	mu   sync.Mutex
    	ttl  time.Duration
    	done chan struct{}
    
    	// buckets for expiration
    	buckets []bucket[K, V]
    	// uint8 because it's number between 0 and numBuckets
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/toggleDisabled.js

     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/form-validator/lang/es.js

     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 3K bytes
    - Viewed (0)
  4. tests/hooks_test.go

    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products2[idx].Price)
    		}
    	}
    }
    
    type Product4 struct {
    	gorm.Model
    	Name  string
    	Code  string
    	Price int64
    	Owner string
    	Item  ProductItem
    }
    
    type ProductItem struct {
    	gorm.Model
    	Code               string
    	Product4ID         uint
    	AfterFindCallTimes int
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. callbacks/helper_test.go

    package callbacks
    
    import (
    	"reflect"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    func TestLoadOrStoreVisitMap(t *testing.T) {
    	var vm visitMap
    	var loaded bool
    	type testM struct {
    		Name string
    	}
    
    	t1 := testM{Name: "t1"}
    	t2 := testM{Name: "t2"}
    	t3 := testM{Name: "t3"}
    
    	vm = make(visitMap)
    	if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/stmt_store/stmt_store.go

    package stmt_store
    
    import (
    	"context"
    	"database/sql"
    	"math"
    	"sync"
    	"time"
    
    	"gorm.io/gorm/internal/lru"
    )
    
    type Stmt struct {
    	*sql.Stmt
    	Transaction bool
    	prepared    chan struct{}
    	prepareErr  error
    }
    
    func (stmt *Stmt) Error() error {
    	return stmt.prepareErr
    }
    
    func (stmt *Stmt) Close() error {
    	<-stmt.prepared
    
    	if stmt.Stmt != nil {
    		return stmt.Stmt.Close()
    	}
    	return nil
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. soft_delete.go

    	if v, ok := f.TagSettings["ZEROVALUE"]; ok {
    		if _, err := now.Parse(v); err == nil {
    			return sql.NullString{String: v, Valid: true}
    		}
    	}
    	return sql.NullString{Valid: false}
    }
    
    type SoftDeleteQueryClause struct {
    	ZeroValue sql.NullString
    	Field     *schema.Field
    }
    
    func (sd SoftDeleteQueryClause) Name() string {
    	return ""
    }
    
    func (sd SoftDeleteQueryClause) Build(clause.Builder) {
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  8. src/main/webapp/js/admin/plugins/form-validator/lang/cs.js

     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/lang/ar.js

     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  10. tests/joins_test.go

    	})
    }
    
    func TestJoinsPreload_Issue7013_RelationEmpty(t *testing.T) {
    	type (
    		Furniture struct {
    			gorm.Model
    			OwnerID *uint
    		}
    
    		Owner struct {
    			gorm.Model
    			Furnitures []Furniture
    			CompanyID  *uint
    			Company    Company
    		}
    
    		Building struct {
    			gorm.Model
    			Name    string
    			OwnerID *uint
    			Owner   Owner
    		}
    	)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top