Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 329 for vbuf (0.04 sec)

  1. android/guava/src/com/google/common/io/CharStreams.java

          }
        }
    
        checkNotNull(from);
        checkNotNull(to);
        long total = 0;
        CharBuffer buf = createBuffer();
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. src/compress/flate/inflate.go

    	if rr, ok := r.(Reader); ok {
    		f.rBuf = nil
    		f.r = rr
    		return
    	}
    	// Reuse rBuf if possible. Invariant: rBuf is always created (and owned) by decompressor.
    	if f.rBuf != nil {
    		f.rBuf.Reset(r)
    	} else {
    		// bufio.NewReader will not return r, as r does not implement flate.Reader, so it is not bufio.Reader.
    		f.rBuf = bufio.NewReader(r)
    	}
    	f.r = f.rBuf
    }
    
    func fixedHuffmanDecoderInit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/registry/value.go

    // Get*Value function instead.
    func (k Key) GetValue(name string, buf []byte) (n int, valtype uint32, err error) {
    	pname, err := syscall.UTF16PtrFromString(name)
    	if err != nil {
    		return 0, 0, err
    	}
    	var pbuf *byte
    	if len(buf) > 0 {
    		pbuf = (*byte)(unsafe.Pointer(&buf[0]))
    	}
    	l := uint32(len(buf))
    	err = syscall.RegQueryValueEx(syscall.Handle(k), pname, nil, &valtype, pbuf, &l)
    	if err != nil {
    		return int(l), valtype, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. src/strconv/quote.go

    		return utf8.AppendRune(buf, r)
    	}
    	switch r {
    	case '\a':
    		buf = append(buf, `\a`...)
    	case '\b':
    		buf = append(buf, `\b`...)
    	case '\f':
    		buf = append(buf, `\f`...)
    	case '\n':
    		buf = append(buf, `\n`...)
    	case '\r':
    		buf = append(buf, `\r`...)
    	case '\t':
    		buf = append(buf, `\t`...)
    	case '\v':
    		buf = append(buf, `\v`...)
    	default:
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharStreams.java

          }
        }
    
        checkNotNull(from);
        checkNotNull(to);
        long total = 0;
        CharBuffer buf = createBuffer();
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(-1, empty.read());
      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(-1, empty.read());
      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_aix.go

    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/syscall/syscall_solaris.go

    	raw    RawSockaddrDatalink
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/go/printer/testdata/expressions.input

    	_ = f(a+b)
    	_ = f(a+b+c)
    	_ = f(a+b*c)
    	_ = f(a+(b*c))
    	_ = f(1<<x-1, 1<<x-2)
    
    	_ = 1<<d.logWindowSize-1
    
    	buf = make(x, 2*cap(b.buf) + n)
    
    	dst[i*3+2] = dbuf[0]<<2
    	dst[i*3+2] = dbuf[0]<<2 | dbuf[1]>>4
    
    	b.buf = b.buf[0:b.off+m+n]
    	b.buf = b.buf[0:b.off+m*n]
    	f(b.buf[0:b.off+m+n])
    
    	signed += ' '*8
    	tw.octal(header[148:155], chksum)
    
    	_ = x > 0 && i >= 0
    
    	x1, x0 := x>>w2, x&m2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.1K bytes
    - Viewed (0)
Back to top