- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 840 for Ensure (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* cycle_suppress_list.txt. */ private final AbstractService service; /** * This lock is used to ensure safe and correct cancellation, it ensures that a new task is * not scheduled while a cancel is ongoing. Also it protects the currentFuture variable to * ensure that it is assigned atomically with being scheduled. */ private final ReentrantLock lock = new ReentrantLock();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
cmd/erasure-server-pool-rebalance.go
part.Number, NewPutObjReader(hr), ObjectOptions{ PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata. IndexCB: func() []byte { return part.Index // Preserve part Index to ensure decompression works. }, NoAuditLog: true, }) if err != nil { return fmt.Errorf("rebalanceObject: PutObjectPart() %w", err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 28.7K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
import org.mockito.Mockito; import jcifs.smb.SmbPipeHandleInternal; /** * Unit tests for a class that implements the {@link SmbPipeHandle} interface. * This test class uses a mock implementation to ensure any class adhering to the * SmbPipeHandle contract is tested for correctness. */ public class SmbPipeHandleTest { private SmbPipeHandle smbPipeHandle; private SmbPipeResource mockPipeResource;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
return defaultCreds; } @Override public boolean close() throws CIFSException { closeCalled = true; // Call super.close() to ensure the shutdown hook is removed return super.close(); } public boolean isCloseCalled() { return closeCalled; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @Mock SessionSetupHandler mocked; @Test @DisplayName("Interactions: Mockito mock has no interactions by default") void testMockitoNoInteractions() { // Intent: ensure we can mock the interface and verify no unexpected calls // Act & Assert assertNotNull(mocked); verifyNoInteractions(mocked); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
// explicitly remove the existing value cache.asMap().computeIfPresent(1, (key, value) -> null); assertThat(notifications).hasSize(1); CacheTesting.checkEmpty(cache); // ensure no zombie entry remains cache.asMap().computeIfPresent(1, (key, value) -> null); assertThat(notifications).hasSize(1); CacheTesting.checkEmpty(cache); } public void testComputeIfPresent_error() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.4K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
assertFalse(Features.deployBuildPom(properties)); // "0".parseBoolean() = false } @Test void testDeployBuildPomWithMutableMap() { // Test with a mutable map to ensure the method doesn't modify the input Map<String, Object> properties = new HashMap<>(); properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false"); assertFalse(Features.deployBuildPom(properties));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
} /** * Test backward compatibility with standard Base64 * * @throws Exception */ public void testBackwardCompatibility() throws Exception { // These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
* <li>equalsImpl: which implementation of array equality to use * </ul> * * <p><b>Important note:</b> the primary goal of this benchmark is to ensure that varying {@code * whereToDiffer} produces no observable change in performance. We want to make sure that the array * equals implementation is *not* short-circuiting to prevent timing-based attacks. Being fast is * only a secondary goal. * * @author Kurt Alfred Kluever
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
.github/PULL_REQUEST_TEMPLATE.md
https://git.k8s.io/community/contributors/devel/sig-release/release.md#issuepr-kind-label 3. Ensure you have added or ran the appropriate tests for your PR: https://git.k8s.io/community/contributors/devel/sig-testing/testing.md
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Tue Jan 20 23:14:09 GMT 2026 - 3.1K bytes - Click Count (0)