- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 433 for readArg (0.58 sec)
-
src/debug/pe/section.go
func (s *Section) Data() ([]byte, error) { return saferio.ReadDataAt(s.sr, uint64(s.Size), 0) } // Open returns a new ReadSeeker reading the PE section s. // // If s.Offset is 0, the section has no contents, and all calls // to the returned reader will return a non-nil error. func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } // Section characteristics flags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 3.5K bytes - Viewed (0) -
src/internal/zstd/literals.go
return 0, nil, err } return roff, outbuf, nil } // readLiteralsOneStream reads a single stream of compressed literals. func (r *Reader) readLiteralsOneStream(data block, off, compressedSize, regeneratedSize int, outbuf []byte) ([]byte, error) { // We let the reverse bit reader read earlier bytes, // because the Huffman table ignores bits that it doesn't need. rbr, err := r.makeReverseBitReader(data, off+compressedSize-1, off-2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 14:30:10 UTC 2023 - 8.8K bytes - Viewed (0) -
cmd/gotemplate/gotemplate.go
if err := generate(os.Stdin, os.Stdout, kvs); err != nil { fmt.Fprintf(os.Stderr, "Error: %v\n", err) os.Exit(1) } } func generate(in io.Reader, out io.Writer, data interface{}) error { var buf bytes.Buffer if _, err := buf.ReadFrom(in); err != nil { return fmt.Errorf("reading input: %v", err) } funcMap := template.FuncMap{ "include": include, "indent": indent, "trim": trim, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 22 18:39:23 UTC 2023 - 2.6K bytes - Viewed (0) -
src/encoding/gob/decoder.go
err error } // NewDecoder returns a new decoder that reads from the [io.Reader]. // If r does not also implement [io.ByteReader], it will be wrapped in a // [bufio.Reader]. func NewDecoder(r io.Reader) *Decoder { dec := new(Decoder) // We use the ability to read bytes as a plausible surrogate for buffering. if _, ok := r.(io.ByteReader); !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 7.2K bytes - Viewed (0) -
pkg/file/file.go
// limitations under the License. package file import ( "bytes" "errors" "fmt" "io" "io/fs" "os" "path/filepath" ) // AtomicCopy copies file by reading the file then writing atomically into the target directory func AtomicCopy(srcFilepath, targetDir, targetFilename string) error { in, err := os.Open(srcFilepath) if err != nil { return err } defer in.Close()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 21:42:29 UTC 2024 - 3K bytes - Viewed (0) -
src/go/parser/interface.go
// otherwise it returns an error. If src == nil, readSource returns // the result of reading the file specified by filename. func readSource(filename string, src any) ([]byte, error) { if src != nil { switch s := src.(type) { case string: return []byte(s), nil case []byte: return s, nil case *bytes.Buffer: // is io.Reader, but src is already available in []byte form if s != nil { return s.Bytes(), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWord.java
this.permissions = value; } public String getReading() { checkSpecifiedProperty("reading"); return convertEmptyToNull(reading); } public void setReading(String value) { registerModifiedProperty("reading"); this.reading = value; } public String getSuggestWord() { checkSpecifiedProperty("suggestWord");
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java
|| !Objects.equals(token, other.token)) { return false; } return true; } @Override public String toString() { return "KuromojiItem [token=" + token + ", segmentation=" + segmentation + ", reading=" + reading + ", pos=" + pos + ", newToken="
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
CharSequenceReader reader = new CharSequenceReader(string); assertTrue(reader.markSupported()); assertEquals(string, readFully(reader)); assertFullyRead(reader); // reset and read again reader.reset(); assertEquals(string, readFully(reader)); assertFullyRead(reader); // reset, skip, mark, then read the rest reader.reset(); assertEquals(5, reader.skip(5));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.5K bytes - Viewed (0) -
src/debug/plan9obj/file.go
} // Open returns a new ReadSeeker reading the Plan 9 a.out section. func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } // A Symbol represents an entry in a Plan 9 a.out symbol table section. type Sym struct { Value uint64 Type rune Name string } /* * Plan 9 a.out reader */ // formatError is returned by some operations if the data does
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 7.2K bytes - Viewed (0)