Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for writeRaw (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java

            }
    
            writeRaw(" ");
            writeRaw(name);
            writeRaw("=\"");
            writeXmlAttributeEncoded(value);
            writeRaw("\"");
            return this;
        }
    
        private void writeRaw(char c) throws IOException {
            output.write(c);
        }
    
        protected void writeRaw(String message) throws IOException {
            output.write(message);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 12K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/xml/SimpleXmlWriter.java

            super(writer, indent);
            writeXmlDeclaration(encoding);
        }
    
        private void writeXmlDeclaration(String encoding) throws IOException {
            writeRaw("<?xml version=\"1.0\" encoding=\"");
            writeRaw(encoding);
            writeRaw("\"?>");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/html/SimpleHtmlWriter.java

        public SimpleHtmlWriter(Writer writer, String indent) throws IOException {
            super(writer, indent);
            writeHtmlHeader();
        }
    
        private void writeHtmlHeader() throws IOException {
            writeRaw("<!DOCTYPE html>");
        }
    
        @Override
        public SimpleMarkupWriter startElement(String name) throws IOException {
            if (!isValidHtmlTag(name)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 14:02:57 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

        def "safely handles properties files in #description with bad unicode escape sequences"() {
            def project = new ProjectWithRuntimeClasspathNormalization(Api.RUNTIME).withFilesIgnored()
            project[resource].writeRaw('propertyWithBadValue=this is a bad unicode sequence'.bytes, [0x5C, 0x75, 0x78, 0x78, 0x78, 0x78] as byte[])
            project.buildFile << """
                normalization {
                    runtimeClasspath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  5. src/io/io.go

    // WriteAt should not affect nor be affected by the underlying
    // seek offset.
    //
    // Clients of WriteAt can execute parallel WriteAt calls on the same
    // destination if the ranges do not overlap.
    //
    // Implementations must not retain p.
    type WriterAt interface {
    	WriteAt(p []byte, off int64) (n int, err error)
    }
    
    // ByteReader is the interface that wraps the ReadByte method.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    	for i := range w.buffer {
    		delete(w.buffer, i)
    	}
    	w.wg.Wait()
    	return err
    }
    
    type writerAt struct {
    	w      *io.PipeWriter
    	r      *io.PipeReader
    	wg     *sync.WaitGroup
    	buffer map[int64][]byte
    	err    error
    
    	nextOffset int64
    	m          sync.Mutex
    }
    
    func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) {
    	w.m.Lock()
    	defer w.m.Unlock()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/cmd/internal/buildid/rewrite.go

    		copy(buf[0:], buf[bufSize:])
    		start -= bufSize
    		offset += int64(bufSize)
    	}
    	h.Sum(hash[:0])
    	return matches, hash, nil
    }
    
    func Rewrite(w io.WriterAt, pos []int64, id string) error {
    	b := []byte(id)
    	for _, p := range pos {
    		if _, err := w.WriteAt(b, p); err != nil {
    			return err
    		}
    	}
    
    	// Update Mach-O code signature, if any.
    	if f, cmd, ok := findMachoCodeSignature(w); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  8. src/mdo/writer-stax.vm

            #if ( ! $def )
                writeTag("$fieldTagName", null, ${classLcapName}.get${fieldCapName}(), serializer${loctrac});
            #else
                writeTag("$fieldTagName", "${def}", ${classLcapName}.get${fieldCapName}(), serializer${loctrac});
            #end
          #elseif ( $field.type == "boolean" || $field.type == "Boolean" )
            #if ( ${def} == "true" )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/guava-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/guava/ImmutableMapCodec.kt

    import org.gradle.internal.serialize.graph.WriteContext
    import org.gradle.internal.serialize.graph.writeMap
    
    
    object ImmutableMapCodec : Codec<ImmutableMap<Any, Any>> {
    
        override suspend fun WriteContext.encode(value: ImmutableMap<Any, Any>) {
            writeMap(value)
        }
    
        override suspend fun ReadContext.decode(): ImmutableMap<Any, Any>? {
            val size = readSmallInt()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultTextArea.java

            writePos.row++;
        }
    
        @Override
        protected void doLineText(final CharSequence text) {
            if (text.length() == 0) {
                return;
            }
    
            ansiExecutor.writeAt(writePos, new Action<AnsiContext>() {
                @Override
                public void execute(AnsiContext ansi) {
                    ansi.withStyle(getStyle(), new Action<AnsiContext>() {
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top