- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 3,261 for avoid (0.04 sec)
-
src/test/java/jcifs/util/EncdecTest.java
/** * Test class for Encdec utility functionality */ @DisplayName("Encdec Utility Tests") class EncdecTest extends BaseTest { @Test @DisplayName("Should encode and decode 16-bit integers") void testInt16Operations() { // Given short value = 0x1234; byte[] buffer = new byte[2]; // When - encode little endian Encdec.enc_uint16le(value, buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
detectingLocks[i] = factory.newReentrantLock("Lock" + i); } } @Benchmark void unorderedPlainLocks(int reps) { lockAndUnlock(new ReentrantLock(), reps); } @Benchmark void unorderedCycleDetectingLocks(int reps) { lockAndUnlock(factory.newReentrantLock("foo"), reps); } private static void lockAndUnlock(Lock lock, int reps) { for (int i = 0; i < reps; i++) { lock.lock();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
@CollectionSize.Require(absent = ZERO) public void testAddAtIndex_supportedPresent() { getList().add(0, e0()); expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */ public void testAddAtIndex_unsupportedPresent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return ImmutableSet.copyOf(elements); } public void testCreation_allDuplicates() { ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); assertTrue(set instanceof SingletonImmutableSet); assertEquals(Lists.newArrayList("a"), new ArrayList<>(set)); } public void testCreation_oneDuplicate() { // now we'll get the varargs overload
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsRoleCQ.java
public void setId_Equal(String id) { setId_Term(id, null); } public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) { setId_Term(id, opLambda); } public void setId_Term(String id) { setId_Term(id, null); } public void setId_Term(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 13.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
public void testSymmetricDifference_isView() { Set<Integer> set1 = newHashSet(1, 2); Set<Integer> set2 = newHashSet(2, 3); Set<Integer> difference = symmetricDifference(set1, set2); assertThat(difference).containsExactly(1, 3); set1.add(0); assertThat(difference).containsExactly(0, 1, 3); set2.remove(2); assertThat(difference).containsExactly(0, 1, 2, 3); } public void testImmutableCopy_empty() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
private Configuration mockConfig; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given int testMid = 42;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
} @Test void testConstructor() { assertNotNull(setupAndX); assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command); assertEquals(mockSession, setupAndX.session); assertEquals(mockAuth, setupAndX.cred); } @Test void testConstructorWithAnonymousAuth() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
Duration.ofMinutes(1) // cleanup interval ); } @AfterEach public void tearDown() { if (rateLimiter != null) { rateLimiter.close(); } } @Test public void testNormalAuthentication() throws Exception { // Normal authentication should be allowed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
extractorFactory.addExtractor("text/plain", tikaExtractor); extractorFactory.addExtractor("text/html", tikaExtractor); } public void test_name() { assertEquals("textTransformer", textTransformer.getName()); } public void test_transform_text() throws Exception { final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 4.6K bytes - Viewed (0)