Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 4,308 for gwrite (0.1 sec)

  1. src/archive/tar/fuzz_test.go

    		for _, f := range files {
    			if err := w.WriteHeader(f.header); err != nil {
    				t.Fatalf("unable to write previously parsed header: %s", err)
    			}
    			if _, err := w.Write(f.content); err != nil {
    				t.Fatalf("unable to write previously parsed content: %s", err)
    			}
    		}
    		if err := w.Close(); err != nil {
    			t.Fatalf("Unable to write archive: %s", err)
    		}
    
    		// TODO: We may want to check if the archive roundtrips. This would require
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            }
        }
    
        @Override
        public void write(File output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException {
            write(output, options, model.getDelegate());
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, org.apache.maven.model.Model model)
                throws IOException {
            write(output, options, model.getDelegate());
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

          )
        val bufferA = Buffer()
        val bufferB = Buffer()
        bufferA.writeUtf8("Dodgson!\n")
        operatorA.write(0, bufferA, 9)
        bufferB.writeUtf8("You shouldn't use my name.\n")
        operatorB.write(9, bufferB, 27)
        bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n")
        operatorA.write(36, bufferA, 33)
        operatorB.read(0, bufferB, 9)
        assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/ReferenceEntry.java

      /*
       * Implemented by entries that use write order. Write entries are maintained in a doubly-linked
       * list. New entries are added at the tail of the list at write time and stale entries are
       * expired from the head of the list.
       */
    
      @SuppressWarnings("GoodTime")
      /** Returns the time that this entry was last written, in ns. */
      long getWriteTime();
    
      /** Sets the entry write time in ns. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/text/unicode/norm/readwriter.go

    	if len(w.buf) > 0 {
    		_, err := w.w.Write(w.buf)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // Writer returns a new writer that implements Write(b)
    // by writing f(b) to w. The returned writer may use an
    // internal buffer to maintain state across Write calls.
    // Calling its Close method writes any buffered data to w.
    func (f Form) Writer(w io.Writer) io.WriteCloser {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  6. src/encoding/pem/pem.go

    	n, err = l.out.Write(b[0:excess])
    	if err != nil {
    		return
    	}
    
    	n, err = l.out.Write(nl)
    	if err != nil {
    		return
    	}
    
    	return l.Write(b[excess:])
    }
    
    func (l *lineBreaker) Close() (err error) {
    	if l.used > 0 {
    		_, err = l.out.Write(l.line[0:l.used])
    		if err != nil {
    			return
    		}
    		_, err = l.out.Write(nl)
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/GroupsJavadocOptionFileOptionTest.groovy

            1 * writerContextMock.write('"testGroup"') >> writerContextMock
            1 * writerContextMock.write(' ') >> writerContextMock
            1 * writerContextMock.write('"java.lang:java.util*"') >> writerContextMock
            1 * writerContextMock.newLine() >> writerContextMock
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

        }
    
        /**
         * Method write.
         *
         * @param writer   a writer object
         * @param metadata a Metadata object
         * @throws java.io.IOException java.io.IOException if any
         */
        public void write(Writer writer, Metadata metadata) throws java.io.IOException {
            try {
                delegate.write(writer, metadata.getDelegate());
            } catch (XMLStreamException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        }
    
        public void close() throws IOException {
            pipe.close();
        }
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
        public void write( byte[] b ) throws IOException {
            write( b, 0, b.length );
        }
        public void write( byte[] b, int off, int len ) throws IOException {
            if( len < 0 ) {
                len = 0;
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

    import java.nio.channels.FileChannel
    import okio.Buffer
    
    /**
     * Read and write a target file. Unlike Okio's built-in `Okio.source(java.io.File file)` and `Okio.sink(java.io.File file)`
     * this class offers:
     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top