- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 304 for buf1 (0.03 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
InputStream errorStream = connection.getErrorStream(); if (errorStream != null && errorStream.available() != 0) { int count; byte[] buf = new byte[1024]; while ((count = errorStream.read(buf, 0, 1024)) != -1); } String authHeader; if (response == HTTP_UNAUTHORIZED) { authHeader = "WWW-Authenticate";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
cmd/post-policy_test.go
"policy": encodedPolicy, "signature": signature, } for key, value := range formInputData { formData[key] = value } // Create the multipart form. var buf bytes.Buffer w := multipart.NewWriter(&buf) // Set the normal formData for k, v := range formData { w.WriteField(k, v) } // Set the File formData writer, err := w.CreateFormFile("file", "upload.txt") if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
final StringBuilder buf = new StringBuilder(256); buf.append("propertyName=").append(propertyName).append(",propertyType=").append(propertyType.getName()).append(",readMethod=") .append(readMethod != null ? readMethod.getName() : "null").append(",writeMethod=") .append(writeMethod != null ? writeMethod.getName() : "null"); return new String(buf); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0) -
android/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) -
tensorflow/c/eager/c_api.cc
// the device? TF_ManagedBuffer* buf = new TF_ManagedBuffer(data, len, deallocator, deallocator_arg, /*owns_memory=*/false); tensorflow::Tensor t(static_cast<tensorflow::DataType>(dtype), tensorflow::TensorShape(dimvec), buf); buf->Unref(); return tensorflow::wrap(tensorflow::TensorHandle::CreateLocalHandle(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0) -
cmd/storage-datatypes.go
type RenameDataInlineHandlerParams struct { RenameDataHandlerParams `msg:"p"` } func newRenameDataInlineHandlerParams() *RenameDataInlineHandlerParams { buf := grid.GetByteBufferCap(32 + 16<<10) return &RenameDataInlineHandlerParams{RenameDataHandlerParams{FI: FileInfo{Data: buf[:0]}}} } // Recycle will reuse the memory allocated for the FileInfo data. func (r *RenameDataInlineHandlerParams) Recycle() { if r == nil { return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
// gap->num => "num" gap->gap => "" StringBuilder buf = new StringBuilder(39); boolean lastWasNumber = false; for (int i = 0; i < hextets.length; i++) { boolean thisIsNumber = hextets[i] >= 0; if (thisIsNumber) { if (lastWasNumber) { buf.append(':'); } buf.append(Integer.toHexString(hextets[i])); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
lockServers = make([]*lockServer, numberOfNodes) ) func getLockArgs(r *http.Request) (args LockArgs, err error) { buf, err := io.ReadAll(r.Body) if err != nil { return args, err } _, err = args.UnmarshalMsg(buf) return args, err } type lockServerHandler struct { lsrv *lockServer } func (lh *lockServerHandler) writeErrorResponse(w http.ResponseWriter, err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0) -
internal/grid/connection.go
lastSetDeadline = now } _, err := buf.WriteTo(conn) if err != nil { if !xnet.IsNetworkOrHostDown(err, true) { gridLogIf(ctx, fmt.Errorf("ws write: %w", err)) } return false } if buf.Cap() > writeBufferSize*4 { // Reset buffer if it gets too big, so we don't keep it around. buf = bytes.Buffer{} } buf.Reset() return true } for {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.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 May 17 13:43:42 UTC 2020 - 13.2K bytes - Viewed (0)