- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 7,652 for Require (0.08 sec)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ConfigurationExtensions.kt
import org.gradle.api.provider.Provider import java.io.File fun Configuration.getSingleFileProvider(): Provider<File> { val name = this.name return incoming.files.elements.map { require(it.size <= 1) { "Expected at most one file in configuration '$name' but found: $it" } it.firstOrNull()?.asFile } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 18:02:41 UTC 2025 - 1.2K bytes - Viewed (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 {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
* accept and which to reject. A reasonable policy is to reject all cookies, though that may * interfere with session-based authentication schemes that require cookies. * * As persistence, implementations of this interface must also provide storage of cookies. Simple * implementations may store cookies in memory; sophisticated ones may use the file system or
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
* support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a * non-null bound if possible, let's require a non-null bound here. * * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect." */ public abstract class TypeParameter<T> extends TypeCapture<T> { final TypeVariable<?> typeVariable;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
import com.google.common.escape.Escaper; /** * {@code Escaper} instances suitable for strings to be included in particular sections of URLs. * * <p>If the resulting URLs are inserted into an HTML or XML document, they will require additional * escaping with {@link com.google.common.html.HtmlEscapers} or {@link * com.google.common.xml.XmlEscapers}. * * @author David Beaumont * @author Chris Povirk * @since 15.0 */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:28:41 UTC 2025 - 24.8K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
err = msgp.WrapError(err, "BytesFailed") return } return } // MarshalMsg implements msgp.Marshaler func (z *PoolDecommissionInfo) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 16 // string "st" o = append(o, 0xde, 0x0, 0x10, 0xa2, 0x73, 0x74) o = msgp.AppendTime(o, z.StartTime) // string "ss" o = append(o, 0xa2, 0x73, 0x73)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 26.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java
for (K key : multimap().keySet()) { SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().get(key); assertEquals(multimap().valueComparator(), valueSet.comparator()); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemoveImplementsSortedSet() { List<K> keys = new ArrayList<>(multimap().keySet()); for (K key : keys) { resetCollection();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
private var inflaterSource: InflaterSource? = null /** Inflates [buffer] in place as described in RFC 7692 section 7.2.2. */ @Throws(IOException::class) fun inflate(buffer: Buffer) { require(deflatedBytes.size == 0L) val inflater = this.inflater ?: Inflater(true).also { this.inflater = it } val inflaterSource = this.inflaterSource
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:26:07 UTC 2025 - 2.4K bytes - Viewed (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 {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jul 17 16:12:44 UTC 2025 - 3.4K bytes - Viewed (0)