Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 1,015 for Prevent (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

                if (!listeners.isEmpty()) {
                    Event event = new DefaultEvent(session, ee, eventType);
                    for (Listener listener : listeners) {
                        listener.onEvent(event);
                    }
                }
            }
        }
    
        /**
         * Simple "conversion" from Maven3 event type enum to Maven4 enum.
         */
        protected EventType convert(ExecutionEvent.Type type) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt

     */
    package okhttp3
    
    /**
     * A special [EventListener] for testing the mechanics of event listeners.
     *
     * Each instance processes a single event on [call], and then adds a successor [EventListenerRelay]
     * on the same [call] to process the next event.
     *
     * By forcing the list of listeners to change after every event, we can detect if buggy code caches
     * a stale [EventListener] in a field or local variable.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * The given dependency should be one of the paths returned by {@link #getDependencies()}.
         * The module name is extracted from the {@code module-info.class} file if present, otherwise from
         * the {@code "Automatic-Module-Name"} attribute of the {@code META-INF/MANIFEST.MF} file if present.
         *
         * <p>A typical usage is to invoke this method for all dependencies having a
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

      public void testGetOrDefault_present() {
        assertEquals(
            "getOrDefault(present, def) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNullDefault() {
        assertEquals(
            "getOrDefault(present, null) should return the associated value",
            v0(),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            .any(gradle.startParameter.taskNames::contains)
    
    
    /**
     * Returns a new provider that takes its value from at most one
     * of the given providers. If no input provider is present, the output
     * provider will not be present. If more than one input provider
     * has a value specified, the resulting provider will throw an
     * exception when queried.
     */
    fun <T: Any> atMostOneOf(vararg providers: Provider<T>): Provider<T> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:46:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/netbios/NbtException.java

                    break;
                case CALLED_NOT_PRESENT:
                    result.append("Called name not present");
                    break;
                case NO_RESOURCES:
                    result.append("Called name present, but insufficient resources");
                    break;
                case UNSPECIFIED:
                    result.append("Unspecified error");
                    break;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/netbios/NbtException.java

                    break;
                case CALLED_NOT_PRESENT:
                    result.append("Called name not present");
                    break;
                case NO_RESOURCES:
                    result.append("Called name present, but insufficient resources");
                    break;
                case UNSPECIFIED:
                    result.append("Unspecified error");
                    break;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            assertNotNull(option);
    
            // Verify the field naming is set to CAMEL_TO_LOWER_SNAKE
            OptionalThing<JsonFieldNaming> fieldNamingOpt = option.getFieldNaming();
            assertTrue("Field naming should be present", fieldNamingOpt.isPresent());
            assertEquals(JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get());
        }
    
        @Test
        public void test_provideMappingOption_notNull() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/DosErrorTest.java

            }
        }
    
        @Test
        @DisplayName("Messages: array is present and contains expected first entries")
        void dosErrorMessagesContainsExpectedTexts() {
            // Arrange & Act
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Assert
            assertNotNull(msgs);
            assertTrue(msgs.length >= 3, "Expect at least the first 3 entries present");
            assertEquals("The operation completed successfully.", msgs[0]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top