- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for Clip (0.02 seconds)
-
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
// where {hi,lo} are characters forming a surrogate pair such that: // codePointOf(hi, lo) > safeMax // which would result in the surrogate pair being (wrongly) considered safe. // If we clip the safe range used during the per-character tests so it is // below the values of characters in surrogate pairs, this cannot occur. // This approach does mean that we break out of the fast path code in casesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 8.5K bytes - Click Count (0) -
internal/http/listener.go
listeners = append(listeners, l) } if len(listeners) == 0 { // No listeners initialized, no need to continue return listener, listenErrs } listeners = slices.Clip(listeners) ctx, cancel := context.WithCancel(ctx) listener = &httpListener{ listeners: listeners, acceptCh: make(chan acceptResult, len(listeners)), opts: opts, ctxDoneCh: ctx.Done(),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Java8Compatibility.java
* https://github.com/google/guava/issues/3990 */ @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void position(Buffer b, int position) { b.position(position); } private Java8Compatibility() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Java8Compatibility.java
* https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void position(Buffer b, int position) { b.position(position); } private Java8Compatibility() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Java8Compatibility.java
* https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void position(Buffer b, int position) { b.position(position); } private Java8Compatibility() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Java8Compatibility.java
* https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void mark(Buffer b) { b.mark(); } static void position(Buffer b, int position) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
if (read < 0) { throw new IOException("Connection closed by peer"); } } headerBuffer.flip(); int messageSize = headerBuffer.getInt(); // Now read the message body ByteBuffer messageBuffer = ByteBuffer.allocate(messageSize); while (messageBuffer.hasRemaining()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
Java8Compatibility.limit(bb, chunkSize + 7); // get ready to pad with longs while (bb.position() < chunkSize) { bb.putLong(0); } Java8Compatibility.limit(bb, chunkSize); Java8Compatibility.flip(bb); process(bb); } @Override @CanIgnoreReturnValue public final Hasher putBytes(byte[] bytes, int off, int len) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
docs/tr/docs/advanced/json-base64-bytes.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:51:35 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
this.encoder = checkNotNull(encoder); checkArgument(bufferSize > 0, "bufferSize must be positive: %s", bufferSize); encoder.reset(); charBuffer = CharBuffer.allocate(bufferSize); Java8Compatibility.flip(charBuffer); byteBuffer = ByteBuffer.allocate(bufferSize); } @Override public void close() throws IOException { reader.close(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 9.3K bytes - Click Count (0)