Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for vbuf (0.13 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    }
    
    func FormatMessage(flags uint32, msgsrc uintptr, msgid uint32, langid uint32, buf []uint16, args *byte) (n uint32, err error) {
    	var _p0 *uint16
    	if len(buf) > 0 {
    		_p0 = &buf[0]
    	}
    	r0, _, e1 := syscall.Syscall9(procFormatMessageW.Addr(), 7, uintptr(flags), uintptr(msgsrc), uintptr(msgid), uintptr(langid), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(args)), 0, 0)
    	n = uint32(r0)
    	if n == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    			t.Errorf("socks5 proxy second read: unexpected address type %v", buf[4])
    			return
    		}
    		if _, err := io.ReadFull(s, buf[4:ipLen+6]); err != nil {
    			t.Errorf("socks5 proxy address read: %v", err)
    			return
    		}
    		ip := net.IP(buf[4 : ipLen+4])
    		port := binary.BigEndian.Uint16(buf[ipLen+4 : ipLen+6])
    		copy(buf[:3], []byte{5, 0, 0})
    		if _, err := s.Write(buf[:ipLen+6]); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/asm6.go

    func (ab *AsmBuf) PutInt32(v int32) {
    	ab.buf[ab.off+0] = byte(v)
    	ab.buf[ab.off+1] = byte(v >> 8)
    	ab.buf[ab.off+2] = byte(v >> 16)
    	ab.buf[ab.off+3] = byte(v >> 24)
    	ab.off += 4
    }
    
    // PutInt64 writes v into the buffer using little-endian encoding.
    func (ab *AsmBuf) PutInt64(v int64) {
    	ab.buf[ab.off+0] = byte(v)
    	ab.buf[ab.off+1] = byte(v >> 8)
    	ab.buf[ab.off+2] = byte(v >> 16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		setPartsCountHeaders(w, objInfo)
    	}
    
    	setHeadGetRespHeaders(w, r.Form)
    
    	var buf *bytebufferpool.ByteBuffer
    	if update && globalCacheConfig.MatchesSize(objInfo.Size) {
    		buf = bytebufferpool.Get()
    		defer bytebufferpool.Put(buf)
    	}
    
    	var iw io.Writer
    	iw = w
    	if buf != nil {
    		iw = io.MultiWriter(w, buf)
    	}
    
    	statusCodeWritten := false
    	httpWriter := xioutil.WriteOnClose(iw)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	}
    	putContent := buffer.String()
    
    	buf := bytes.NewReader([]byte(putContent))
    
    	objectName := "test-big-object"
    	// create HTTP request for object upload.
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buf.Len()), buf, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the HTTP request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

                                             target_oper_names, &new_handle);
      if (status->status.ok()) {
        char* buf = new char[new_handle.size() + 1];
        memcpy(buf, new_handle.c_str(), new_handle.size() + 1);
        *handle = buf;
      }
    }
    
    void TF_PRun(TF_DeprecatedSession* s, const char* handle,
                 // Input tensors
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    						// Same as stdlib http server code. Manually allocate stack
    						// trace buffer size to prevent excessively large logs
    						const size = 64 << 10
    						buf := make([]byte, size)
    						buf = buf[:runtime.Stack(buf, false)]
    						err = fmt.Errorf("%q stack:\n%s", err, buf)
    
    						t.Errorf("Expected no panic, but got: %v", err)
    					}
    				}()
    
    				// should not panic
    				rows[0].DeepCopy()
    			}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

                  sink.writeByte('x'.code)
                }
              } else {
                val buf = ByteArray(if (writeKind == WriteKind.SMALL_BUFFERS) 256 else 64 * 1024)
                Arrays.fill(buf, 'x'.code.toByte())
                var i = 0
                while (i < n) {
                  sink.write(buf, 0, Math.min(buf.size, n - i))
                  i += buf.size
                }
              }
            }
          }
        val response =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/proxier_test.go

    }
    
    func getRules(ipt *iptablestest.FakeIPTables, chain utiliptables.Chain) []*iptablestest.Rule {
    	var rules []*iptablestest.Rule
    
    	buf := bytes.NewBuffer(nil)
    	_ = ipt.SaveInto(utiliptables.TableNAT, buf)
    	_ = ipt.SaveInto(utiliptables.TableFilter, buf)
    	lines := strings.Split(buf.String(), "\n")
    	for _, l := range lines {
    		if !strings.HasPrefix(l, "-A ") {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    reset() throws java.io.IOException; public boolean markSupported(); } org/codehaus/plexus/util/StringOutputStream.class package org.codehaus.plexus.util; public synchronized class StringOutputStream extends java.io.OutputStream { private StringBuffer buf; public void StringOutputStream(); public void write(byte[]) throws java.io.IOException; public void write(byte[], int, int) throws java.io.IOException; public void write(int) throws java.io.IOException; public String toString(); } org/codehaus/ple...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
Back to top