- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 275 for Initializers (0.07 seconds)
-
internal/cachevalue/cache.go
} // NewFromFunc allocates a new cached value instance and initializes it with an // update function, making it ready for use. func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } } // InitOnce initializes the cache with a TTL and an update function. It is
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
import okhttp3.internal.platform.PlatformRegistry actual object OkHttp { @JvmField actual val VERSION: String = CONST_VERSION /** * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running * a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java
/** * Constructs a new MarkdownExtractor and initializes the parser. */ public MarkdownExtractor() { super(); initializeParser(); } @Override public int getWeight() { return 2; // Higher priority than TikaExtractor (weight=1) } /** * Initializes the Markdown parser with extensions. */ protected void initializeParser() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 03:46:53 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/DeleteForm.java
* Contains validation rules for plugin name and version information. */ public class DeleteForm { /** * Creates a new instance of DeleteForm. * This constructor initializes the form for plugin deletion operations * in the admin interface with validation rules for plugin information. */ public DeleteForm() { // Default constructor with explicit documentation }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/CreateForm.java
@Required @Size(max = 100) public String name; /** * The attributes map for the role. */ public Map<String, String> attributes = new HashMap<>(); /** * Initializes the form with default values for creating a new role. */ public void initialize() { crudMode = CrudMode.CREATE; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
* to perform its tasks. * * <p>The crawling process involves the following steps: * <ol> * <li>Initialization: Sets up the crawler context and initializes the URL filter.</li> * <li>Thread Creation: Creates a group of crawler threads to perform the actual crawling.</li> * <li>Execution: Starts the crawler threads and waits for them to complete.</li>
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 17K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/CreateForm.java
/** * The document data for search list operations. */ public Map<String, Object> doc; /** * The search query string. */ public String q; /** * Initializes the form with default values for search list operations. */ public void initialize() { crudMode = CrudMode.CREATE; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.4K bytes - Click Count (0) -
internal/hash/sha256/sh256.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package sha256 import ( "crypto/sha256" "hash" ) // New initializes a new sha256.New() func New() hash.Hash { return sha256.New() } // Sum256 returns the SHA256 checksum of the data. func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 26 06:31:35 GMT 2024 - 1.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/CreateForm.java
@ValidateTypeFailure public Integer crudMode; /** Word or phrase to be protected from analysis */ @Required @Size(max = 1000) public String input; /** * Initializes the form with default values for creating a new protected words entry. */ public void initialize() { crudMode = CrudMode.CREATE; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/CreateForm.java
@Size(max = 1000) public String createdBy; /** * The timestamp when this bad word entry was created. */ @ValidateTypeFailure public Long createdTime; /** * Initializes the form with default values including current user and timestamp. */ public void initialize() { createdBy = ComponentUtil.getSystemHelper().getUsername();Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (0)