Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for writelns (0.16 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def canAddDynamicPropertiesToProject() {
            createDirs("child")
            file("settings.gradle").writelns("include 'child'")
            file("build.gradle").writelns(
                    "ext.rootProperty = 'root'",
                    "ext.sharedProperty = 'ignore me'",
                    "ext.property = 'value'",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        }
    
        public TestFile withExtension(String extension) {
            return getParentFile().file(org.gradle.internal.FileUtils.withExtension(getName(), extension));
        }
    
        public TestFile writelns(String... lines) {
            return writelns(Arrays.asList(lines));
        }
    
        public TestFile write(Object content) {
            try {
                FileUtils.writeStringToFile(this, content.toString(), StandardCharsets.UTF_8);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java

            output.writeBytes(bytes, offset, count);
        }
    
        @Override
        public void writeLong(long value) {
            output.writeLong(value);
        }
    
        @Override
        public void writeSmallLong(long value) {
            output.writeLong(value, true);
        }
    
        @Override
        public void writeInt(int value) {
            output.writeInt(value);
        }
    
        @Override
        public void writeSmallInt(int value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/EncoderExtensions.java

            encoder.writeInt(array.length);
            writeInts(encoder, array);
        }
    
        public static void writeInts(Encoder encoder, int[] array) throws IOException {
            for (int e : array) {
                encoder.writeInt(e);
            }
        }
    
        public static void writeLengthPrefixedLongs(Encoder encoder, long[] array) throws IOException {
            encoder.writeInt(array.length);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

        }
    
        override fun writeChar(`val`: Int) = record {
            writeInt(`val`)
        }
    
        override fun writeBoolean(`val`: Boolean) = record {
            writeBoolean(`val`)
        }
    
        override fun writeShort(`val`: Int) = record {
            this.writeShort(`val`.toShort())
        }
    
        override fun writeLong(`val`: Long) = record {
            writeLong(`val`)
        }
    
        override fun writeFloat(`val`: Float) = record {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/OutputStreamBackedEncoder.java

            this.outputStream = new DataOutputStream(outputStream);
        }
    
        @Override
        public void writeLong(long value) throws IOException {
            outputStream.writeLong(value);
        }
    
        @Override
        public void writeInt(int value) throws IOException {
            outputStream.writeInt(value);
        }
    
        @Override
        public void writeShort(short value) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                            indexOutput.writeLong(id, true);
                            indexOutput.writeLong(region.stdOutRegion.start);
                            indexOutput.writeLong(region.stdOutRegion.stop);
                            indexOutput.writeLong(region.stdErrRegion.start);
                            indexOutput.writeLong(region.stdErrRegion.stop);
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

                if (expectedContent == null) {
                    encoder.writeInt(-1);
                } else {
                    encoder.writeInt(expectedContent.length);
                    encoder.writeBytes(expectedContent);
                }
                byte[] actualContent = value.getDetails().getActualContent();
                if (actualContent == null) {
                    encoder.writeInt(-1);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                if (context.pid != null) {
                    encoder.writeLong(context.pid);
                }
                encoder.writeBoolean(context.idleTimeout != null);
                if (context.idleTimeout != null) {
                    encoder.writeInt(context.idleTimeout);
                }
                encoder.writeInt(context.daemonOpts.size());
                for (String daemonOpt : context.daemonOpts) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy

            }
    
            then:
            thrown(EOFException)
        }
    
        def "can encode and decode long #value"() {
            expect:
            def bytes = encode { Encoder encoder ->
                encoder.writeLong(value)
            }
            decode(bytes) { Decoder decoder ->
                assert decoder.readLong() == value
            }
    
            where:
            value               | _
            0                   | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top