Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 763 for prevent (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        }
    
        protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception {
            ArtifactRepository localRepo = localRepository();
    
            String path = localRepo.pathOf(artifact);
    
            File file = new File(localRepo.getBasedir(), path);
    
            assertFalse(file.exists(), "Local artifact " + file + " should not be present.");
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            return when {
                sinceTags.isEmpty() -> {
                    fallback?.let { SinceTagStatus.Present(it) } ?: SinceTagStatus.Missing
                }
    
                sinceTags.all { it == sinceTags.first() } -> {
                    (sinceTags.first() ?: fallback)?.let { SinceTagStatus.Present(it) } ?: SinceTagStatus.Missing
                }
    
                else -> {
                    SinceTagStatus.Inconsistent(sinceTags)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              putIfAbsent(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.25.md

    - Fix bug that prevented informer/reflector callers from unwrapping and catching specific API errors by type. ([#110076](https://github.com/kubernetes/kubernetes/pull/110076), [@karlkfi](https://github.com/karlkfi)) [SIG API Machinery]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Mon May 06 09:23:20 GMT 2024
    - 419.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java

        public void projectSkipped(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.projectSkipped(event);
        }
    
        @Override
        public void projectStarted(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.projectStarted(event);
        }
    
        @Override
        public void projectSucceeded(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.projectSucceeded(event);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

            return map.containsKey(o);
        }
    
        @Override
        public boolean add(final String o) {
            return map.put(o, PRESENT) == null;
        }
    
        @Override
        public boolean remove(final Object o) {
            return map.remove(o) == PRESENT;
        }
    
        @Override
        public void clear() {
            map.clear();
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 21:04:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        @ParameterizedTest(name = "session error {1} -\\u003e {2}")
        @CsvSource({ "-1,Connection refused", "0x80,Not listening on called name", "0x81,Not listening for calling name",
                "0x82,Called name not present", "0x83,Called name present, but insufficient resources", "0x8F,Unspecified error",
                "999,Unknown error code: 999" })
        @DisplayName("getErrorString for SSN service errors")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top