- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 103 for net_len (0.21 sec)
-
common/scripts/kind_provisioner.sh
from ipaddress import ip_network, IPv6Network; from itertools import islice; net = ip_network('$CIDR') net_bits = 128 if type(net) == IPv6Network else 32; net_len = pow(2, net_bits - net.prefixlen) start, end = int(net_len / 4 * 3), net_len if net_len > 2000: start, end = 1000, 2000 [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)] EOF }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 19:12:55 UTC 2024 - 17.3K bytes - Viewed (0) -
src/crypto/aes/gcm_ppc64x.s
VXOR V30, V29, V22; \ VADDUWM V30, V31, V30 // Load the keys to be used for // encryption based on key_len. // Keys are in VS0 - VS14 // depending on key_len. // Valid keys sizes are verified // here. CR2 is set and used // throughout to check key_len. #define LOAD_KEYS(blk_key, key_len) \ MOVD $16, R16; \ MOVD $32, R17; \ MOVD $48, R18; \ MOVD $64, R19; \ LXVD2X (blk_key)(R0), VS0; \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 27.1K bytes - Viewed (0) -
cmd/metacache-set_gen.go
Anis Eleuch <******@****.***> 1710879792 +0100
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 19 20:23:12 UTC 2024 - 13.8K bytes - Viewed (0) -
src/syscall/syscall_aix.go
} func (sa *RawSockaddrUnix) setLen(n int) { sa.Len = uint8(3 + n) // 2 for Family, Len; 1 for NUL. } func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) { name := sa.Name n := len(name) if n > len(sa.raw.Path) { return nil, 0, EINVAL } sa.raw.Family = AF_UNIX sa.raw.setLen(n) for i := 0; i < n; i++ { sa.raw.Path[i] = uint8(name[i]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 17.9K bytes - Viewed (0) -
src/runtime/slice.go
// // A new backing store is allocated with space for at least newLen elements. // Existing entries [0, oldLen) are copied over to the new backing store. // Added entries [oldLen, newLen) are not initialized by growslice // (although for pointer-containing element types, they are zeroed). They // must be initialized by the caller. // Trailing entries [newLen, newCap) are zeroed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
src/crypto/internal/boring/goboringcrypto.h
}; int _goboringcrypto_RSA_encrypt(GO_RSA*, size_t *out_len, uint8_t *out, size_t max_out, const uint8_t *in, size_t in_len, int padding); int _goboringcrypto_RSA_decrypt(GO_RSA*, size_t *out_len, uint8_t *out, size_t max_out, const uint8_t *in, size_t in_len, int padding); int _goboringcrypto_RSA_sign(int hash_nid, const uint8_t* in, unsigned int in_len, uint8_t *out, unsigned int *out_len, GO_RSA*);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 14.1K bytes - Viewed (0) -
src/crypto/internal/boring/aes.go
const uint8_t *nonce, size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *ad, size_t ad_len) { size_t out_len; int ok = _goboringcrypto_EVP_AEAD_CTX_seal(ctx, out, &out_len, exp_out_len, nonce, nonce_len, in, in_len, ad, ad_len); if (out_len != exp_out_len) { return 0; } return ok; }; int EVP_AEAD_CTX_open_wrapper(const GO_EVP_AEAD_CTX *ctx, uint8_t *out,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 10.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
num := ir.NewUnaryExpr(base.Pos, ir.OLEN, l2) // newLen := oldLen + num newLen := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT]) nodes.Append(ir.NewAssignStmt(base.Pos, newLen, ir.NewBinaryExpr(base.Pos, ir.OADD, oldLen, num))) // if uint(newLen) <= uint(oldCap) nif := ir.NewIfStmt(base.Pos, nil, nil, nil) nuint := typecheck.Conv(newLen, types.Types[types.TUINT])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
// rest to ssagen. // // For race detector, expand append(src, a [, b]* ) to // // init { // s := src // const argc = len(args) - 1 // newLen := s.len + argc // if uint(newLen) <= uint(s.cap) { // s = s[:newLen] // } else { // s = growslice(s.ptr, newLen, s.cap, argc, elemType) // } // s[s.len - argc] = a // s[s.len - argc + 1] = b // ... // } // s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
func (s *emitState) openMetaFile(metaHash [16]byte, metaLen uint64) error { // Open meta-outfile for reading to see if it exists. fn := fmt.Sprintf("%s.%x", coverage.MetaFilePref, metaHash) s.mfname = filepath.Join(s.outdir, fn) fi, err := os.Stat(s.mfname) if err != nil || fi.Size() != int64(metaLen) { // We need a new meta-file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0)