- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 376 for cbuf (0.09 sec)
-
guava/src/com/google/common/io/CharSequenceReader.java
@Override public synchronized int read(char[] cbuf, int off, int len) throws IOException { checkPositionIndexes(off, off + len, cbuf.length); checkOpen(); requireNonNull(seq); // safe because of checkOpen if (!hasRemaining()) { return -1; } int charsToRead = min(len, remaining()); for (int i = 0; i < charsToRead; i++) { cbuf[off + i] = seq.charAt(pos++); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
private val charset: Charset, ) : Reader() { private var closed: Boolean = false private var delegate: Reader? = null @Throws(IOException::class) override fun read( cbuf: CharArray, off: Int, len: Int, ): Int { if (closed) throw IOException("Stream closed") val finalDelegate = delegate ?: InputStreamReader(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java
private static final boolean VERBOSE = false; // debug protected static final Reader ILLEGAL_STATE_READER = new Reader() { @Override public int read(final char[] cbuf, final int off, final int len) { throw new IllegalStateException("TokenStream contract violation: reset()/close() call missing, " + "reset() called multiple times, or subclass does not call super.reset(). "
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 9.5K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 03 05:02:20 UTC 2024 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
checkPositionIndexes(off, off + len, buf.length); int i = off; for (; i < off + len; i++) { int b = read(); if (b == -1) { int read = i - off; return read == 0 ? -1 : read; } buf[i] = (byte) b; } return i - off; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 41.8K bytes - Viewed (0) -
internal/config/identity/openid/jwks.go
return nil, errMalformedJWKRSAKey } // decode exponent ebuf, err := base64.RawURLEncoding.DecodeString(key.E) if err != nil { return nil, errMalformedJWKRSAKey } nbuf, err := base64.RawURLEncoding.DecodeString(key.N) if err != nil { return nil, errMalformedJWKRSAKey } var n, e big.Int n.SetBytes(nbuf) e.SetBytes(ebuf) return &rsa.PublicKey{ E: int(e.Int64()), N: &n,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Apr 02 23:02:35 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
} doReceiveFragment(stub, isDirect); buf.reset(); buf.setIndex(8); buf.setLength(buf.dec_ndr_short()); if (securityProvider != null) securityProvider.unwrap(buf); buf.setIndex(0); msg.decode_header(buf); off = 24;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
synchronized (BUF) { System.arraycopy( sbuf, 0, BUF, 0, 4 + HEADER_LENGTH ); int size = Encdec.dec_uint16be( BUF, 2 ) & 0xFFFF; if (size < (HEADER_LENGTH + 1) || (4 + size) > rcv_buf_size ) { throw new IOException( "Invalid payload size: " + size ); } int errorCode = Encdec.dec_uint32le( BUF, 9 ) & 0xFFFFFFFF;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0)