- Sort Score
- Num 10 results
- Language All
Results 1261 - 1270 of 5,228 for avoid (0.03 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
@CollectionSize.Require(absent = ZERO) public void testFind_yes() { assertEquals( getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0))); } public void testFind_no() { assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3())); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testFind_nullNotContainedButSupported() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
@CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/storage/StorageTypeTest.java
public class StorageTypeTest extends UnitFessTestCase { public void test_enumValues() { final StorageType[] types = StorageType.values(); assertNotNull(types); assertEquals(3, types.length); } public void test_s3Type() { assertEquals(StorageType.S3, StorageType.valueOf("S3")); } public void test_gcsType() { assertEquals(StorageType.GCS, StorageType.valueOf("GCS"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
public void testWindowsReservedCOM() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\COM1"); }); } @Test public void testWindowsReservedLPT() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\LPT9.doc"); }); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
* */ class OrganizationTest { @Test void testHashCodeNullSafe() { new Organization().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Organization().equals(null)); new Organization().equals(new Organization()); } @Test void testEqualsIdentity() { Organization thing = new Organization();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java
* @param phase a phase object. */ public void removePhase(Phase phase) { getPhases().remove(phase); } // -- void removePhase( Phase ) /** * Set the ID of this lifecycle, for identification in the mojo * descriptor. * * @param id a id object. */ public void setId(String id) { this.id = id; } // -- void setId( String ) /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
tensorflow/c/eager/custom_device_testutil.cc
void* device_info) { TF_SetStatus(status, TF_INTERNAL, "Trying to copy a tensor out of a logging device."); return nullptr; } void LoggingDeviceExecute(const TFE_Op* original_op, int* num_outputs, TFE_TensorHandle** outputs, TF_Status* s, void* device_info) {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Dec 20 23:30:21 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
@DisplayName("Flag constants should be powers of 2") void shouldBeValidFlagPowersOfTwo(int flag) { assertTrue(flag > 0, "Flag should be positive"); assertEquals(0, flag & (flag - 1), "Flag should be power of 2: " + Integer.toHexString(flag)); } @Test @DisplayName("Should validate all constants are unique") void shouldHaveUniqueConstants() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java
return new ChatPhaseCallback() { @Override public void onPhaseStart(final String phase, final String message) { // no-op } @Override public void onPhaseComplete(final String phase) { // no-op } @Override public void onChunk(final String content, final boolean done) { // no-op
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:32:04 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTest.java
import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost method int expectedCreditCost = 10;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0)