Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 304 for Ok (0.01 sec)

  1. scan.go

    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    			} else if b, ok := mapValue[column].(sql.RawBytes); ok {
    				mapValue[column] = string(b)
    			}
    		} else {
    			mapValue[column] = nil
    		}
    	}
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. tests/lru_test.go

    	if v != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    	if !ok {
    		t.Fatalf("should be true")
    	}
    
    	for {
    		result, ok := lc.Get("key1")
    		if ok && result == "" {
    			t.Fatalf("ok should return a result")
    		}
    		if !ok {
    			break
    		}
    	}
    
    	time.Sleep(time.Millisecond * 100) // wait for expiration reaper
    	if lc.Len() != 0 {
    		t.Fatalf("length differs from expected")
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. schema/schema.go

    	if field, ok := schema.FieldsByDBName[name]; ok {
    		return field
    	}
    	if field, ok := schema.FieldsByName[name]; ok {
    		return field
    	}
    
    	// Lookup field using namer-driven ColumnName
    	if schema.namer == nil {
    		return nil
    	}
    	namerColumnName := schema.namer.ColumnName(schema.Table, name)
    	if field, ok := schema.FieldsByDBName[namerColumnName]; ok {
    		return field
    	}
    
    	return nil
    }
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Oct 31 12:13:56 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. migrator/column_type.go

    }
    
    // ColumnType returns the database type of the column. like `varchar(16)`
    func (ct ColumnType) ColumnType() (columnType string, ok bool) {
    	return ct.ColumnTypeValue.String, ct.ColumnTypeValue.Valid
    }
    
    // PrimaryKey returns the column is primary key or not.
    func (ct ColumnType) PrimaryKey() (isPrimaryKey bool, ok bool) {
    	return ct.PrimaryKeyValue.Bool, ct.PrimaryKeyValue.Valid
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. clause/expression.go

    			inName = true
    			name = name[:0]
    		} else if v == ' ' || v == ',' || v == ')' || v == '"' || v == '\'' || v == '`' || v == '\r' || v == '\n' || v == ';' {
    			if inName {
    				if nv, ok := namedMap[string(name)]; ok {
    					if afterParenthesis {
    						processValue(builder, nv)
    					} else {
    						builder.AddVar(builder, nv)
    					}
    				} else {
    					builder.WriteByte('@')
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 04 07:04:52 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

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

                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        // GET /api/admin/group/setting/{id}
        /**
         * Returns specific group setting by ID.
         *
         * @param id the group setting ID
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

            return asJson(new ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                    .total(pager.getAllRecordCount())
                    .status(Status.OK)
                    .result());
        }
    
        /**
         * Retrieves a specific boost document rule setting by ID.
         *
         * @param id the ID of the boost document rule to retrieve
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

            return asJson(new ApiResult.ApiLogsResponse<EditBody>().logs(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                    .total(pager.getAllRecordCount())
                    .status(ApiResult.Status.OK)
                    .result());
        }
    
        // GET /api/admin/failureurl/log/{id}
        /**
         * Retrieves a specific failure URL log by ID.
         *
         * @param id the failure URL log ID
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

            return asJson(new ApiResult.ApiLogsResponse<EditBody>().logs(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                    .total(pager.getAllRecordCount())
                    .status(ApiResult.Status.OK)
                    .result());
        }
    
        /**
         * Retrieves a specific crawling info log by ID.
         *
         * @param id the ID of the crawling info log to retrieve
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top