- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 276 for buf1 (0.02 sec)
-
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
return hex.decodeHex().toResponseBody(mediaType) } fun exhaust(reader: Reader): String { val builder = StringBuilder() val buf = CharArray(10) var read: Int while (reader.read(buf).also { read = it } != -1) { builder.appendRange(buf, 0, read) } return builder.toString() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
} protected String buildThrowableMessage(final Throwable t) { final StringBuilder buf = new StringBuilder(100); Throwable current = t; while (current != null) { buf.append(current.getLocalizedMessage()).append(' '); current = current.getCause(); } return buf.toString(); } public static boolean isCheckboxEnabled(final String value) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.3K bytes - Viewed (0) -
src/bufio/example_test.go
w.Write(b) } w.Flush() // Output: 1 2 3 4 } // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer. func ExampleWriter_ReadFrom() { var buf bytes.Buffer writer := bufio.NewWriter(&buf) data := "Hello, world!\nThis is a ReadFrom example." reader := strings.NewReader(data) n, err := writer.ReadFrom(reader) if err != nil { fmt.Println("ReadFrom Error:", err) return
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Serialize `attrs` as a tensorflow::NameAttrList protocol buffer (into `buf`), // containing the op name and a map of its attributes. TF_CAPI_EXPORT extern void TFE_OpAttrsSerialize(const TFE_OpAttrs* attrs, TF_Buffer* buf, TF_Status* status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { out.write(buf, off, len); return true; } @Override public byte[] getResult() { return out.toByteArray();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
this.txn_buf = buffer; } /** * @return the txn_buf */ public byte[] releaseBuffer () { byte[] buf = this.txn_buf; this.txn_buf = null; return buf; } /** * @return the subCommand */ public final byte getSubCommand () { return this.subCommand; } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 9.2K bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
// Validates if Versioning with no excluded prefixes omits // ExcludedPrefixes tags v := Versioning{ Status: Enabled, } buf, err := xml.Marshal(v) if err != nil { t.Fatalf("Failed to marshal %v: %v", v, err) } str := string(buf) if strings.Contains(str, "ExcludedPrefixes") { t.Fatalf("XML shouldn't contain ExcludedPrefixes tag - %s", str) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 08 05:06:44 UTC 2022 - 8.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
ByteProcessor<byte[]> processor = new ByteProcessor<byte[]>() { int pos; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { System.arraycopy(buf, off, processedBytes, pos, len); pos += len; return true; } @Override public byte[] getResult() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/postpolicyform.go
// // Go stdlib doesn't support parsing JSON with duplicate // keys, so we need to use this technique to merge the // keys. func sanitizePolicy(r io.Reader) (io.Reader, error) { var buf bytes.Buffer e := json.NewEncoder(&buf) d := jstream.NewDecoder(r, 0).ObjectAsKVS().MaxDepth(10) sset := set.NewStringSet() for mv := range d.Stream() { var kvs jstream.KVS if mv.ValueType == jstream.Object {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0)