- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 84 for original (0.21 sec)
-
src/io/fs/fs.go
Type() FileMode // Info returns the FileInfo for the file or subdirectory described by the entry. // The returned FileInfo may be from the time of the original directory read // or from the time of the call to Info. If the file has been removed or renamed // since the directory read, Info may return an error satisfying errors.Is(err, ErrNotExist).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 15 21:21:41 UTC 2024 - 9.4K bytes - Viewed (0) -
src/hash/hash.go
// allows its internal state to be saved and used for additional processing // later, without having to re-write the data previously written to the hash. // The hash state may contain portions of the input in its original form, // which users are expected to handle for any possible security implications. // // Compatibility: Any future changes to hash or crypto packages will endeavor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 2.1K bytes - Viewed (0) -
src/compress/gzip/gzip.go
Header: Header{ OS: 255, // unknown }, w: w, level: level, compressor: compressor, } } // Reset discards the [Writer] z's state and makes it equivalent to the // result of its original state from [NewWriter] or [NewWriterLevel], but // writing to w instead. This permits reusing a [Writer] rather than // allocating a new one. func (z *Writer) Reset(w io.Writer) { z.init(w, z.level) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 6.2K bytes - Viewed (0) -
src/log/slog/record.go
return Record{ Time: t, Message: msg, Level: level, PC: pc, } } // Clone returns a copy of the record with no shared state. // The original record and the clone can both be modified // without interfering with each other. func (r Record) Clone() Record { r.back = slices.Clip(r.back) // prevent append from mutating shared array return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:30:56 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/distpack/archive.go
return nameLess(a.Files[i].Name, a.Files[j].Name) }) } // Clone returns a copy of the Archive. // Method calls like Add and Filter invoked on the copy do not affect the original, // nor do calls on the original affect the copy. func (a *Archive) Clone() *Archive { b := &Archive{ Files: make([]File, len(a.Files)), } copy(b.Files, a.Files) return b }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 17:37:52 UTC 2023 - 5.9K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
if cfw.debug { fmt.Fprintf(os.Stderr, "=-= writing counter segment header: %+v", cfw.csh) } if err := binary.Write(ws, binary.LittleEndian, cfw.csh); err != nil { return err } // ... and finally return to the original offset. if _, err := ws.Seek(off, io.SeekStart); err != nil { return fmt.Errorf("error seeking in patchSegmentHeader: %v", err) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_generic.go
b1, b6, b11, b12 = qr(b1, b6, b11, b12) b2, b7, b8, b13 = qr(b2, b7, b8, b13) b3, b4, b9, b14 = qr(b3, b4, b9, b14) } // Store block i back into b[*][i]. // Add b4..b11 back to the original key material, // like in ChaCha20, to avoid trivial invertibility. // There is no entropy in b0..b3 and b12..b15 // so we can skip the additions and save some time. b[0][i] = b0 b[1][i] = b1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:32:54 UTC 2023 - 6.3K bytes - Viewed (0) -
src/syscall/exec_libc2.go
if sys.Setctty { _, _, err1 = rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(sys.Ctty), uintptr(TIOCSCTTY), 0) if err1 != 0 { goto childerror } } // Restore original rlimit. if rlim != nil { rawSyscall(abi.FuncPCABI0(libc_setrlimit_trampoline), uintptr(RLIMIT_NOFILE), uintptr(unsafe.Pointer(rlim)), 0) } // Time to exec.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
src/text/template/template.go
// templates. The actual representation is not copied, but the name space of // associated templates is, so further calls to [Template.Parse] in the copy will add // templates to the copy but not to the original. Clone can be used to prepare // common templates and use them with variant definitions for other templates // by adding the variants after the clone is made. func (t *Template) Clone() (*Template, error) { nt := t.copy(nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 7.2K bytes - Viewed (0) -
src/runtime/time_fake.go
// First, lock to avoid interleaving writes. lock(&faketimeState.lock) // If the current fd doesn't match the fd of the previous write, // ensure that the timestamp is strictly greater. That way, we can // recover the original order even if we read the fds separately. t := faketimeState.lastfaketime if fd != faketimeState.lastfd { t++ faketimeState.lastfd = fd } if faketime > t { t = faketime }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:15:13 UTC 2024 - 2.5K bytes - Viewed (0)