- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 536 for ensures (0.09 sec)
-
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 }; AvPair avPair = new AvPair(type, raw); // Modify the original raw array raw[0] = 0x05; // Ensure the AvPair's internal raw array is not affected (defensive copy not made) // This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
throw new AssertionError(e); } } HashFunction getHashFunction() { return hashFn; } } // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
throw new AssertionError(e); } } HashFunction getHashFunction() { return hashFn; } } // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/DataConfigService.java
} /** * Deletes the specified data configuration from the system. * * <p>This operation permanently removes the data configuration and * immediately refreshes the index to ensure the change is visible.</p> * * @param dataConfig the data configuration to delete * @throws IllegalArgumentException if dataConfig is null
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTimestamp.java
*/ package jcifs.ntlmssp.av; import jcifs.internal.util.SMBUtil; /** * NTLMSSP AV pair representing timestamp information in NTLM authentication. * Contains time-based data used to prevent replay attacks and ensure message freshness. * * @author mbechler */ public class AvTimestamp extends AvPair { /** * Constructs an AvTimestamp from raw byte data *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
assertFalse(matcher.matches("(1.5.2,1.6)")); assertTrue(matcher.matches("(1.4,1.5.2]")); assertTrue(matcher.matches("(1.5,)")); assertEquals("1.5.2", matcher.toString()); // Ensure it is not printed as 1.5.0 matcher = RequirementMatcherFactory.createVersionMatcher("1.5"); assertEquals("1.5", matcher.toString()); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
assertEquals(-1, result); } public void test_setProcessDestroyTimeout() { processHelper.setProcessDestroyTimeout(20); // We can't directly verify the timeout value, but we can ensure the method doesn't throw assertTrue(true); } public void test_sendCommand_jobNotFound() { try { processHelper.sendCommand("nonexistent", "test command");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
if (value != null) { return value; } // Store a local reference to the cache entry. If the backing map is immutable, this, // in combination with immutable cache entries, will ensure a thread-safe cache. CacheEntry<K, V> entry; // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. entry = cacheEntry1; if (entry != null && entry.key == key) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import java.lang.reflect.Method; import java.util.Locale; import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
String name = "getName"; String[] values = { "test" }; RequestParameter param = new RequestParameter(name, values); assertEquals(name, param.getName()); // Call multiple times to ensure consistency assertEquals(name, param.getName()); assertEquals(name, param.getName()); } public void test_getValues() { // Test getValues method explicitly
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0)