Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FileWriter (0.13 sec)

  1. src/main/java/org/codelibs/core/io/WriterUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

    import org.gradle.api.tasks.PathSensitive;
    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.api.tasks.TaskAction;
    
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.nio.file.Files;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.TreeMap;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    	if len(b) == 0 {
    		return 0, nil
    	}
    	return 0, errors.New("zip: write to directory")
    }
    
    type fileWriter struct {
    	*header
    	zipw      io.Writer
    	rawCount  *countWriter
    	comp      io.WriteCloser
    	compCount *countWriter
    	crc32     hash.Hash32
    	closed    bool
    }
    
    func (w *fileWriter) Write(p []byte) (int, error) {
    	if w.closed {
    		return 0, errors.New("zip: write to closed file")
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    // physicalRemaining implements fileState.physicalRemaining.
    func (fw regFileWriter) physicalRemaining() int64 {
    	return fw.nb
    }
    
    // sparseFileWriter is a fileWriter for writing data to a sparse file entry.
    type sparseFileWriter struct {
    	fw  fileWriter  // Underlying fileWriter
    	sp  sparseDatas // Normalized list of data fragments
    	pos int64       // Current position in sparse file
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestTest.kt

    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.io.File
    import java.io.FileWriter
    import java.net.URI
    import java.util.UUID
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    				}
    			}
    			f, err := w.CreateHeader(&FileHeader{
    				Name:   filename,
    				Method: Store,
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    			f.(*fileWriter).crc32 = fakeHash32{}
    			size := wantOff - fileHeaderLen - uint64(len(filename)) - dataDescriptorLen
    			if _, err := io.CopyN(f, zeros{}, int64(size)); err != nil {
    				t.Fatal(err)
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    			testWrite{"\x00\x00", 2, errUnrefData},
    		},
    	}}
    
    	for i, v := range vectors {
    		var wantStr string
    		bb := new(strings.Builder)
    		w := testNonEmptyWriter{bb}
    		var fw fileWriter
    		switch maker := v.maker.(type) {
    		case makeReg:
    			fw = &regFileWriter{w, maker.size}
    			wantStr = maker.wantStr
    		case makeSparse:
    			if !validateSparseEntries(maker.sph, maker.size) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. RELEASE.md

    rather than tag as their first argument, meaning summary ops now respect
    TensorFlow name scopes. * Replace tf.train.SummaryWriter and
    tf.train.SummaryWriterCache with tf.summary.FileWriter and
    tf.summary.FileWriterCache. * Removes RegisterShape from public API. Use C++
    shape function registration instead. * Deprecated `_ref` dtypes from the python
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top