Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for DST (0.02 sec)

  1. src/encoding/asn1/marshal.go

    	}
    	if t.tag >= 31 {
    		b |= 0x1f
    		dst = append(dst, b)
    		dst = appendBase128Int(dst, int64(t.tag))
    	} else {
    		b |= uint8(t.tag)
    		dst = append(dst, b)
    	}
    
    	if t.length >= 128 {
    		l := lengthLength(t.length)
    		dst = append(dst, 0x80|byte(l))
    		dst = appendLength(dst, t.length)
    	} else {
    		dst = append(dst, byte(t.length))
    	}
    
    	return dst
    }
    
    type bitStringEncoder BitString
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/encoding/base32/base32.go

    		lo := hi<<8 | uint32(src[si+4])
    
    		dst[di+0] = enc.encode[(hi>>27)&0x1F]
    		dst[di+1] = enc.encode[(hi>>22)&0x1F]
    		dst[di+2] = enc.encode[(hi>>17)&0x1F]
    		dst[di+3] = enc.encode[(hi>>12)&0x1F]
    		dst[di+4] = enc.encode[(hi>>7)&0x1F]
    		dst[di+5] = enc.encode[(hi>>2)&0x1F]
    		dst[di+6] = enc.encode[(lo>>5)&0x1F]
    		dst[di+7] = enc.encode[(lo)&0x1F]
    
    		si += 5
    		di += 8
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. src/crypto/des/cipher.go

    func (c *desCipher) Encrypt(dst, src []byte) {
    	if len(src) < BlockSize {
    		panic("crypto/des: input not full block")
    	}
    	if len(dst) < BlockSize {
    		panic("crypto/des: output not full block")
    	}
    	if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
    		panic("crypto/des: invalid buffer overlap")
    	}
    	cryptBlock(c.subkeys[:], dst, src, false)
    }
    
    func (c *desCipher) Decrypt(dst, src []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/encoding/hex/hex_test.go

    	for i, test := range encDecTests {
    		dst := make([]byte, EncodedLen(len(test.dec)))
    		n := Encode(dst, test.dec)
    		if n != len(dst) {
    			t.Errorf("#%d: bad return value: got: %d want: %d", i, n, len(dst))
    		}
    		if string(dst) != test.enc {
    			t.Errorf("#%d: got: %#v want: %#v", i, dst, test.enc)
    		}
    		dst = []byte("lead")
    		dst = AppendEncode(dst, test.dec)
    		if string(dst) != "lead"+test.enc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    	runTest(t, func(t framework.TestContext, src echo.Instance, dst echo.Instance, opt echo.CallOptions) {
    		if supportsL7(opt, src, dst) {
    			opt.Check = httpValidator
    		} else {
    			opt.Check = tcpValidator
    		}
    
    		if !dst.Config().HasServiceAddressedWaypointProxy() &&
    			!src.Config().HasServiceAddressedWaypointProxy() &&
    			(src.Config().Service != dst.Config().Service) &&
    			!dst.Config().HasSidecar() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  6. src/encoding/hex/hex.go

    // and returns the extended buffer.
    func AppendEncode(dst, src []byte) []byte {
    	n := EncodedLen(len(src))
    	dst = slices.Grow(dst, n)
    	Encode(dst[len(dst):][:n], src)
    	return dst[:len(dst)+n]
    }
    
    // ErrLength reports an attempt to decode an odd-length input
    // using [Decode] or [DecodeString].
    // The stream-based Decoder returns [io.ErrUnexpectedEOF] instead of ErrLength.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/runtime/mbarrier.go

    // See go.dev/issue/67401.
    //
    //go:linkname reflect_typedslicecopy reflect.typedslicecopy
    func reflect_typedslicecopy(elemType *_type, dst, src slice) int {
    	if !elemType.Pointers() {
    		return slicecopy(dst.array, dst.len, src.array, src.len, elemType.Size_)
    	}
    	return typedslicecopy(elemType, dst.array, dst.len, src.array, src.len)
    }
    
    // typedmemclr clears the typed memory at ptr with type typ. The
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. src/debug/elf/file.go

    	case f.Class == ELFCLASS64 && f.Machine == EM_AARCH64:
    		return f.applyRelocationsARM64(dst, rels)
    	case f.Class == ELFCLASS32 && f.Machine == EM_PPC:
    		return f.applyRelocationsPPC(dst, rels)
    	case f.Class == ELFCLASS64 && f.Machine == EM_PPC64:
    		return f.applyRelocationsPPC64(dst, rels)
    	case f.Class == ELFCLASS32 && f.Machine == EM_MIPS:
    		return f.applyRelocationsMIPS(dst, rels)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/util/ipvs_linux.go

    func toRealServer(dst *libipvs.Destination) (*RealServer, error) {
    	if dst == nil {
    		return nil, errors.New("ipvs destination should not be empty")
    	}
    	return &RealServer{
    		Address:      dst.Address,
    		Port:         dst.Port,
    		Weight:       dst.Weight,
    		ActiveConn:   dst.ActiveConnections,
    		InactiveConn: dst.InactiveConnections,
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/crypto/aes/gcm_s390x.go

    		}
    		siz &^= 0xf // align siz to 16-bytes
    		copy(srcbuf[:], src[:siz])
    		cryptBlocksGCM(g.block.function, g.block.key, dst[:siz], srcbuf[:siz], ctrbuf[:], cnt)
    		src = src[siz:]
    		dst = dst[siz:]
    	}
    	if len(src) > 0 {
    		var x [16]byte
    		g.block.Encrypt(x[:], cnt[:])
    		for i := range src {
    			dst[i] = src[i] ^ x[i]
    		}
    		cnt.inc()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top