- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 957 for nBytes (0.04 sec)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
// Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test MappedByteBuffer actual = Files.map(file); // Verify ByteBuffer expected = ByteBuffer.wrap(bytes); assertTrue("ByteBuffers should be equal.", expected.equals(actual)); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
// ReadChannelInfo assertEquals(0, SMBUtil.readInt2(buffer, 44)); // ReadChannelInfoOffset assertEquals(0, SMBUtil.readInt2(buffer, 46)); // ReadChannelInfoLength // Buffer byte assertEquals(0, buffer[48]); // One byte in buffer must be zero // Verify total bytes writtenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Verify sid (2 bytes) assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0)); // Verify maxItems (2 bytes) assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2)); // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/bytes/bytes_js_wasm_test.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jul 17 07:00:20 UTC 2024 - 417 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
} return suite; } private static TestSuite suiteForString( String name, ByteSinkFactory factory, String string, String desc) { byte[] bytes = string.getBytes(UTF_8); TestSuite suite = suiteForBytes(name, factory, desc, bytes); CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory); suite.addTest( CharSinkTester.suiteForString(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
} return suite; } private static TestSuite suiteForString( String name, ByteSinkFactory factory, String string, String desc) { byte[] bytes = string.getBytes(UTF_8); TestSuite suite = suiteForBytes(name, factory, desc, bytes); CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory); suite.addTest( CharSinkTester.suiteForString(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt
* limitations under the License. * */ package mockwebserver3.internal import okio.Buffer import okio.Sink /** * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all * subsequent bytes. */ internal class TriggerSink( private val delegate: Sink, private val triggerByteCount: Long, private val trigger: () -> Unit, ) : Sink by delegate { private var bytesWritten = 0L
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* <tr> * <th>{@link InputStream}</th> * <td>bytes</td> * <td>characters</td> * <td>bytes, characters</td> * <td>characters</td> * </tr> * <tr> * <th>{@link Reader}</th> * <td>characters</td> * <td>characters</td> * <td>characters</td> * <td>characters</td> * </tr> * <tr> * <th>{@link File}</th> * <td>bytes</td> * <td>characters</td> * <td>bytes, characters</td> * <td>characters</td> * </tr>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0) -
cmd/bitrot.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "encoding/hex" "errors" "fmt" "hash" "io" "github.com/minio/highwayhash" "github.com/minio/minio/internal/hash/sha256" "golang.org/x/crypto/blake2b"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
protected Map<String, Object> initParamMap; /** The maximum cached content size in bytes. Default is 1MB. */ protected long maxCachedContentSize = 1024L * 1024L; // 1MB /** The access timeout in seconds. Default is null (no timeout). */ protected Integer accessTimeout = null; // seconds /** The maximum content length in bytes. Default is null (no limit). */ protected Long maxContentLength = null; /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (0)