Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for require (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. maven-api-impl/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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 27.3K bytes
    - Viewed (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

        <!-- These packages are duplicated in ide-native from ide, don't require a package-info.java in each place -->
        <suppress checks="JavadocPackage"
                  files=".*[/\\]ide-native[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]plugins[/\\]ide[/\\]api[/\\][^/\\]+"/>
    
        <!-- These packages are duplicated in platform-native from language-native, don't require a package-info.java in each place -->
        <suppress checks="JavadocPackage"
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 10:51:28 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        flags: Int,
      ) {
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
          logger.fine(frameLog(false, streamId, length, type, flags))
        }
        require(length <= maxFrameSize) { "FRAME_SIZE_ERROR length > $maxFrameSize: $length" }
        require(streamId and 0x80000000.toInt() == 0) { "reserved bit set: $streamId" }
        sink.writeMedium(length)
        sink.writeByte(type and 0xff)
        sink.writeByte(flags and 0xff)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      ) : SerialTask {
        override fun start() {
          taskRunner.assertThreadHoldsLock()
          require(currentTask == this)
          activeThreads++
    
          tasksExecutor.execute {
            taskRunner.assertThreadDoesntHoldLock()
            require(currentTask == this)
            try {
              runnable.run()
              require(currentTask == this) { "unexpected current task: $currentTask" }
            } finally {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. internal/event/name.go

    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    	// Single event types (does not require expansion)
    
    	ObjectAccessedGet Name = 1 + iota
    	ObjectAccessedGetRetention
    	ObjectAccessedGetLegalHold
    	ObjectAccessedHead
    	ObjectAccessedAttributes
    	ObjectCreatedCompleteMultipartUpload
    	ObjectCreatedCopy
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 17:45:03 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                    // Stubbed top-level function IR symbols (from other source files in the module) require a parent facade class to be
                    // generated, which requires a container source to be provided. Without a facade class, function IR symbols will have
                    // an `IrExternalPackageFragment` parent, which trips up code generation during IR lowering.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  10. cni/README.md

    ## Privileges required
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top