- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 958 for Bytes (0.02 sec)
-
istioctl/pkg/writer/compare/listener.go
package compare import ( "bytes" "fmt" "github.com/pmezard/go-difflib/difflib" // Force import protos _ "istio.io/istio/pilot/pkg/xds/filters" "istio.io/istio/pkg/util/protomarshal" ) // ListenerDiff prints a diff between Istiod and Envoy listeners to the passed writer func (c *Comparator) ListenerDiff() error { envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 2K bytes - Viewed (0) -
src/bufio/example_test.go
return } if err = writer.Flush(); err != nil { fmt.Println("Flush Error:", err) return } fmt.Println("Bytes written:", n) fmt.Println("Buffer contents:", buf.String()) // Output: // Bytes written: 41 // Buffer contents: Hello, world! // This is a ReadFrom example. } // The simplest use of a Scanner, to read standard input as a set of lines. func ExampleScanner_lines() {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/bucket-metadata.go
if err = objectKey.Unseal(extKey, sealedKey, crypto.S3.String(), bucket, ""); err != nil { return nil, err } outbuf := bytes.NewBuffer(nil) _, err = sio.Decrypt(outbuf, bytes.NewBuffer(input), sio.Config{Key: objectKey[:], MinVersion: sio.Version20, CipherSuites: fips.DARECiphers()}) return outbuf.Bytes(), err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 18.2K bytes - Viewed (0) -
docs/debugging/healing-bin/main.go
r, err := file.Open() if err != nil { return err } b, err := io.ReadAll(r) if err != nil { return err } buf := bytes.NewBuffer(nil) if _, err = msgp.CopyToJSON(buf, bytes.NewReader(b)); err != nil { return err } dec := json.NewDecoder(buf) // Use number to preserve integers. dec.UseNumber() var htr map[string]interface{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
/** * {@literal byte}の配列をオブジェクトに変換します。 * * @param bytes * デシリアライズする配列。{@literal null}や空配列であってはいけません * @return 復元したオブジェクト */ public static Object fromBinaryToObject(final byte[] bytes) { assertArgumentNotEmpty("bytes", bytes); try { final ByteArrayInputStream bais = new ByteArrayInputStream(bytes); final ObjectInputStream ois = new ObjectInputStream(bais);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input)); for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) { assertEquals( HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)), new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input)); } try { int maxSize = digest.getDigestLength();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs_src/request_files/tutorial001_03_an_py39.py
from typing import Annotated from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file( file: Annotated[UploadFile, File(description="A file read as UploadFile")], ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 421 bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt
mutablePos += bytesWritten mutableByteCount -= bytesWritten } } /** * Copy [byteCount] bytes from the file at [pos] into `sink`. It is the * caller's responsibility to make sure there are sufficient bytes to read: if there aren't this * method throws an `EOFException`. */ fun read( pos: Long, sink: Buffer, byteCount: Long, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
* {@link ByteOrder#LITTLE_ENDIAN}, to which a BYTES-long byte representation of this instance * is written. In the process increases the position of {@link ByteBuffer} by BYTES. */ void writeTo(ByteBuffer buffer) { checkNotNull(buffer); checkArgument( buffer.remaining() >= BYTES,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0)