- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for userlength (0.06 sec)
-
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
for (int k = 0; k < size; k++) { // [9-127) includes all ascii non-control characters sb.append((char) (random.nextInt(127 - 9) + 9)); } String string = sb.toString(); sb.setLength(0); data = ByteSource.wrap(string.getBytes(charset)); } @Benchmark public int timeCopy(int reps) throws IOException { int r = 0; Charset localCharset = charset;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return result; } // TODO(user): Move this logic to a utility class. @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL) private interface NativeArray { @JsProperty void setLength(int length); } static MapMaker tryWeakKeys(MapMaker mapMaker) { return mapMaker; } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jun 10 15:17:16 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
public int getLength() { return deferred.length; } /** * Sets the length of data in the buffer. * * @param length the new data length */ public void setLength(final int length) { deferred.length = length; } /** * Advances the buffer index by the specified number of bytes. * * @param n the number of bytes to advance */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.responseTable.clear(); } } @Override public void run() { try { while (this.thread == Thread.currentThread()) { this.in.setLength(this.transportContext.getConfig().getNetbiosRcvBufSize()); this.socket.setSoTimeout(this.closeTimeout); this.socket.receive(this.in);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @param fbuf * @throws DcerpcException */ private void setupReceivedFragment(final NdrBuffer fbuf) throws DcerpcException { fbuf.reset(); fbuf.setIndex(8); fbuf.setLength(fbuf.dec_ndr_short()); if (this.securityProvider != null) { this.securityProvider.unwrap(fbuf); } } /** * Encode a DCE/RPC message for transmission *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
val result = Relay(randomAccessFile, upstream, 0L, metadata, bufferMaxSize) // Write a dirty header. That way if we crash we won't attempt to recover this. randomAccessFile.setLength(0L) result.writeHeader(PREFIX_DIRTY, -1L, -1L) return result } /** * Creates a relay that reads a recorded stream from [file]. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
try { Smb2ReadRequest request = new Smb2ReadRequest(); request.setFileId(this.fileId); request.setOffset(offset + chunkOffset); request.setLength(chunkLength); Smb2ReadResponse response = (Smb2ReadResponse) channel.getTransport().send(request);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {}); StringBuilder sb = new StringBuilder(); Random rnd = new Random(); for (int trial = 0; trial < 100; trial++) { sb.setLength(0); int utf8Length = 0; for (int i = 0; i < 6; i++) { Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)]; sb.appendCodePoint(randomCodePoint);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
public int getLength() { return this.deferred.length; } /** * Sets the length of data in the buffer. * * @param length the new data length */ public void setLength(final int length) { this.deferred.length = length; } /** * Advances the buffer index by the specified number of bytes. * * @param n the number of bytes to advance */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0)