Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 304 for Ok (0.01 sec)

  1. callbacks/helper.go

    		for k, v := range mapValue {
    			if stmt.Schema != nil {
    				if field := stmt.Schema.LookUpField(k); field != nil {
    					k = field.DBName
    				}
    			}
    
    			if _, ok := result[k]; !ok {
    				if v, ok := selectColumns[k]; (ok && v) || (!ok && !restricted) {
    					result[k] = make([]interface{}, len(mapValues))
    					columns = append(columns, k)
    				} else {
    					continue
    				}
    			}
    
    			result[k][idx] = v
    		}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        // GET /api/admin/elevateword/{id}
        /**
         * Retrieves a specific elevate word setting by ID.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. schema/constraint_test.go

    		"chk_user_checks_name3": {
    			Name:       "chk_user_checks_name3",
    			Constraint: "name <> 'jinzhu'",
    		},
    	}
    
    	checks := user.ParseCheckConstraints()
    
    	for k, result := range results {
    		v, ok := checks[k]
    		if !ok {
    			t.Errorf("Failed to found check %v from parsed checks %+v", k, checks)
    		}
    
    		for _, name := range []string{"Name", "Constraint"} {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. soft_delete.go

    }
    
    func (sd SoftDeleteQueryClause) ModifyStatement(stmt *Statement) {
    	if _, ok := stmt.Clauses["soft_delete_enabled"]; !ok && !stmt.Statement.Unscoped {
    		if c, ok := stmt.Clauses["WHERE"]; ok {
    			if where, ok := c.Expression.(clause.Where); ok && len(where.Exprs) >= 1 {
    				for _, expr := range where.Exprs {
    					if orCond, ok := expr.(clause.OrConditions); ok && len(orCond.Exprs) == 1 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  5. schema/serializer.go

    }
    
    // GetSerializer get serializer
    func GetSerializer(name string) (serializer SerializerInterface, ok bool) {
    	v, ok := serializerMap.Load(strings.ToLower(name))
    	if ok {
    		serializer, ok = v.(SerializerInterface)
    	}
    	return serializer, ok
    }
    
    func init() {
    	RegisterSerializer("json", JSONSerializer{})
    	RegisterSerializer("unixtime", UnixSecondSerializer{})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:29:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. internal/lru/lru.go

    func (c *LRU[K, V]) Contains(key K) (ok bool) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	_, ok = c.items[key]
    	return ok
    }
    
    // Peek returns the key value (or undefined if not found) without updating
    // the "recently used"-ness of the key.
    func (c *LRU[K, V]) Peek(key K) (value V, ok bool) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	var ent *Entry[K, V]
    	if ent, ok = c.items[key]; ok {
    		// Expired item check
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

                    .stream()
                    .map(protwordsItem -> createEditBody(protwordsItem, dictId))
                    .collect(Collectors.toList())).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Retrieves a specific Kuromoji dictionary item by ID.
         *
         * @param dictId the dictionary ID
         * @param id the ID of the Kuromoji item to retrieve
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

                    .stream()
                    .map(protwordsItem -> createEditBody(protwordsItem, dictId))
                    .collect(Collectors.toList())).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Retrieve a single protected words entry by ID for the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param id identifier of the entry
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        /**
         * Retrieves a specific user setting by ID.
         *
         * @param id the ID of the user setting to retrieve
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. tests/prepared_stmt_test.go

    	}
    
    	tx2.Commit()
    	// Attempt to convert the connection pool of tx to the *gorm.PreparedStmtDB type.
    	// If the conversion is successful, ok will be true and conn will be the converted object;
    	// otherwise, ok will be false and conn will be nil.
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	// Get the number of statement keys stored in the PreparedStmtDB.
    	lens := len(conn.Stmts.Keys())
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top