- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,505 for READ (0.63 sec)
-
guava-tests/test/com/google/common/io/SourceSinkFactories.java
InputStream in = new FileInputStream(file); ByteArrayOutputStream out = new ByteArrayOutputStream(); byte[] buffer = new byte[100]; int read; while ((read = in.read(buffer)) != -1) { out.write(buffer, 0, read); } return out.toByteArray(); } } private static class FileCharSourceFactory extends FileFactory implements CharSourceFactory {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
cmd/local-locker.go
err = fmt.Errorf("unlock attempted on a read locked entity: %s", resource) continue } if ok { reply = l.removeEntry(resource, args, &lri) || reply } } return reply, err } // removeEntry based on the uid of the lock message, removes a single entry from the // lockRequesterInfo array or the whole array from the map (in case of a write lock // or last read lock)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/RandomAmountInputStream.java
public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in)); this.random = checkNotNull(random); } @Override public int read(byte[] b, int off, int len) throws IOException { return super.read(b, off, random.nextInt(len) + 1); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
MavenProject project = new MavenProject(model); project.setOriginalModel(model); ConsumerPomArtifactTransformer t = new ConsumerPomArtifactTransformer((s, p, f) -> { try (InputStream is = f.openStream()) { return DefaultConsumerPomBuilder.transformPom(new MavenStaxReader().read(is), project); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} w.checkException(); if (read <= 0) { break; } w.write(b[i], read, fos); } i = i == 1 ? 0 : 1; off += read; } if (log.isDebugEnabled()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
writeInt4(500, buffer, 12); // free writeInt2(512, buffer, 16); // bytesPerSect int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(20, bytesRead, "Should read 20 bytes"); assertNotNull(response.info, "Info object should not be null"); assertTrue(response.info instanceof Trans2QueryFSInformationResponse.SmbInfoAllocation, "Info should be of type SmbInfoAllocation");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
val b1 = source.readByte() and 0xff val isMasked = b1 and B1_FLAG_MASK != 0 if (isMasked == isClient) { // Masked payloads must be read on the server. Unmasked payloads must be read on the client. throw ProtocolException( if (isClient) { "Server-sent frames must not be masked." } else { "Client-sent frames must be masked."Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
byte[] buffer = new byte[512]; int written = originalPacket.writeWireFormat(buffer, 0); // Read from buffer ByteArrayInputStream bais = new ByteArrayInputStream(buffer); SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig); // Skip header (already read by parent class) bais.skip(4); readPacket.type = buffer[0] & 0xFF;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
* </p> * * <p> * The reader supports limiting the number of documents read based on a percentage of the total documents * or a fixed number. It also allows filtering documents based on their size, using the {@code limitOfDocumentSize} * parameter. * </p> * * <p> * The reader uses a queue to buffer documents read from Elasticsearch, and it retries failed requests * up to a maximum number of times. * </p> *Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaAccess.java
* These flags control what operations can be performed on a memory region. */ public enum RdmaAccess { /** * Local read access to the memory region */ LOCAL_READ, /** * Local write access to the memory region */ LOCAL_WRITE, /** * Remote read access to the memory region */ REMOTE_READ, /** * Remote write access to the memory region */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 1.4K bytes - Viewed (0)