Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for GetBytes (0.26 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            isFoundInDirectory(cacheDir, "sensitive_env_var_value".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "sensitive_value3".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "sensitive_convention".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "sensitive".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "SENSITIVE".getBytes()) == !enabled
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

                    throw new RuntimeException(e);
                }
                return false;
            }
        }
    
        @Override
        public Optional<byte[]> getBytes(URI relativeSource) {
            try {
                Path tempPath = null;
                try {
                    tempPath = Files.createTempFile("transport-get", "tmp");
                    if (get(relativeSource, tempPath)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java

            // Encode as ascii
            ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
            try {
                byteArrayOutputStream.write(daemonGreeting().getBytes());
                OutputStream outputStream = new EncodedStream.EncodedOutput(byteArrayOutputStream);
                FlushableEncoder encoder = new OutputStreamBackedEncoder(outputStream);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/ForwardInput.java

     */
    public class ForwardInput extends InputMessage {
        private final byte[] bytes;
    
        public ForwardInput(byte[] bytes) {
            this.bytes = bytes;
        }
    
        public byte[] getBytes() {
            return bytes;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 966 bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy

            "exec"     | "java.io.ByteArrayInputStream" | "new ByteArrayInputStream('Gradle'.getBytes('UTF-8'))"
            "exec"     | "java.io.FileInputStream"      | "new FileInputStream(file('input.txt'))"
            "javaExec" | "java.io.ByteArrayInputStream" | "new ByteArrayInputStream('Gradle'.getBytes('UTF-8'))"
            "javaExec" | "java.io.FileInputStream"      | "new FileInputStream(file('input.txt'))"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/LinePerThreadBufferingOutputStreamTest.groovy

            when:
            async {
                10.times {
                    start {
                        100.times {
                            outstr.write('write '.getBytes())
                            outstr.print(it)
                            outstr.println()
                        }
                    }
                }
            }
    
            then:
            output.size() == 1000
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/ClientInputForwarder.java

                @Override
                public void onInput(ForwardInput input) {
                    LOGGER.debug("Writing forwarded input on this process' stdin.");
                    stdInStream.received(input.getBytes());
                }
    
                @Override
                public void onUserResponse(UserResponse input) {
                    inputReader.putInput(new UserInputReader.TextResponse(input.getResponse()));
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/PathAssembler.java

         */
        @SuppressWarnings("StringCharset")
        private String getHash(String string) {
            try {
                MessageDigest messageDigest = MessageDigest.getInstance("MD5");
                byte[] bytes = string.getBytes("UTF-8");
                messageDigest.update(bytes);
                return new BigInteger(1, messageDigest.digest()).toString(36);
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

        private static final int TESTROUNDS = 10000
        private static final String TEST_STRING = "Hello \u00f6\u00e4\u00e5\u00d6\u00c4\u00c5"
        private static final byte[] TEST_STRING_BYTES = TEST_STRING.getBytes('UTF-8')
    
        static byte[] testbuffer = new byte[256 * TESTROUNDS]
    
        @CompileStatic
        def setupSpec() {
            for (int i = 0; i < TESTROUNDS; i++) {
                for (int j = 0; j < 256; j++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LineBufferingOutputStream.java

            this.handler = handler;
            buffer = new StreamByteBuffer(bufferLength);
            this.lineMaxLength = lineMaxLength;
            output = buffer.getOutputStream();
            byte[] lineSeparatorBytes = lineSeparator.getBytes(StandardCharsets.UTF_8);
            lastLineSeparatorByte = lineSeparatorBytes[lineSeparatorBytes.length - 1];
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top