Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for bytes (0.13 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         * Gets the full URL of the artifact.
         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    // NOTE: There's java.nio.charset.MalformedInputException and sun.io.MalformedInputException
                    if (e.getClass().getName().endsWith("MalformedInputException")) {
                        msg = "Some input bytes do not match the file encoding.";
                    } else {
                        msg = e.getClass().getSimpleName();
                    }
                }
                problems.add(
                        Severity.FATAL,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    File temp = File.createTempFile("maven-artifact", null);
                    temp.deleteOnExit();
                    byte[] bytes = sums.get(extension).getBytes(StandardCharsets.UTF_8);
                    Files.write(
                            Paths.get(temp.getAbsolutePath()), bytes, StandardOpenOption.APPEND, StandardOpenOption.CREATE);
    
                    temporaryFiles.add(temp);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java

                expectedLength += stringList.get(i).length();
            }
    
            threadOutputMuxer.close();
            final byte[] bytes = byteArrayOutputStream.toByteArray();
            String result = new String(bytes);
            assertEquals(expectedLength, bytes.length, result);
        }
    
        class Outputter implements Callable<ProjectSegment> {
            private final ThreadOutputMuxer threadOutputMuxer;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * @return the current column number
         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         */
        Metadata read(Reader input, Map<String, ?> options) throws IOException, MetadataParseException;
    
        /**
         * Reads the metadata from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param input The stream to deserialize the metadata from, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            }
        }
    
        @Override
        public Optional<String> getString(URI relativeSource, Charset charset) {
            requireNonNull(charset, "charset is null");
            Optional<byte[]> data = getBytes(relativeSource);
            return data.map(bytes -> new String(bytes, charset));
        }
    
        @Override
        public void put(Path source, URI relativeTarget) {
            requireNonNull(source, "source is null");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    isBase64(byte); public static boolean isArrayByteBase64(byte[]); public static byte[] encodeBase64(byte[]); public static byte[] encodeBase64Chunked(byte[]); public byte[] decode(byte[]); public static byte[] encodeBase64(byte[], boolean); public static byte[] decodeBase64(byte[]); static byte[] discardWhitespace(byte[]); static byte[] discardNonBase64(byte[]); public byte[] encode(byte[]); static void <clinit>(); } org/codehaus/plexus/util/CachedMap.class package org.codehaus.plexus.util; public final...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            try (InputStream fis = Files.newInputStream(path)) {
                byte[] buffer = new byte[SHA1_BUFFER_SIZE];
                int read;
                while ((read = fis.read(buffer)) != -1) {
                    md.update(buffer, 0, read);
                }
            }
            StringBuilder result = new StringBuilder();
            for (byte b : md.digest()) {
                result.append(String.format("%02x", b));
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

                synchronized (currentStream) {
                    currentStream.println(x);
                    currentStream.notifyAll();
                }
            }
    
            @Override
            public void write(byte b[], int off, int len) {
                final PrintStream currentStream = getOutputStreamForCurrentThread();
                synchronized (currentStream) {
                    currentStream.write(b, off, len);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top