- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 5,293 for class (0.02 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
* request. Then it proceeds to call the network. Finally it builds a user response from the network * response. */ class BridgeInterceptor( private val cookieJar: CookieJar, ) : Interceptor { @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val userRequest = chain.request() val requestBuilder = userRequest.newBuilder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; @Deprecated class MavenPropertiesLoaderTest { @Test void testIncludes() throws Exception { FileSystem fs = Jimfs.newFileSystem(Configuration.unix()); Path mavenHome = fs.getPath("/maven");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 4.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java
* 'rootObject.getChild().isName()' for boolean properties. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class ObjectBasedValueSource extends AbstractValueSource { private final Object root; /** * Construct a new value source, using the supplied object as the root from
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.4K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.source.model import spock.lang.Specification class MethodMetaDataTest extends Specification { final ClassMetaData owner = Mock() final MethodMetaData method = new MethodMetaData('method', owner) def formatsSignature() {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.6K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
/** * Register a build service that monitors a list of tasks and reports CACHE_MISS if they're actually executed. */ if (buildCacheEnabled()) { registerBuildScanInfoCollectingService(CacheMissMonitorBuildService::class.java, ::isCacheMissMonitoredTask) { gradleRootProject, cacheMissInBuildLogic, cacheMissInMainBuild -> gradleRootProject.extensions.findByType<BuildScanConfiguration>()?.run { buildFinished {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Apr 11 20:57:49 GMT 2025 - 4.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
inline fun <reified T : CallEvent> removeUpToEvent(): T = removeUpToEvent(T::class.java) inline fun <reified T : CallEvent> findEvent(): T = eventSequence.first { it is T } as T /** * Remove and return the next event from the recorded sequence. * * @param eventClass a class to assert that the returned event is an instance of, or null to * take any event class.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 4.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
* corresponding call to [FrameCallback]. */ @Throws(IOException::class) fun processNextFrame() { check(!closed) { "closed" } readHeader() if (isControlFrame) { readControlFrame() } else { readMessageFrame() } } @Throws(IOException::class, ProtocolException::class) private fun readHeader() { if (receivedCloseFrame) throw IOException("closed")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.add((String) null)); assertThrows(NullPointerException.class, () -> builder.add((String[]) null)); assertThrows(NullPointerException.class, () -> builder.add("a", null, "b")); } public void testBuilderAddAllHandlesNullsCorrectly() { {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
@JvmName("reifiedTag") inline fun <reified T : Any> tag(): T? = tag(T::class) /** Returns the tag attached with [type] as a key, or null if no tag is attached with that key. */ fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags[type]) /** * Returns the tag attached with `Object.class` as a key, or null if no tag is attached with * that key. *Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
*/ ) { continue; } Class<?> clazz = info.load(); try { Method unused = clazz.getDeclaredMethod("writeReplace"); continue; // It overrides writeReplace, so it's safe. } catch (NoSuchMethodException e) { // This is a class whose supertypes we want to examine. We'll do that below. } Optional<Class<?>> supersWithPackagePrivateWriteReplace =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 01 03:07:54 GMT 2025 - 5.1K bytes - Click Count (0)