Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 732 for mybool (0.03 sec)

  1. internal/lsync/lrwmutex.go

    func (lm *LRWMutex) GetRLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) {
    	const isWriteLock = false
    	return lm.lockLoop(ctx, id, source, timeout, isWriteLock)
    }
    
    func (lm *LRWMutex) lock(id, source string, isWriteLock bool) (locked bool) {
    	lm.mu.Lock()
    	defer lm.mu.Unlock()
    
    	lm.id = id
    	lm.source = source
    	if isWriteLock {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. clause/clause.go

    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    	Raw   bool
    }
    
    // Table quote with name
    type Table struct {
    	Name  string
    	Alias string
    	Raw   bool
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    	comparable
    }
    
    // SingleHandler is a type safe handler for single roundtrip requests.
    type SingleHandler[Req, Resp RoundTripper] struct {
    	id            HandlerID
    	sharedResp    bool
    	callReuseReq  bool
    	ignoreNilConn bool
    
    	newReq  func() Req
    	newResp func() Resp
    
    	recycleReq  func(Req)
    	recycleResp func(Resp)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. callbacks/associations.go

    		}
    	} else {
    		onConflict.DoNothing = true
    	}
    
    	return
    }
    
    func saveAssociations(db *gorm.DB, rel *schema.Relationship, rValues reflect.Value, selectColumns map[string]bool, restricted bool, defaultUpdatingColumns []string) error {
    	// stop save association loop
    	if checkAssociationsSaved(db, rValues) {
    		return nil
    	}
    
    	var (
    		selects, omits []string
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor.go

    }
    
    // SelectionFunction for buckets
    type SelectionFunction func(bucket string) bool
    
    // SelectBuckets will select all the buckets passed in.
    func SelectBuckets(buckets ...string) SelectionFunction {
    	if len(buckets) == 0 {
    		return func(bucket string) bool {
    			return true
    		}
    	}
    	return func(bucket string) bool {
    		return slices.Contains(buckets, bucket)
    	}
    }
    
    // Details for the measured bandwidth
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsRoleCQ.java

        }
    
        public void bool(BoolCall<RoleCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<RoleCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            RoleCQ mustQuery = new RoleCQ();
            RoleCQ shouldQuery = new RoleCQ();
            RoleCQ mustNotQuery = new RoleCQ();
            RoleCQ filterQuery = new RoleCQ();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    	}
    }
    
    func boolCast(v *Value) (b bool, _ error) {
    	sToB := func(s string) (bool, error) {
    		switch s {
    		case "true":
    			return true, nil
    		case "false":
    			return false, nil
    		default:
    			return false, errCastFailure("cannot cast to Bool")
    		}
    	}
    	switch x := v.value.(type) {
    	case bool:
    		return x, nil
    	case string:
    		return sToB(strings.ToLower(x))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. schema/schema_helper_test.go

    	t.Run("CheckSchema/"+s.Name, func(t *testing.T) {
    		tests.AssertObjEqual(t, s, v, "Name", "Table")
    
    		for idx, field := range primaryFields {
    			var found bool
    			for _, f := range s.PrimaryFields {
    				if f.Name == field {
    					found = true
    				}
    			}
    
    			if idx == 0 {
    				if field != s.PrioritizedPrimaryField.Name {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. clause/expression.go

    }
    
    // Expr raw expression
    type Expr struct {
    	SQL                string
    	Vars               []interface{}
    	WithoutParentheses bool
    }
    
    // Build build raw expression
    func (expr Expr) Build(builder Builder) {
    	var (
    		afterParenthesis bool
    		idx              int
    	)
    
    	for _, v := range []byte(expr.SQL) {
    		if v == '?' && len(expr.Vars) > idx {
    			if afterParenthesis || expr.WithoutParentheses {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 04 07:04:52 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. cmd/is-dir-empty_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top