- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 366 for 1020 (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/SetViewTest.java
assertMinSize(difference(setSizeRange(1, 2), setSizeRange(10, 20)), 0); assertMinSize(difference(setSizeRange(10, 20), setSizeRange(11, 12)), 0); assertMinSize(difference(setSizeRange(11, 12), setSizeRange(10, 20)), 0); } public void testDifference_maxSize() { assertMaxSize(difference(emptySet(), emptySet()), 0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(10, 20); assertThat(cache.getIfPresent(10)).isEqualTo(20); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(10)).isNull(); } @Test public void expireAfterWriteAndAccess() { Cache<Integer, Integer> cache = CacheBuilder.newBuilder() .expireAfterWrite(1000, MILLISECONDS)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 14.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
void testBinaryConstructorAndToByteArray() { // Arrange: revision=1, count=2, identAuth zeros except last byte, subauth 10, 20 byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; rpc.sid_t st = buildSidT((byte) 1, ident, 10, 20); byte[] bytes = SID.toByteArray(st); // Act: construct from bytes and re-encode SID sid = new SID(bytes, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
public void testJoin() throws Exception { joinHelper(0); joinHelper(1); joinHelper(0, 0, 0); joinHelper(10, 20); joinHelper(10, 0, 20); joinHelper(0, 10, 20); joinHelper(10, 20, 0); joinHelper(10, 20, 1); joinHelper(1, 1, 1, 1, 1, 1, 1, 1); joinHelper(1, 0, 1, 0, 1, 0, 1, 0); } public void testOnlyOneOpen() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
public void testJoin() throws Exception { joinHelper(0); joinHelper(1); joinHelper(0, 0, 0); joinHelper(10, 20); joinHelper(10, 0, 20); joinHelper(0, 10, 20); joinHelper(10, 20, 0); joinHelper(10, 20, 1); joinHelper(1, 1, 1, 1, 1, 1, 1, 1); joinHelper(1, 0, 1, 0, 1, 0, 1, 0); } public void testOnlyOneOpen() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testJoin() { assertThat(Doubles.join(",", EMPTY)).isEmpty(); assertThat(Doubles.join(",", ARRAY1)).isEqualTo("1.0"); assertThat(Doubles.join(",", 1.0, 2.0)).isEqualTo("1.0,2.0"); assertThat(Doubles.join("", 1.0, 2.0, 3.0)).isEqualTo("1.02.03.0"); } public void testJoinNonTrivialDoubles() { assertThat(Doubles.join(",", EMPTY)).isEmpty();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
@Test @DisplayName("getSessionKey returns bytes, empty, then null") void getSessionKey_variants() throws CIFSException { byte[] key = new byte[] { 10, 20 }; when(session.getSessionKey()).thenReturn(key, new byte[0], null); assertArrayEquals(key, session.getSessionKey()); assertArrayEquals(new byte[0], session.getSessionKey());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
public void testBufferAccessOutOfBounds() throws Exception { byte[] buffer = new byte[100]; assertThrows(SmbException.class, () -> { validator.validateBufferAccess(buffer, 90, 20); }); } @Test public void testBufferAccessIntegerOverflow() throws Exception { byte[] buffer = new byte[100]; assertThrows(SmbException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
} @Test @DisplayName("Large message is read correctly") void largeMessageIsReadCorrectly() throws IOException { // Create a message with 1000 bytes int size = 1000; byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } byte[] fullData = concat(messageHeader(size), data);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
| -H 'Content-Type: application/octet-stream' \ | --data-binary '00010203' """.trimMargin(), ) } @Test fun curlPostWithBinaryBodyOmitted() { val binaryData = "1020".decodeHex() val body = binaryData.toRequestBody("application/octet-stream".toMediaType()) val request = Request .Builder() .url("https://api.example.com/upload")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:36:14 UTC 2025 - 24.4K bytes - Viewed (0)