/dports/databases/py-cassandra-driver/cassandra-driver-3.18.0/cassandra/ |
H A D | cqltypes.py | 235 if byts is None: 258 return byts 394 return UUID(bytes=byts) 424 return int8_pack(byts) 457 return float_pack(byts) 481 return int64_pack(byts) 493 return int32_pack(byts) 513 if len(byts) == 16: 838 if p == len(byts): 1000 if not byts: [all …]
|
/dports/sysutils/siegfried/siegfried-1.9.1/pkg/loc/ |
H A D | parse.go | 39 for ii, vv := range byts { 126 byts = append(byts, []byte{}) 132 if len(byts[idx]) > 0 { 134 byts = append(byts, []byte{}) 144 byts[idx] = append(byts[idx], '0', h[i+1]) 146 byts[idx] = append(byts[idx], h[i], '0') 150 byts = append(byts, []byte{}) 159 byts[idx] = append(byts[idx], h[i], h[i+1]) 162 for i, s := range byts { 167 byts[i] = byt [all …]
|
/dports/sysutils/siegfried/siegfried-1.9.1/pkg/reader/ |
H A D | droid.go | 145 byts []byte 149 byts, err = dnp.buf.ReadBytes('\n') 154 sigs = append(sigs, string(byts)) 156 sigs = append(sigs, string(byts)) 158 if !bytes.Contains(byts, []byte(": ")) { 163 return dnp, dnp.setPeek(byts) 167 byts, err := dnp.buf.ReadBytes('\n') 172 dnp.err = dnp.setPeek(byts) 176 idx := bytes.LastIndex(byts, []byte{','}) 184 fn = string(byts[:idx]) [all …]
|
H A D | yaml.go | 46 byts, err := buf.ReadBytes('\n') 50 if bytes.Equal(byts, []byte("---\n")) { 54 if bytes.HasPrefix(byts, []byte(" - ")) { 56 byts = byts[4:] 60 split := bytes.SplitN(byts, []byte(":"), 2)
|
/dports/lang/slib/slib-3b6/ |
H A D | bytenumb.scm | 197 (byte-set! byts 1 #x80) 198 byts) 211 (byte-set! byts 1 (bitwise-if #x80 (ash scl 7) (byte-ref byts 1))) 213 byts) 216 (cond ((zero? flt) (if S (byte-set! byts 0 #x80)) byts) 221 byts) 255 byts) 268 (byte-set! byts 1 (bitwise-if #xF0 (ash scl 4) (byte-ref byts 1))) 270 byts) 273 (cond ((zero? flt) (if S (byte-set! byts 0 #x80)) byts) [all …]
|
H A D | byte.scm | 197 (byts (make-bytes len)) 199 (apply subbytes-read! byts 0 n port) 200 (apply subbytes-read! byts (- n) 0 port)))) 202 byts 204 (subbytes byts 0 cnt) 205 (subbytes byts (- len cnt) len)))))
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/mobi/ |
H A D | utils.py | 111 byts = bytearray() 116 byts.append(b) 120 byts.reverse() 121 return bytes(byts) 134 byts = bytearray() 144 for byte in byts: 289 byts = bytes(byts) 292 byts = byts[consumed:] 297 byts = byts[consumed2:] 302 byts = byts[1:] [all …]
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/mobi/debug/ |
H A D | __init__.py | 10 def format_bytes(byts): argument 11 byts = bytearray(byts) 12 byts = [hex(b)[2:] for b in byts] 13 return ' '.join(byts)
|
H A D | mobi6.py | 615 if len(byts): 617 byts = byts[consumed:] 625 byts, a = self.interpret_periodical(tbs_type, byts, 633 if byts: 648 while byts: 650 byts = byts[consumed:] 688 return byts 692 orig = byts 694 byts = byts[consumed:] 719 ssi, byts = read_starting_section(byts) [all …]
|
/dports/sysutils/siegfried/siegfried-1.9.1/internal/bytematcher/frames/ |
H A D | sequencer_test.go | 12 byts := sequencer(TestFrames[0]) 13 if len(byts) != 1 { 16 if len(byts[0]) != 4 { 19 byts = sequencer(TestFrames[2]) 20 if len(byts) != 1 { 23 if len(byts[0]) != 9 {
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/cretz/bine/torutil/ |
H A D | key.go | 70 byts, err := serviceIDEncoding.DecodeString(strings.ToUpper(id)) 73 } else if len(byts) != 35 { 75 } else if byts[34] != 0x03 { 79 key := ed25519.PublicKey(byts[:32]) 81 if byts[32] != checkSum[0] || byts[33] != checkSum[1] {
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/cretz/bine/torutil/ |
H A D | key.go | 70 byts, err := serviceIDEncoding.DecodeString(strings.ToUpper(id)) 73 } else if len(byts) != 35 { 75 } else if byts[34] != 0x03 { 79 key := ed25519.PublicKey(byts[:32]) 81 if byts[32] != checkSum[0] || byts[33] != checkSum[1] {
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/mobi/reader/ |
H A D | index.py | 42 def format_bytes(byts): argument 43 byts = bytearray(byts) 44 byts = [hex(b)[2:] for b in byts] 45 return ' '.join(byts) 105 byts = raw[pos:] 106 r = format_bytes(byts) 184 byts, consumed = decint(data) 186 values.append(byts) 192 byts, consumed = decint(data) 195 values.append(byts)
|
/dports/misc/py-mffpy/mffpy-0.6.3/mffpy/tests/ |
H A D | test_header_block.py | 43 byts = fp.read(header.header_size) 44 return header, byts 60 header, byts = example_header_bytes 65 assert len(output_byts) == len(byts) 66 assert output_byts == byts
|
/dports/sysutils/istio/istio-1.6.7/mixer/tools/mixgen/cmd/ |
H A D | adapter.go | 99 var byts []byte 105 byts, err = ioutil.ReadFile(inPath) 110 if err = isFds(byts); err != nil { 120 Config: base64.StdEncoding.EncodeToString(byts), 150 func isFds(byts []byte) error { 152 err := proto.Unmarshal(byts, fds)
|
H A D | template.go | 74 byts, err := ioutil.ReadFile(inPath) 80 if err = isFds(byts); err != nil { 87 Descriptor: base64.StdEncoding.EncodeToString(byts),
|
/dports/textproc/py-ftfy/ftfy-6.0.3/ftfy/ |
H A D | fixes.py | 413 def restore_byte_a0(byts): argument 427 byts = A_GRAVE_WORD_RE.sub(b"\xc3\xa0 ", byts) 433 return ALTERED_UTF8_RE.sub(replacement, byts) 436 def replace_lossy_sequences(byts): argument 472 return LOSSY_UTF8_RE.sub("\ufffd".encode("utf-8"), byts)
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/cretz/bine/tests/ |
H A D | tor_isolate_socks_auth_test.go | 42 byts := httpGet(ctx, client, "https://check.torproject.org/api/ip") 43 ctx.Debugf("Read bytes: %v", string(byts)) 49 byts = httpGet(ctx, client, "https://check.torproject.org/api/ip") 50 ctx.Debugf("Read bytes: %v", string(byts))
|
H A D | tor_listen_test.go | 25 byts := httpGet(ctx, client, "http://"+onion.ID+".onion/test") 26 ctx.Require.Equal("Test Content", string(byts)) 42 byts := httpGet(ctx, client, "http://"+onion.ID+".onion/test") 43 ctx.Require.Equal("Test Content", string(byts))
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/cretz/bine/tests/ |
H A D | tor_isolate_socks_auth_test.go | 42 byts := httpGet(ctx, client, "https://check.torproject.org/api/ip") 43 ctx.Debugf("Read bytes: %v", string(byts)) 49 byts = httpGet(ctx, client, "https://check.torproject.org/api/ip") 50 ctx.Debugf("Read bytes: %v", string(byts))
|
H A D | tor_listen_test.go | 25 byts := httpGet(ctx, client, "http://"+onion.ID+".onion/test") 26 ctx.Require.Equal("Test Content", string(byts)) 42 byts := httpGet(ctx, client, "http://"+onion.ID+".onion/test") 43 ctx.Require.Equal("Test Content", string(byts))
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/cretz/bine/control/ |
H A D | cmd_onion.go | 82 byts, err := base64.StdEncoding.DecodeString(blob) 86 rsaKey, err := x509.ParsePKCS1PrivateKey(byts) 106 byts, err := base64.StdEncoding.DecodeString(blob) 110 return &ED25519Key{ed25519.PrivateKey(byts).KeyPair()}, nil
|
H A D | cmd_authenticate.go | 103 func (c *Conn) sendAuthenticate(byts []byte) error { 104 if len(byts) == 0 { 107 return c.sendRequestIgnoreResponse("AUTHENTICATE %v", hex.EncodeToString(byts))
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/cretz/bine/control/ |
H A D | cmd_onion.go | 82 byts, err := base64.StdEncoding.DecodeString(blob) 86 rsaKey, err := x509.ParsePKCS1PrivateKey(byts) 106 byts, err := base64.StdEncoding.DecodeString(blob) 110 return &ED25519Key{ed25519.PrivateKey(byts).KeyPair()}, nil
|
/dports/misc/py-mffpy/mffpy-0.6.3/mffpy/ |
H A D | bin_writer.py | 143 byts = self.stream.read() 144 assert isinstance(byts, bytes) 146 num_written = fo.write(byts) 147 assert num_written == len(byts), f"""
|