- Sort Score
- Num 10 results
- Language All
Results 1531 - 1540 of over 10,000 for Switch (0.1 seconds)
-
internal/config/dns/types.go
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dns import ( "encoding/json" "time" ) const ( defaultTTL = 30 defaultContextTimeout = 5 * time.Minute )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2K bytes - Click Count (0) -
internal/config/etcd/etcd_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package etcd import ( "reflect" "testing" ) // TestParseEndpoints - tests parseEndpoints function with valid and invalid inputs. func TestParseEndpoints(t *testing.T) { testCases := []struct { s string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java
* It sets the file pattern to match files starting with "stopwords" * and ending with ".txt". */ public StopwordsCreator() { super("stopwords.*\\.txt"); } /** * Registers this creator with the dictionary manager upon initialization. * This method is annotated with {@link PostConstruct} to be executed after * dependency injection is complete. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.5K bytes - Click Count (0) -
tests/test_invalid_sequence_param.py
def test_invalid_tuple(): with pytest.raises( AssertionError, match="Query parameter 'q' must be one of the supported types", ): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/") def read_items(q: tuple[Item, Item] = Query(default=None)): pass # pragma: no cover def test_invalid_dict(): with pytest.raises(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/RelevanceEvaluationResult.java
return new RelevanceEvaluationResult(relevantDocIds, relevantIndexes, hasRelevant); } /** * Creates a result with no relevant documents found. * * @return evaluation result with no relevant documents */ public static RelevanceEvaluationResult noRelevantResults() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 01 08:11:18 GMT 2026 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/BiMap.java
* * <p><b>Warning:</b> If an existing entry with this value is removed, the key for that entry is * discarded and not returned. * * @param key the key with which the specified value is to be associated * @param value the value to be associated with the specified key * @return the value that was previously associated with the key, or {@code null} if there was noCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java
assertEquals("s3://my-bucket/", wizardAction.convertCrawlingPath("s3://my-bucket/")); assertEquals("s3://bucket.with.dots/path", wizardAction.convertCrawlingPath("s3://bucket.with.dots/path")); assertEquals("s3://bucket-with-dashes/path", wizardAction.convertCrawlingPath("s3://bucket-with-dashes/path")); assertEquals("s3://123bucket/path", wizardAction.convertCrawlingPath("s3://123bucket/path")); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
IndexUpdateCallback callback = new TestIndexUpdateCallback(); // Execute with null config dataStore.store(null, callback, params); assertTrue(storeCalled.get()); } @Test public void test_store_withNullCallback() { // Test store with null callback final AtomicBoolean storeCalled = new AtomicBoolean(false);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
this.nameFormat = nameFormat; return this; } /** * Sets daemon or not for new threads created with this ThreadFactory. * * <p><b>Java 21+ users:</b> use {@link Thread.Builder.OfPlatform#daemon(boolean)} instead. * * @param daemon whether or not new Threads created with this ThreadFactory will be daemon threads * @return this for the builder pattern */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
/* * Written by Doug Lea and Martin Buchholz with assistance from * members of JCP JSR-166 Expert Group and released to the public * domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ */ /* * Source: * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleTest.java?revision=1.8 * (Modified to adapt to guava coding conventions) */ package com.google.common.util.concurrent;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0)