- Sort Score
- Num 10 results
- Language All
Results 1131 - 1140 of over 10,000 for Switch (0.08 seconds)
-
tests/test_dependency_contextmanager.py
assert data["context_a"] == "started a" assert state["context_b"] == "finished b with a: started a" assert state["context_a"] == "finished a" def test_context_b_raise(): with pytest.raises(OtherDependencyError): client.get("/context_b_raise") assert state["context_b"] == "finished b with a: started a" assert state["context_a"] == "finished a" def test_background_tasks():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.5K bytes - Click Count (0) -
.github/workflows/deploy-docs.yml
run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v6 with: python-version-file: ".python-version" - name: Setup uv uses: astral-sh/setup-uv@v7 with: enable-cache: true cache-dependency-glob: | pyproject.toml uv.lock
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 03 00:12:02 GMT 2026 - 2.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_reader.h
// counter can have been created with any number of labels. TF_CAPI_EXPORT extern TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name); // Reads the value of a counter that was created with 0 labels. TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter0( TFE_MonitoringCounterReader*); // Reads the value of specific cell of a counter that was created with 1 label.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Nov 20 03:41:38 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
assertEquals(inputValue & 0xFF, ndrShort.value, "Constructor should mask value with 0xFF"); } @Test @DisplayName("Should handle zero value correctly") void testConstructorZero() { // Given/When: Creating NdrShort with zero NdrShort ndrShort = new NdrShort(0); // Then: Value should be zero
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
private NameServiceClientImpl nameServiceClient; @BeforeEach void setUp() throws UnknownHostException { // Configure mock context with fast timeouts when(mockContext.getConfig()).thenReturn(mockConfig); // Setup configuration with minimal timeouts for fast testing when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeoutCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
// Test constructor with message only String message = "LDAP operation failed"; LdapOperationException exception = new LdapOperationException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withMessageAndCause() { // Test constructor with message and causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
// Test constructor with message only String message = "Script engine error occurred"; ScriptEngineException exception = new ScriptEngineException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withMessageAndCause() { // Test constructor with message and causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
/** * Associates the specified session data with the given key. * * @param key the key under which to store the session data, must not be {@code null} * @param value the data to associate with the key, may be {@code null} to remove the mapping */ <T> void set(@Nonnull Key<T> key, @Nullable T value); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
/* * Copyright 2012-2025 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
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)