Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for emptyTags (0.13 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

    class TagsTest {
      @Test
      fun emptyTags() {
        val tags = EmptyTags
        assertThat(tags[String::class]).isNull()
      }
    
      @Test
      fun singleElement() {
        val tags = EmptyTags.plus(String::class, "hello")
        assertThat(tags[String::class]).isEqualTo("hello")
      }
    
      @Test
      fun multipleElements() {
        val tags =
          EmptyTags
            .plus(String::class, "hello")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

    import java.util.concurrent.atomic.AtomicReference
    import kotlin.reflect.KClass
    
    /**
     * An immutable collection of key-value pairs implemented as a singly-linked list.
     *
     * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call
     * returns a new instance.
     *
     * This collection is optimized for safe concurrent access over a very small number of elements.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.internal.EmptyTags
    
    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.asRequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.internal.EmptyTags
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.GzipSource
    import okio.buffer
    import okio.use
    import org.junit.jupiter.api.Test
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

     */
    package okhttp3
    
    import java.net.URL
    import kotlin.reflect.KClass
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.EmptyTags
    import okhttp3.internal.Tags
    import okhttp3.internal.http.GzipRequestBody
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.isProbablyUtf8
    import okhttp3.internal.isSensitiveHeader
    import okio.Buffer
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

    import org.codelibs.core.lang.ModifierUtil;
    
    /**
     * Implementation class of {@link PropertyDesc}.
     *
     * @author higa
     */
    public class PropertyDescImpl implements PropertyDesc {
    
        private static final Object[] EMPTY_ARGS = new Object[0];
    
        private final String propertyName;
    
        private final Class<?> propertyType;
    
        private Method readMethod;
    
        private Method writeMethod;
    
        private Field field;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

    /**
     * Implementation class of {@link BeanDesc}.
     *
     * @author higa
     */
    public class BeanDescImpl implements BeanDesc {
    
        /** Empty object array */
        protected static final Object[] EMPTY_ARGS = new Object[0];
    
        /** Empty class array */
        protected static final Class<?>[] EMPTY_PARAM_TYPES = new Class<?>[0];
    
        /** The class of the bean */
        protected final Class<?> beanClass;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
Back to top