Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for GetBytes (0.13 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. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy

        }
    
        interface TestCacheEntry {
            String getKey()
            String getMd5Hash()
            String getText()
            void setText(String text)
            byte[] getBytes()
            void setBytes(byte[] bytes)
            void copyBytesTo(TestFile file)
        }
    
        private class TestFileCacheEntry implements TestCacheEntry {
    
            String key
            TestFile file
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. 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)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/TestRetryPluginSmokeTest.groovy

            try {
                Path marker = Paths.get("marker.file");
                if (!Files.exists(marker)) {
                    Files.write(marker, "mark".getBytes());
                    throw new RuntimeException("fail me!");
                }
                Files.write(marker, "again".getBytes());
            } catch (java.io.IOException e) {
                throw new java.io.UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

            }
        }
    
        private String bash(String commands) {
            return execute(["bash"] as Object[], new ByteArrayInputStream(commands.getBytes()))
        }
    
        private String execute(Object[] commandLine, InputStream input) {
            def output = new ByteArrayOutputStream()
            def e = TestFiles.execHandleFactory().newExec()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

                this.statusCode = statusCode;
            }
    
            @Override
            public void writeTo(int requestId, HttpExchange exchange) throws IOException {
                byte[] bytes = content.getBytes(Charsets.UTF_8);
                exchange.sendResponseHeaders(statusCode, bytes.length);
                exchange.getResponseBody().write(bytes);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. 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)
Back to top