- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testBytes (0.05 seconds)
-
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.Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (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);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (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) } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Nov 18 02:29:43 GMT 2025 - 3.2K bytes - Click Count (0)