- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 794 for sock (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/auth-handler.go
if cred.AccessKey == "" { return ErrAccessDenied } conditions := getConditionValues(r, "", cred) conditions["object-lock-mode"] = []string{string(retMode)} conditions["object-lock-retain-until-date"] = []string{retDate.UTC().Format(time.RFC3339)} if retDays > 0 { conditions["object-lock-remaining-retention-days"] = []string{strconv.Itoa(retDays)} } if retMode == objectlock.RetGovernance && byPassSet {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * Unit tests for the {@link ModelUpgradeStrategy} class. * Tests Maven model version upgrades and namespace transformations. */ @DisplayName("ModelUpgradeStrategy")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHook.java
processDBFluteSystem(); } protected void processDBFluteSystem() { DBFluteSystem.unlock(); DBFluteSystem.setFinalTimeZoneProvider(createFinalTimeZoneProvider()); DBFluteSystem.lock(); } protected DfFinalTimeZoneProvider createFinalTimeZoneProvider() { return new DfFinalTimeZoneProvider() { protected final TimeZone provided = FessUserTimeZoneProcessProvider.centralTimeZone;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/StringCatcher.java
import java.util.ArrayList; import java.util.List; import junit.framework.Assert; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A simple EventSubscriber mock that records Strings. * * <p>For testing fun, also includes a landmine method that EventBus tests are required not * to call ({@link #methodWithoutAnnotation(String)}). * * @author Cliff Biffle */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 1.4K bytes - Click Count (0) -
docs/tr/docs/tutorial/body-nested-models.md
Bu da **FastAPI**’nin aşağıdakine benzer bir body bekleyeceği anlamına gelir: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": ["rock", "metal", "bar"], "image": { "url": "http://example.com/baz.jpg", "name": "The Foo live" } } ``` Yine, sadece bu tanımı yaparak **FastAPI** ile şunları elde edersiniz:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 7.5K bytes - Click Count (0) -
internal/stmt_store/stmt_store.go
// isTransaction: Indicates whether this operation is part of a transaction, which may affect the caching strategy. // connPool: A connection pool that provides database connections. // locker: A synchronization lock that is unlocked after initialization to avoid deadlocks. // Returns: // *Stmt: A newly created statement object for executing SQL operations. // error: An error if the statement preparation fails.
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
} } @Nested @DisplayName("Tests requiring mocks") @ExtendWith(MockitoExtension.class) class MockedTests { @Mock CIFSContext mockCtx; @Mock SidResolver mockResolver; @BeforeEach void setup() { lenient().when(mockCtx.getSIDResolver()).thenReturn(mockResolver); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.pac.PACDecodingException; /** * Unit tests for the KerberosTicket class. */ @ExtendWith(MockitoExtension.class) class KerberosTicketTest { @Mock private KerberosKey kerberosKey;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
import okhttp3.internal.threadName import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.buffer import okio.sink import okio.source import okio.use /** * A limited implementation of SOCKS Protocol Version 5, intended to be similar to MockWebServer. * See [RFC 1928](https://www.ietf.org/rfc/rfc1928.txt). */ class SocksProxy { private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.7K bytes - Click Count (0) -
cmd/metrics-resource.go
} sfx += v } return string(name) + "_" + sfx } func updateResourceMetrics(subSys MetricSubsystem, name MetricName, val float64, labels map[string]string, isCumulative bool) { resourceMetricsMapMu.Lock() defer resourceMetricsMapMu.Unlock() subsysMetrics, found := resourceMetricsMap[subSys] if !found { subsysMetrics = ResourceMetrics{} } key := getResourceKey(name, labels)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0)