- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for testBytes (0.1 sec)
-
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
assertEquals(testBytes[i], buffer[i + 2]); } } @Test @DisplayName("Should implement equals correctly") void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/bytes/buffer_test.go
var testString string // test data for write tests var testBytes []byte // test data; same as testString but as a slice. type negativeReader struct{} func (r *negativeReader) Read([]byte) (int, error) { return -1, nil } func init() { testBytes = make([]byte, N) for i := 0; i < N; i++ { testBytes[i] = 'a' + byte(i%26) } testString = string(testBytes) } // Verify that contents of buf match the string s.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
@GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_1Byte() { testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT); } /** Tests that round tripping of all two byte permutations work. */ @GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_2Bytes() { testBytes(2, EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests for AbstractStreamingHasher. * * @author Dimitris Andreou */ @NullUnmarked public class AbstractStreamingHasherTest extends TestCase { public void testBytes() { Sink sink = new Sink(4); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; sink.putByte((byte) 1); sink.putBytes(new byte[] {2, 3, 4, 5, 6}); sink.putByte((byte) 7);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests for AbstractStreamingHasher. * * @author Dimitris Andreou */ @NullUnmarked public class AbstractStreamingHasherTest extends TestCase { public void testBytes() { Sink sink = new Sink(4); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; sink.putByte((byte) 1); sink.putBytes(new byte[] {2, 3, 4, 5, 6}); sink.putByte((byte) 7);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
class DocsTestProject( model: CIBuildModel, stage: Stage, val os: Os, testJava: JvmCategory, testTypes: List<DocsTestType>, ) : Project({ id(asDocsTestId(model, os)) name = "Docs Test - ${testJava.version.toCapitalized()} ${os.asName()}" }) { val docsTests = testTypes.map { DocsTest(model, stage, os, testJava, it) } init { docsTests.forEach(this::buildType) } }
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jun 17 10:05:07 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
@Test @DisplayName("Should not modify buffer beyond encoded area") void testEncodeDoesNotModifyBeyondArea() { // Given byte testByte = (byte) 0xFF; java.util.Arrays.fill(buffer, testByte); SrvCopychunk chunk = new SrvCopychunk(1024, 2048, 4096); // When chunk.encode(buffer, startIndex); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)