Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for overriding (0.15 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
      @Throws(IOException::class)
      override fun createServerSocket(): ServerSocket {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * This is only necessary for default components using @Typed that want to support overriding.
     *
     * As a non-default component this now gets a negative priority relative to other implementations
     * of the same interface. Since we want to allow overriding this doesn't matter in this case.
     * (if it did we could add @Priority of 0 to match the priority given to default components.)
     */
    @Named
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CountingOutputStream.java

        out.write(b, off, len);
        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/runtime/pprof/runtime.go

    // given labels added to the parent's label map.
    // Goroutines spawned while executing f will inherit the augmented label-set.
    // Each key/value pair in labels is inserted into the label map in the
    // order provided, overriding any previous value for the same key.
    // The augmented label map will be set for the duration of the call to f
    // and restored once f returns.
    func Do(ctx context.Context, labels LabelSet, f func(context.Context)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/rich_versions.adoc

    When on a transitive dependency, it will cause dependency resolution to fail if no version acceptable by this clause can be selected.
    See <<dependency_downgrade_and_exclude.adoc#sec:enforcing_dependency_version,overriding dependency version>> for details.
    This term supports dynamic versions.
    +
    When defined, this overrides any previous `require` declaration and clears previous `reject`.
    
    [[sec:required-version]]
    `require`::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CountingOutputStream.java

        out.write(b, off, len);
        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

    import okhttp3.DelegatingSSLSocketFactory
    import okhttp3.EventListener
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Tests for ALPN overriding on Android.
     */
    @Tag("Remote")
    class AlpnOverrideTest {
      class CustomSSLSocketFactory(
        delegate: SSLSocketFactory,
      ) : DelegatingSSLSocketFactory(delegate) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

    import java.net.InetAddress
    import java.net.Socket
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    
    /**
     * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSSLSocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): SSLSocket {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

     * under the License.
     */
    package org.apache.maven.model.merge;
    
    import java.util.Map;
    import java.util.Objects;
    
    /**
     * The domain-specific model merger for the Maven POM, overriding generic code from parent class when necessary with
     * more adapted algorithms.
     *
     */
    public class MavenModelMerger extends org.apache.maven.internal.impl.model.MavenModelMerger {
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top