Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 764 for vbuf (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/syscall/syscall_linux_mipsx.go

    //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
    
    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    	_, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
    	if e != 0 {
    		err = errnoErr(e)
    	}
    	return
    }
    
    func Statfs(path string, buf *Statfs_t) (err error) {
    	p, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. 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)
  6. src/syscall/syscall_dragonfly.go

    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	namlen, ok := direntNamlen(buf)
    	if !ok {
    		return 0, false
    	}
    	return (16 + namlen + 1 + 7) &^ 7, true
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    func utimes(path string, tv *[2]Timeval) (err error) {
    	if tv == nil {
    		return utimensat(AT_FDCWD, path, nil, 0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. src/go/printer/testdata/expressions.golden

    	_ = 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
  10. src/go/printer/testdata/expressions.raw

    	_ = 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
Back to top