- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 706 for remSign (0.2 sec)
-
test/64bit.go
var zero Int64 quoSign := +1 remSign := +1 if a.Cmp(zero) < 0 { quoSign = -1 remSign = -1 a = a.Neg() } if b.Cmp(zero) < 0 { quoSign = -quoSign b = b.Neg() } q, r := a.Uint64().DivMod(b.Uint64()) quo = q.Int64() rem = r.Int64() if quoSign < 0 { quo = quo.Neg() } if remSign < 0 { rem = rem.Neg() } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 30 19:21:08 UTC 2013 - 24.8K bytes - Viewed (0) -
src/crypto/cipher/ofb.go
return x } func (x *ofb) refill() { bs := x.b.BlockSize() remain := len(x.out) - x.outUsed if remain > x.outUsed { return } copy(x.out, x.out[x.outUsed:]) x.out = x.out[:cap(x.out)] for remain < len(x.out)-bs { x.b.Encrypt(x.cipher, x.cipher) copy(x.out[remain:], x.cipher) remain += bs } x.out = x.out[:remain] x.outUsed = 0 } func (x *ofb) XORKeyStream(dst, src []byte) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 1.6K bytes - Viewed (0) -
src/internal/poll/sendfile_linux.go
if err := dstFD.pd.prepareWrite(dstFD.isFile); err != nil { return 0, err, false } dst := dstFD.Sysfd for remain > 0 { n := maxSendfileSize if int64(n) > remain { n = int(remain) } n, err = syscall.Sendfile(dst, src, nil, n) if n > 0 { written += int64(n) remain -= int64(n) continue } else if err != syscall.EAGAIN && err != syscall.EINTR { // This includes syscall.ENOSYS (no kernel
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_gc_test.go
realRemain, err := fakeRuntime.ListPodSandbox(ctx, nil) assert.NoError(t, err) assert.Len(t, realRemain, len(test.remain)) for _, remain := range test.remain { resp, err := fakeRuntime.PodSandboxStatus(ctx, fakeSandboxes[remain].Id, false) assert.NoError(t, err) assert.Equal(t, &fakeSandboxes[remain].PodSandboxStatus, resp.Status) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20.6K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/cspropbits_string.go
func (i CSPropBits) String() string { var b bytes.Buffer remain := uint64(i) seen := false for k, v := range _CSPropBits_value { x := _CSPropBits_name[_CSPropBits_index[k]:_CSPropBits_index[k+1]] if v == 0 { if i == 0 { b.WriteString(x) return b.String() } continue } if (v & remain) == v { remain &^= v x := _CSPropBits_name[_CSPropBits_index[k]:_CSPropBits_index[k+1]]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 23:03:03 UTC 2023 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* <ul> * <li>The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain * the same. * <li>The unreserved characters ".", "-", "~", and "_" remain the same. * <li>The general delimiters "@" and ":" remain the same. * <li>The subdelimiters "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", and "=" remain * the same. * <li>The space character " " is converted into %20.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 28 15:04:33 UTC 2021 - 6.9K bytes - Viewed (0) -
src/os/zero_copy_linux.go
} written, handled, err = pollSplice(&f.pfd, pfd, remain) if lr != nil { lr.N = remain - written } return written, handled, wrapSyscallError("splice", err) } func (f *File) copyFileRange(r io.Reader) (written int64, handled bool, err error) { var ( remain int64 lr *io.LimitedReader ) if lr, r, remain = tryLimitedReader(r); remain <= 0 { return 0, true, nil } var src *File
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/gofmt/testdata/typeswitch.golden
*/ 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/net/sendfile_linux.go
// // if handled == false, sendFile performed no work. func sendFile(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 } } f, ok := r.(*os.File) if !ok { return 0, nil, false } sc, err := f.SyscallConn()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.2K bytes - Viewed (0) -
src/net/sendfile_unix_alt.go
// loop back to the beginning ad nauseam until it's sent // exactly the number of bytes told to. As such, we need to // know exactly how many bytes to send. var remain int64 = 0 lr, ok := r.(*io.LimitedReader) if ok { remain, r = lr.N, lr.R if remain <= 0 { return 0, nil, true } } // r might be an *os.File or an os.fileWithoutWriteTo.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 2.3K bytes - Viewed (0)