- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,734 for require (0.23 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
require(type is KtFirType) val coneType = type.coneType val substitutor = EnhancedForWarningConeSubstitutor(typeContext) val enhancedConeType = substitutor.substituteType(coneType) return enhancedConeType?.asKtType() } override fun buildSelfClassType(symbol: KtNamedClassOrObjectSymbol): KtType { require(symbol is KtFirNamedClassOrObjectSymbol)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Feb 20 08:50:04 GMT 2024 - 16.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt
apply { require(tls) { "no cipher suites for cleartext connections" } require(cipherSuites.isNotEmpty()) { "At least one cipher suite is required" } this.cipherSuites = cipherSuites.copyOf() as Array<String> // Defensive copy. } fun allEnabledTlsVersions() = apply { require(tls) { "no TLS versions for cleartext connections" }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
// seconds are not supported by this syntax. require(year >= 1601) require(month != -1) require(dayOfMonth in 1..31) require(hour in 0..23) require(minute in 0..59) require(second in 0..59) GregorianCalendar(UTC).apply { isLenient = false set(Calendar.YEAR, year)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
require(type is KtFe10Type) return typeApproximator.approximateToSuperType(type.fe10Type, PublicApproximatorConfiguration(approximateLocalTypes)) ?.toKtType(analysisContext) } override fun approximateToSubPublicDenotableType(type: KtType, approximateLocalTypes: Boolean): KtType? { require(type is KtFe10Type)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
apply { val maxAgeSeconds = maxAge.inWholeSeconds require(maxAgeSeconds >= 0) { "maxAge < 0: $maxAgeSeconds" } this.maxAgeSeconds = maxAgeSeconds.commonClampToInt() } fun maxStale(maxStale: Duration) = apply { val maxStaleSeconds = maxStale.inWholeSeconds require(maxStaleSeconds >= 0) { "maxStale < 0: $maxStaleSeconds" }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt
} override fun getFileScope(fileSymbol: KtFileSymbol): KtScope { require(fileSymbol is KtFe10FileSymbol) return KtFe10FileScope(fileSymbol.psi, analysisContext, token) } override fun getPackageScope(packageSymbol: KtPackageSymbol): KtScope { require(packageSymbol is KtFe10PackageSymbol)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 12.6K bytes - Viewed (0) -
cmd/metrics-v2_gen.go
import ( "github.com/tinylib/msgp/msgp" ) // MarshalMsg implements msgp.Marshaler func (z *MetricDescription) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 5 // string "Namespace" o = append(o, 0x85, 0xa9, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65) o = msgp.AppendString(o, string(z.Namespace)) // string "Subsystem"
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 19.2K bytes - Viewed (0) -
internal/grid/msg_gen.go
if err != nil { err = msgp.WrapError(err) return } return } // MarshalMsg implements msgp.Marshaler func (z Flags) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint8(o, uint8(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *Flags) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 uint8
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 18.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* Shortcut for {@code getService(TypeRegistry.class).require(...)}. * * @see org.apache.maven.api.services.TypeRegistry#require(String) */ @Nonnull Type requireType(@Nonnull String id); /** * Obtain the {@link Language} from the specified {@code id}. * <p> * Shortcut for {@code getService(LanguageRegistry.class).require(...)}. *
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 30K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java
return getService(TypeRegistry.class).require(id); } @Override public Language requireLanguage(String id) { return getService(LanguageRegistry.class).require(id); } @Override public Packaging requirePackaging(String id) { return getService(PackagingRegistry.class).require(id); } @Override
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 21.7K bytes - Viewed (0)