Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for buf4 (0.04 sec)

  1. tools/proto/buf.yaml

    John Howard <******@****.***> 1646536079 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Mar 06 03:07:59 UTC 2022
    - 202 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(expected, buf2.toString());
        assertFullyRead(reader);
    
        // read in chunks to fixed CharBuffer
        reader = new CharSequenceReader(charSequence);
        buf2 = CharBuffer.allocate(5);
        builder = new StringBuilder();
        while (reader.read(buf2) != -1) {
          Java8Compatibility.flip(buf2);
          builder.append(buf2);
          Java8Compatibility.clear(buf2);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/syscall/ztypes_freebsd_arm.go

    	SizeofBpfZbufHeader = 0x20
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv uint32
    	Drop uint32
    }
    
    type BpfZbuf struct {
    	Bufa   *byte
    	Bufb   *byte
    	Buflen uint32
    }
    
    type BpfProgram struct {
    	Len   uint32
    	Insns *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    	K    uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  4. src/syscall/ztypes_freebsd_arm64.go

    	SizeofBpfZbufHeader = 0x20
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv uint32
    	Drop uint32
    }
    
    type BpfZbuf struct {
    	Bufa   *byte
    	Bufb   *byte
    	Buflen uint64
    }
    
    type BpfProgram struct {
    	Len       uint32
    	Pad_cgo_0 [4]byte
    	Insns     *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. src/net/http/cgi/child.go

    	if r.wroteCGIHeader {
    		return
    	}
    	r.wroteCGIHeader = true
    	fmt.Fprintf(r.bufw, "Status: %d %s\r\n", r.code, http.StatusText(r.code))
    	if _, hasType := r.header["Content-Type"]; !hasType {
    		r.header.Set("Content-Type", http.DetectContentType(p))
    	}
    	r.header.Write(r.bufw)
    	r.bufw.WriteString("\r\n")
    	r.bufw.Flush()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/syscall/ztypes_freebsd_386.go

    	SizeofBpfZbufHeader = 0x20
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv uint32
    	Drop uint32
    }
    
    type BpfZbuf struct {
    	Bufa   *byte
    	Bufb   *byte
    	Buflen uint32
    }
    
    type BpfProgram struct {
    	Len   uint32
    	Insns *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    	K    uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. src/syscall/ztypes_freebsd_riscv64.go

    	SizeofBpfZbufHeader = 0x20
    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv uint32
    	Drop uint32
    }
    
    type BpfZbuf struct {
    	Bufa   *byte
    	Bufb   *byte
    	Buflen uint64
    }
    
    type BpfProgram struct {
    	Len       uint32
    	Pad_cgo_0 [4]byte
    	Insns     *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. src/encoding/binary/varint_test.go

    	y, m := Varint(buf[0:n])
    	if x != y {
    		t.Errorf("Varint(%d): got %d", x, y)
    	}
    	if n != m {
    		t.Errorf("Varint(%d): got n = %d; want %d", x, m, n)
    	}
    
    	buf2 := []byte("prefix")
    	buf2 = AppendVarint(buf2, x)
    	if string(buf2) != "prefix"+string(buf[:n]) {
    		t.Errorf("AppendVarint(%d): got %q, want %q", x, buf2, "prefix"+string(buf[:n]))
    	}
    
    	y, err := ReadVarint(bytes.NewReader(buf))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 23:09:19 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. src/os/dir_plan9.go

    	defer d.mu.Unlock()
    
    	size := n
    	if size <= 0 {
    		size = 100
    		n = -1
    	}
    	for n != 0 {
    		// Refill the buffer if necessary.
    		if d.bufp >= d.nbuf {
    			nb, err := file.Read(d.buf[:])
    
    			// Update the buffer state before checking for errors.
    			d.bufp, d.nbuf = 0, nb
    
    			if err != nil {
    				if err == io.EOF {
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/internal/saferio/io.go

    	}
    
    	if n < chunk {
    		buf := make([]byte, n)
    		_, err := io.ReadFull(r, buf)
    		if err != nil {
    			return nil, err
    		}
    		return buf, nil
    	}
    
    	var buf []byte
    	buf1 := make([]byte, chunk)
    	for n > 0 {
    		next := n
    		if next > chunk {
    			next = chunk
    		}
    		_, err := io.ReadFull(r, buf1[:next])
    		if err != nil {
    			if len(buf) > 0 && err == io.EOF {
    				err = io.ErrUnexpectedEOF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top