Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 416 for 1020 (0.02 seconds)

  1. 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")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  2. 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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  4. 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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

       * TreeMultimap.
       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree);
        assertEquals(tree, copyFromTree);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

       * TreeMultimap.
       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree);
        assertEquals(tree, copyFromTree);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  10. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
Back to Top