- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 8,296 for require (0.12 seconds)
-
src/main/webapp/js/admin/plugins/form-validator/toggleDisabled.js
* @author Victor Jonsson, http://victorjonsson.se * @license MIT */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
body: RequestBody?, ): Builder = apply { require(method.isNotEmpty()) { "method.isEmpty() == true" } if (body == null) { require(!HttpMethod.requiresRequestBody(method)) { "method $method must have a request body." } } else { require(HttpMethod.permitsRequestBody(method)) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
public val code: Int get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" } return statusParts[1].toInt() } public val message: String get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" } return statusParts[2] }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 17.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
} @Override public Set<Feature<? super Map>> getImpliedFeatures() { return implied; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { MapFeature[] value() default {}; MapFeature[] absent() default {}; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
private fun checkSupportResponse( name: String, response: Response?, ) { response?.apply { require(networkResponse == null) { "$name.networkResponse != null" } require(cacheResponse == null) { "$name.cacheResponse != null" } require(priorResponse == null) { "$name.priorResponse != null" } } } open fun priorResponse(priorResponse: Response?) = apply {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts
password = artifactoryUserPassword } } } publications.withType<MavenPublication>().configureEach { pom { description = provider { require(project.description != null) { "You must set the description of published project ${project.name}" } project.description } url = "https://gradle.org" licenses {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Feb 06 07:41:19 GMT 2026 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
@Override public Set<Feature<? super Multiset>> getImpliedFeatures() { return emptySet(); } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { MultisetFeature[] value() default {}; MultisetFeature[] absent() default {}; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.7K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/BUG.yml
Simple fixes in single PRs do not require issues. **Do you use the latest project version?** - type: input id: version attributes: label: Affected version validations: required: true - type: textarea id: message attributes: label: Bug description validations:Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:30:05 GMT 2025 - 1.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt
"$linePrefix ${firstVersion}${if(firstVersion == latestVersion) "" else " through $latestVersion"}." } else { line } } ) require(lineFound) { "File '$docFile' does not contain the expected compatibility line: '$linePrefix'" } } protected fun fetchVersionsFromMavenMetadata(url: String): List<String> =Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Oct 24 09:10:28 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LegacyComparable.java
/** * A class that implements {@code Comparable} without generics, such as those found in libraries * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such * types, though their use may still require an explicit type parameter and/or warning suppression. * * @author Kevin Bourrillion */ @SuppressWarnings({"ComparableType", "rawtypes"}) // https://github.com/google/guava/issues/989 @GwtCompatible @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0)