- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 1,063 for buffer2 (0.04 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
import java.io.IOException import okio.Buffer import okio.ForwardingSink import okio.Sink /** A sink that never throws IOExceptions, even if the underlying sink does. */ internal open class FaultHidingSink( delegate: Sink, val onException: (IOException) -> Unit, ) : ForwardingSink(delegate) { private var hasErrors = false override fun write( source: Buffer, byteCount: Long, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
tensorflow/c/c_op_requires.h
#define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \ do { \ ::tensorflow::Status _s(__VA_ARGS__); \ if (TF_PREDICT_TRUE(!_s.ok())) { \ TF_DeleteStatus(C_STATUS); \ TF_DeleteBuffer(BUFFER); \
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Aug 02 21:35:06 GMT 2022 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
assertTrue(result >= 0, "writeParameterWordsWireFormat should return non-negative value"); } @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = response.readParameterWordsWireFormat(buffer, 0); // The method should read parameter words assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = setupAndX.readParameterWordsWireFormat(buffer, 0); // The implementation always returns 0 assertEquals(0, result, "readParameterWordsWireFormat returns 0"); } @Test void testReadBytesWireFormat() { byte[] buffer = new byte[1024];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
* * @param config the SMB configuration * @param pipeName the name of the pipe to call * @param data the data buffer to write to the pipe * @param off the offset in the data buffer * @param len the length of data to write */ public TransCallNamedPipe(final Configuration config, final String pipeName, final byte[] data, final int off, final int len) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
* Constructs a transaction request for a named pipe operation. * * @param config the configuration to use * @param fid the file ID of the named pipe * @param data the data buffer to send * @param off the offset in the data buffer * @param len the length of data to send */ public TransTransactNamedPipe(final Configuration config, final int fid, final byte[] data, final int off, final int len) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java
int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
StringBuilder buffer = new StringBuilder(256); buffer.append("'parent.relativePath'"); if (childModel != problems.getRootModel()) { buffer.append(" of POM ").append(ModelProblemUtils.toSourceHint(childModel)); } buffer.append(" points at ").append(groupId).append(':').append(artifactId);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
int slen = s.length(); // Get a destination buffer and setup some loop variables. char[] dest = Platform.charBufferFromThreadLocal(); int destSize = dest.length; int destIndex = 0; int lastEscape = 0; // Loop through the rest of the string, replacing when needed into the // destination buffer, which gets grown as needed as well. for (; index < slen; index++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0)