- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,541 for bytes (0.11 sec)
-
docs/pt/docs/tutorial/request-files.md
* `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo. * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo. * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo. * Por exemplo, `await myfile.seek(0)` irá para o início do arquivo.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 19:52:32 UTC 2024 - 7.8K bytes - Viewed (0) -
internal/kms/secret-key.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
/** * * @param str * @return the string as bytes (ASCII) */ public static byte[] getASCIIBytes ( String str ) { return getBytes(str, ASCII_ENCODING); } /** * @param str * @param config * @return the string as bytes */ public static byte[] getOEMBytes ( String str, Configuration config ) { if ( str == null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds_test.go
assert.NoError(t, err) util.CompareContent(t, gotOut.Bytes(), "testdata/ecds/output.txt") } func TestPrintEcdsYaml(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/ecds/configdump.json") cw.Prime(cd) err := cw.PrintEcds("yaml") assert.NoError(t, err) util.CompareContent(t, gotOut.Bytes(), "testdata/ecds/output.yaml") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Dec 13 01:08:07 UTC 2022 - 1.9K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
src io.Reader skipLen int64 expected string }{ {bytes.NewBuffer([]byte("")), 0, ""}, {bytes.NewBuffer([]byte("")), 1, ""}, {bytes.NewBuffer([]byte("abc")), 0, "abc"}, {bytes.NewBuffer([]byte("abc")), 1, "bc"}, {bytes.NewBuffer([]byte("abc")), 2, "c"}, {bytes.NewBuffer([]byte("abc")), 3, ""}, {bytes.NewBuffer([]byte("abc")), 4, ""}, } for i, testCase := range testCases {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
val body = body("") assertThat(body.bytes().size).isEqualTo(0) } @Test fun bytesSeesBom() { val body = body("efbbbf68656c6c6f") val bytes = body.bytes() assertThat(bytes[0] and 0xff).isEqualTo(0xef) assertThat(bytes[1] and 0xff).isEqualTo(0xbb) assertThat(bytes[2] and 0xff).isEqualTo(0xbf) assertThat(String(bytes, 3, 5, StandardCharsets.UTF_8)).isEqualTo("hello") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0) -
internal/store/queuestore.go
return err } } path := filepath.Join(store.directory, key.String()) if key.Compress { err = os.WriteFile(path, s2.Encode(nil, buf.Bytes()), os.FileMode(0o770)) } else { err = os.WriteFile(path, buf.Bytes(), os.FileMode(0o770)) } buf.Reset() if err != nil { return err } // Increment the item count. store.entries[key.String()] = time.Now().UnixNano()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
internal/crypto/key.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:28:10 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Base64.java
* Base-64 encodes the supplied block of data. Line wrapping is not * applied on output. * * @param bytes The block of data that is to be Base-64 encoded. * @return A <code>String</code> containing the encoded data. */ public static String encode(byte[] bytes) { int length = bytes.length; if (length == 0) return ""; StringBuffer buffer =
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
byte[] bytes = HashTestUtils.ascii(input); Checksum checksum = supplier.get(); checksum.update(bytes, 0, bytes.length); long value = checksum.getValue(); String toString = "name"; HashFunction func = new ChecksumHashFunction(supplier, 32, toString); assertEquals(toString, func.toString()); assertEquals(value, func.hashBytes(bytes).padToLong()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 30 14:33:12 UTC 2018 - 3.1K bytes - Viewed (0)