- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 283 for injected (0.06 sec)
-
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
assertEquals(3, stats.totalFailures); assertEquals(3, stats.consecutiveFailures); } @Test @DisplayName("Test requests rejected when circuit is open") void testRequestsRejectedWhenOpen() { // Open the circuit circuitBreaker.tripBreaker();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* and returns {@code null} if non-ASCII digits are present in the string. * * <p>Note that strings prefixed with ASCII {@code '+'} are rejected, even though {@link * Integer#parseInt(String)} accepts them. * * @param string the string representation of an integer value
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
this.successRate = successRate; } @Override public String toString() { return String.format("CircuitBreaker[%s] State=%s, Calls=%d, Success=%.2f%%, Rejected=%d", name, state, totalCalls, successRate * 100, rejectedCalls); } } /** * Exception thrown when circuit breaker is open */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/os-instrumented.go
osMetricStat osMetricAccess osMetricCreate osMetricReadDirent osMetricFdatasync osMetricSync // .... add more osMetricLast ) var globalOSMetrics osMetrics func init() { // Inject metrics. ioutilx.OsOpenFile = OpenFile ioutilx.OpenFileDirectIO = OpenFileDirectIO ioutilx.OsOpen = Open } type osMetrics struct { // All fields must be accessed atomically and aligned.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
return higherIndex; } }, /** * Return {@code ~insertionIndex}, where {@code insertionIndex} is defined as the point at which * the key would be inserted into the list: the index of the next higher element in the list, or * {@code list.size()} if there is no such element. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
assertTrue(ex.getMessage().contains("Invalid field in kerberos ticket")); } @Test @DisplayName("seq ctor: tag 3 with wrong tag class is rejected") void sequenceConstructor_ticketTag_wrongClass_throws() { // Arrange: minimal valid fields + tag 3 as CONTEXT-SPECIFIC instead of APPLICATION ASN1EncodableVector v = new ASN1EncodableVector();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
when(nameFilter.accept(parent, acceptedName)).thenReturn(true); FileEntry initial = entry("first"); FileEntry[] page1 = new FileEntry[] { entry("."), entry(".."), entry("rejected"), entry(acceptedName) }; TestIterator it = TestIterator.create(tree, parent, "*", nameFilter, 0, initial, List.of(new FileEntry[][] { page1 })); // Act assertTrue(it.hasNext());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
// This requires Mockito 3.4.0+ for MockedStatic // For simplicity, we'll assume Crypto.getMD5() is static and mock it. // If it's not static, we'd need to inject it or mock the class that provides it. try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
@echo off @REM set title of command window title %0 @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' @if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO% @REM Clear/define a variable for any options to be inserted via script @REM We want to avoid trying to parse the external MAVEN_OPTS variable SET INTERNAL_MAVEN_OPTS= @REM Execute a user defined script before this one if not "%MAVEN_SKIP_RC%"=="" goto skipRc
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 24 09:49:07 UTC 2025 - 9.6K bytes - Viewed (3) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; class DefaultToolchainManagerTest { // Mocks to inject into toolchainManager @Mock private Logger logger; private ToolchainManagerFactory.DefaultToolchainManagerV3 toolchainManager; @Mock private ToolchainFactory toolchainFactoryBasicType;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0)