- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 127 for overriding (0.08 seconds)
-
internal/ioutil/read_file.go
import ( "io" "io/fs" "os" "github.com/minio/minio/internal/disk" ) var ( // OpenFileDirectIO allows overriding default function. OpenFileDirectIO = disk.OpenFileDirectIO // OsOpen allows overriding default function. OsOpen = os.Open // OsOpenFile allows overriding default function. OsOpenFile = os.OpenFile ) // ReadFileWithFileInfo reads the named file and returns the contents.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Dec 09 18:17:51 GMT 2023 - 2.3K bytes - Click Count (0) -
docs/en/docs/advanced/testing-dependencies.md
# Testing Dependencies with Overrides { #testing-dependencies-with-overrides } ## Overriding dependencies during testing { #overriding-dependencies-during-testing } There are some scenarios where you might want to override a dependency during testing. You don't want the original dependency to run (nor any of the sub-dependencies it might have).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/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.) *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java
*/ package org.apache.maven.plugin; import java.util.List; import org.apache.maven.execution.MavenSession; import org.apache.maven.lifecycle.LifecycleExecutionException; /** * Interface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to * decorate default functionality or skip some executions */ public interface MojosExecutionStrategy { /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
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 {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
docs/es/docs/advanced/testing-dependencies.md
# Probando Dependencias con Overrides { #testing-dependencies-with-overrides } ## Sobrescribir dependencias durante las pruebas { #overriding-dependencies-during-testing } Hay algunos escenarios donde podrĂas querer sobrescribir una dependencia durante las pruebas. No quieres que la dependencia original se ejecute (ni ninguna de las sub-dependencias que pueda tener).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
import java.io.IOException import java.net.InetAddress import java.net.Socket import javax.net.SocketFactory /** * A [SocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureSocket]. */ open class DelegatingSocketFactory( private val delegate: SocketFactory, ) : SocketFactory() { @Throws(IOException::class) override fun createSocket(): Socket {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.1K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request import org.junit.jupiter.api.Assumptions.assumeTrue import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Tests for SNI overriding on Android. */ @Tag("Remote") class SniOverrideTest { var client = OkHttpClient .Builder() .build() @Test fun getWithCustomSocketFactory() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0)