Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 141 for PauseNs (0.06 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                                                    + " Your JAR contains rogue Maven Plugin metadata."
                                                    + " Possible causes may be: shaded into this JAR some Maven Plugin or some rogue resource.",
                                            artifact.getGroupId(),
                                            artifact.getArtifactId(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            // Ensure jcl-over-slf4j is pulled in when we use GCS so it can conflict.
            applyRule<DependencyAdditionRule>(libs.gcs, libs.jclToSlf4j)
    
            // asciidoctorj depends on a lot of stuff, which causes `Can't create process, argument list too long` on Windows
            applyRule<DependencyRemovalByNameRule>("org.gradle:sample-discovery", setOf("asciidoctorj", "asciidoctorj-api"))
    
            withModule<RemoveXmlApisRule>("jaxen:jaxen")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 18 11:32:19 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertEquals(rootCause, withCauseException.getRootCause());
            assertEquals(withCauseException.getCause(), withCauseException.getRootCause());
    
            // Test with nested causes
            RuntimeException middleCause = new RuntimeException("Middle", rootCause);
            TransportException nestedCauseException = new TransportException("Nested", middleCause);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            }
        }
    
        @Override
        public void omitForCycle(Artifact omitted) {
            logger.debug(indent + omitted + " (removed - causes a cycle in the graph)");
        }
    
        @Override
        public void updateScopeCurrentPom(Artifact artifact, String ignoredScope) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. architecture/standards/0008-use-nullaway.md

    We utilize nullness annotations in Java code and somewhat rely on IDE warnings to guide us.
    However, the Java code we have is not fully annotated, which causes several consequences:
    * IDE warnings can be misleading
    * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers
    * Missing null checks may cause NullPointerException
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/EncodableTest.java

                    "System.arraycopy should throw for insufficient destination space");
        }
    
        @Test
        @DisplayName("encode() throws when dstIndex causes overflow")
        void encodeThrowsWhenDstIndexCausesOverflow() {
            byte[] src = makeSeq(5);
            Encodable enc = new ByteEncodable(src, 0, 5);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

         */
        @Test
        void testGetMessageByDcerpcError_largerThanAny() {
            int unknownCode = 0x7FFFFFFF; // Max int value
    
            // The current implementation has a bug in the binary search that causes ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                DcerpcException.getMessageByDcerpcError(unknownCode);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

        }
    
        @Test
        void testConcurrentWeightCalculation() throws Exception {
            // Test that concurrent weight calculation doesn't cause recursive update issues
            // This test simulates the scenario that causes the IllegalStateException
    
            int numThreads = 10;
            int numIterations = 100;
            ExecutorService executor = Executors.newFixedThreadPool(numThreads);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

                expected = NtStatus.NT_STATUS_UNSUCCESSFUL;
            }
            assertEquals(expected, ex.getNtStatus(), "Status should match mapping or fallback");
        }
    
        /**
         * Verify that root causes are stored and returned correctly.
         */
        @Test
        @DisplayName("Root cause propagation")
        void testRootCausePropagation() {
            Throwable root = mock(Throwable.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top