Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 50 for getJava (0.37 seconds)

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

                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model)
                throws ArtifactDescriptorException {
            Relocations relocations = (Relocations) session.getData()
                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

         */
        public int getMessageLength() {
            return this.messageLength;
        }
    
        /**
         * Gets the data peeked from the pipe
         * @return the data
         */
        public byte[] getData() {
            return this.data;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see Decodable#decode(byte[], int, int)
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        @Test
        public void testGetDataInMemory() throws IOException {
            // getData() should return the written data when in memory
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            byte[] data = new byte[] { 0, 1, 2, 3, 4 };
            cos.write(data);
            assertTrue(cos.isInMemory());
            byte[] result = cos.getData();
            assertNotNull(result);
            assertArrayEquals(data, result);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            Text comment = (Text) firstNode.getFirstChild();
            Matcher matcher = ACCESSOR_COMMENT_PATTERN.matcher(comment.getData());
            if (matcher.lookingAt()) {
                String theOrWhether = matcher.group(1).toLowerCase(Locale.US);
                comment.setData(StringUtils.capitalize(theOrWhether) + " " + comment.getData().substring(matcher.end()));
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                mojos.remove(Thread.currentThread());
            }
    
            private OwnerReentrantLock getProjectLock(MavenSession session) {
                SessionData data = session.getSession().getData();
                Map<MavenProject, OwnerReentrantLock> locks = data.computeIfAbsent(PROJECT_LOCKS, ConcurrentHashMap::new);
                return locks.computeIfAbsent(session.getCurrentProject(), p -> new OwnerReentrantLock());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

            }
            return newArtifacts;
        }
    
        @SuppressWarnings("unchecked")
        private Set<String> needsInlining(RepositorySystemSession session) {
            return (Set<String>) session.getData()
                    .computeIfAbsent(
                            PomInlinerTransformer.class.getName() + ".needsInlining", ConcurrentHashMap::newKeySet);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java

            boolean halted;
            // The ReactorBuildStatus is only available if the SmartBuilder is used
            ReactorBuildStatus status =
                    (ReactorBuildStatus) session.getRepositorySession().getData().get(ReactorBuildStatus.class);
            if (status != null) {
                halted = status.isHalted();
            } else {
                // assume sensible default
                Throwable t = projectExecutionEvent.getCause();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  8. tests/test_default_response_class.py

    @router_a.get("/")
    def get_a():
        return {"msg": "Hello A"}
    
    
    @router_a.get("/override", response_class=PlainTextResponse)
    def get_a_path_override():
        return "Hello A"
    
    
    @router_a_a.get("/")
    def get_a_a():
        return {"msg": "Hello A A"}
    
    
    @router_a_a.get("/override", response_class=PlainTextResponse)
    def get_a_a_path_override():
        return "Hello A A"
    
    
    @router_a_b_override.get("/")
    def get_a_b():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

         */
        public RdmaChannelInfo getRdmaChannelInfo() {
            return rdmaChannelInfo;
        }
    
        /**
         * Get write data
         *
         * @return data to write
         */
        public byte[] getData() {
            return data;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
     * @see Session#getData()
     * @since 4.0.0
     */
    @Experimental
    @ThreadSafe
    @Provider
    public interface SessionData {
    
        /**
         * Associates the specified session data with the given key.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top