- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 144 for remSign (0.14 sec)
-
src/internal/poll/sendfile_solaris.go
} dst := dstFD.Sysfd for remain > 0 { n := maxSendfileSize if int64(n) > remain { n = int(remain) } pos1 := pos n, err = syscall.Sendfile(dst, src, &pos1, n) if err == syscall.EAGAIN || err == syscall.EINTR { // partial write may have occurred n = int(pos1 - pos) } if n > 0 { pos += int64(n) written += int64(n) remain -= int64(n) continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoreadjusttyp_string.go
func (i scoreAdjustTyp) String() string { var b bytes.Buffer remain := uint64(i) seen := false for k, v := range _scoreAdjustTyp_value { x := _scoreAdjustTyp_name[_scoreAdjustTyp_index[k]:_scoreAdjustTyp_index[k+1]] if v == 0 { if i == 0 { b.WriteString(x) return b.String() } continue } if (v & remain) == v { remain &^= v
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 21:13:01 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeswitch.input
*/ package p func f() { var x interface{} switch x.(type) { // should remain the same } switch (x.(type)) { // should become: switch x.(type) { } switch x.(type) { // should remain the same case int: } switch (x.(type)) { // should become: switch x.(type) { case int: } switch x.(type) { // should remain the same case []int: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 15 17:17:30 UTC 2022 - 1.4K bytes - Viewed (0) -
src/internal/poll/copy_file_range_linux.go
const maxCopyFileRangeRound = 1 << 30 // CopyFileRange copies at most remain bytes of data from src to dst, using // the copy_file_range system call. dst and src must refer to regular files. func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err error) { if !isKernelVersionGE53() { return 0, false, nil } for remain > 0 { max := remain if max > maxCopyFileRangeRound { max = maxCopyFileRangeRound }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 17:40:10 UTC 2024 - 3.9K bytes - Viewed (0) -
src/crypto/cipher/ctr.go
ctr: bytes.Clone(iv), out: make([]byte, 0, bufSize), outUsed: 0, } } func (x *ctr) refill() { remain := len(x.out) - x.outUsed copy(x.out, x.out[x.outUsed:]) x.out = x.out[:cap(x.out)] bs := x.b.BlockSize() for remain <= len(x.out)-bs { x.b.Encrypt(x.out[remain:], x.ctr) remain += bs // Increment counter for i := len(x.ctr) - 1; i >= 0; i-- { x.ctr[i]++ if x.ctr[i] != 0 { break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 2.2K bytes - Viewed (0) -
src/net/splice_linux.go
// // If spliceFrom returns handled == false, it has performed no work. func spliceFrom(c *netFD, r io.Reader) (written int64, err error, handled bool) { var remain int64 = 1<<63 - 1 // by default, copy until EOF lr, ok := r.(*io.LimitedReader) if ok { remain, r = lr.N, lr.R if remain <= 0 { return 0, nil, true } } var s *netFD switch v := r.(type) { case *TCPConn: s = v.fd case tcpConnWithoutWriteTo:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 1.7K bytes - Viewed (0) -
src/syscall/net.go
package syscall // A RawConn is a raw network connection. type RawConn interface { // Control invokes f on the underlying connection's file // descriptor or handle. // The file descriptor fd is guaranteed to remain valid while // f executes but not after f returns. Control(f func(fd uintptr)) error // Read invokes f on the underlying connection's file // descriptor or handle; f is expected to try to read from the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 27 16:36:34 UTC 2018 - 1.2K bytes - Viewed (0) -
src/internal/poll/splice_linux.go
if err != nil { return 0, false, err } defer putPipe(p) var inPipe, n int for err == nil && remain > 0 { max := maxSpliceSize if int64(max) > remain { max = int(remain) } inPipe, err = spliceDrain(p.wfd, src, max) // The operation is considered handled if splice returns no // error, or an error other than EINVAL. An EINVAL means the // kernel does not support splice for the socket type of src.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 7.6K bytes - Viewed (0) -
src/go/doc/testdata/error1.1.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // In struct types, an embedded error must only be visible // if AllDecls is set. error } // type T0 struct { ExportedField interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 440 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/doc.go
// // lostcancel: check cancel func returned by context.WithCancel is called // // The cancellation function returned by context.WithCancel, WithTimeout, // and WithDeadline must be called or the new context will remain live // until its parent context is cancelled. // (The background context is never cancelled.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 632 bytes - Viewed (0)