- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 108 for addOne (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/erasure-server-pool.go
loi.NextMarker = opts.encodeMarker(last.Name) loi.NextVersionIDMarker = last.VersionID } return loi, nil } func maxKeysPlusOne(maxKeys int, addOne bool) int { if maxKeys < 0 || maxKeys > maxObjectList { maxKeys = maxObjectList } if addOne { maxKeys++ } return maxKeys }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
} /** * Test adding a single rule */ public void test_addRule_single() { TestRule rule = new TestRule("rule1", true); ruleManager.addRule(rule); assertTrue(ruleManager.hasRule(rule)); assertEquals(1, ruleManager.getRuleCount()); } /** * Test adding multiple rules */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 23.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
*/ public void test_init_withEmptySessionId() { urlFilter.init(""); // Should handle empty session ID gracefully assertNotNull(urlFilter); } /** * Test adding a single include pattern */ public void test_addInclude_singlePattern() { String sessionId = "test-session-002"; urlFilter.init(sessionId); urlFilter.addInclude("https://example.com/.*");Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 19K bytes - Click Count (0) -
docs/en/docs/management-tasks.md
* Edit the text of the PR title to start in "imperative", like giving an order. So, instead of `Adding support for teleporting` use `Add support for teleporting`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
import org.opensearch.core.common.Strings; import org.opensearch.transport.client.Client; /** * The BadWordSettings class manages the settings related to bad words. * It allows adding, deleting, and retrieving bad words from the settings. * It also supports loading default bad words from a file. */ public class BadWordSettings {Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun Nov 23 03:02:17 GMT 2025 - 5.3K bytes - Click Count (0) -
CLAUDE.md
3. Make focused commits 4. Add tests 5. Format code (`mvn formatter:format && mvn license:format`) 6. Run tests (`mvn test`) 7. Open Pull Request --- ## Common Development Tasks ### Adding a Protocol Client 1. **Implement `CrawlerClient`**: ```java public class MyClient extends AbstractCrawlerClient { @Override public ResponseData execute(RequestData request) { /* ... */ }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Fri Nov 28 17:31:34 GMT 2025 - 10.7K bytes - Click Count (0) -
scripts/translate.py
missing_paths = list_missing(language) for path in missing_paths: print(f"Adding lang: {language} path: {path}") translate_page(language=language, en_path=path) print(f"Done adding: {path}") print("Done adding all missing paths") @app.command() def update_and_add(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:05:53 GMT 2025 - 34.1K bytes - Click Count (0) -
docs/en/docs/advanced/middleware.md
And then you also read how to handle [CORS with the `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}. In this section we'll see how to use other middlewares. ## Adding ASGI middlewares { #adding-asgi-middlewares } As **FastAPI** is based on Starlette and implements the <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr> specification, you can use any ASGI middleware.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
@Test public void testAddInitialSettings() { // Test adding single setting SuggestSettingsBuilder result = builder.addInitialSettings("key1", "value1"); assertEquals(builder, result); // Test method chaining assertEquals(1, builder.initialSettings.size()); assertEquals("value1", builder.initialSettings.get("key1")); // Test adding multiple settings builder.addInitialSettings("key2", 100);Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 14.4K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
In that case, they will be applied to all the *path operations* in the application: {* ../../docs_src/dependencies/tutorial012_an_py39.py hl[17] *} And all the ideas in the section about [adding `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} still apply, but in this case, to all of the *path operations* in the app.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.1K bytes - Click Count (0)