Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 374 for Constructors (0.06 seconds)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     * change slightly between releases. If you need a stable logging format, use your own interceptor.
     */
    class HttpLoggingInterceptor
      @JvmOverloads
      constructor(
        private val logger: Logger = Logger.DEFAULT,
      ) : Interceptor {
        @Volatile private var headersToRedact = emptySet<String>()
    
        @Volatile private var queryParamsNameToRedact = emptySet<String>()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/AbstractCache.java

     * UnsupportedOperationException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public abstract class AbstractCache<K, V> implements Cache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected AbstractCache() {}
    
      /**
       * @since 11.0
       */
      @Override
      public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/EnumMultiset.java

       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
        checkArgument(iterator.hasNext(), "EnumMultiset constructor passed empty Iterable");
        EnumMultiset<E> multiset = new EnumMultiset<>(iterator.next().getDeclaringClass());
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

     * [Chromium's Priority=HIGH extension][chromium_extension].
     *
     * [chromium_extension]: https://code.google.com/p/chromium/issues/detail?id=232693
     */
    @Suppress("NAME_SHADOWING")
    class Cookie private constructor(
      /** Returns a non-empty string with this cookie's name. */
      @get:JvmName("name") val name: String,
      /** Returns a possibly-empty string with this cookie's value. */
      @get:JvmName("value") val value: String,
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * Tests how each code point is encoded and decoded in the context of each URL component.
     *
     * This supports [HttpUrlTest].
     */
    class UrlComponentEncodingTester private constructor() {
      private val encodings: MutableMap<Int, Encoding> = LinkedHashMap()
    
      private fun allAscii(encoding: Encoding) =
        apply {
          for (i in 0..127) {
            encodings[i] = encoding
          }
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Converter.java

      @LazyInit @RetainedWith private transient @Nullable Converter<B, A> reverse;
    
      /** Constructor for use by subclasses. */
      protected Converter() {
        this(true);
      }
    
      /** Constructor used only by {@code LegacyConverter} to suspend automatic null-handling. */
      Converter(boolean handleNullAutomatically) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                  notifyFailed(t);
                }
              });
        }
    
        @Override
        public String toString() {
          return AbstractScheduledService.this.toString();
        }
      }
    
      /** Constructor for use by subclasses. */
      protected AbstractScheduledService() {}
    
      /**
       * Run one iteration of the scheduled task. If any invocation of this method throws an exception,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            // workaround to IBM JDK crash "groovy.lang.GroovyRuntimeException: Could not find matching constructor for..."
            new DslDocModel(classDocbookDir, document, classMetaData, extensionMetaData)
        }
    
        def loadPluginsMetaData() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/LinearTransformation.java

     * has zero slope).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class LinearTransformation {
      /**
       * Constructor for use by subclasses inside Guava.
       *
       * @deprecated Create instances by using the static factory methods of the class.
       */
      @Deprecated
      public LinearTransformation() {}
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import java.util.zip.ZipEntry
    import java.util.zip.ZipOutputStream
    import javax.inject.Inject
    
    
    typealias LeftoverFiles = Map<File, List<String>>
    
    
    abstract class TestFilesCleanupService @Inject constructor(
        private val fileSystemOperations: FileSystemOperations
    ) : BuildService<TestFilesCleanupService.Params>, AutoCloseable, OperationCompletionListener {
    
        interface Params : BuildServiceParameters {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
Back to Top