Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Task (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     *
     * Recurrence
     * ----------
     *
     * Tasks control their recurrence schedule. The [runOnce] function returns -1L to signify that the
     * task should not be executed again. Otherwise it returns a delay until the next execution.
     *
     * A task has at most one next execution. If the same task instance is scheduled multiple times, the
     * earliest one wins. This applies to both executions scheduled with [TaskRunner.Queue.schedule] and
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        java
    }
    
    val validateTaskName = "validatePlugins"
    val reportFileName = "task-properties/report.txt"
    
    tasks.register<ValidatePlugins>(validateTaskName) {
        val main = project.sourceSets.main.get()
        classes.from(main.output)
        classpath.from(main.runtimeClasspath)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1008 bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

    import model.CIBuildModel
    import model.Stage
    
    class SmokeTests(model: CIBuildModel, stage: Stage, testJava: JvmCategory, id: String, task: String = "smokeTest", splitNumber: Int = 1) : BaseGradleBuildType(stage = stage, init = {
        id("${model.projectId}_SmokeTest_$id")
        name = "Smoke Tests with 3rd Party Plugins ($task) - ${testJava.version.name.toCapitalized()} Linux"
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 16:49:31 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt

        duration: Long,
        unit: TimeUnit,
      ) = apply {
        actions += { Thread.sleep(unit.toMillis(duration)) }
      }
    
      override fun handle(stream: Stream) {
        val task = serviceStreamTask(stream)
        results.add(task)
        task.run()
      }
    
      /** Returns a task that processes both request and response from [stream]. */
      private fun serviceStreamTask(stream: Stream): FutureTask<Void> {
        return FutureTask<Void> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

      }
    
      @Test fun taskFailsWithUncheckedException() {
        queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(100)) {
          log.put("failing task running")
          throw RuntimeException("boom!")
        }
    
        queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(200)) {
          log.put("normal task running")
          return@schedule -1L
        }
    
        queue.idleLatch().await(500, TimeUnit.MILLISECONDS)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       * is running when that time is reached, that task is allowed to complete before this task is
       * started. Similarly the task will be delayed if the host lacks compute resources.
       *
       * @throws RejectedExecutionException if the queue is shut down and the task is not cancelable.
       */
      fun schedule(
        task: Task,
        delayNanos: Long = 0L,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/databaseInfoMap.dfprop

    # o schema   -- The schema name.
    # o user     -- The database user name.
    # o password -- The database password.
    # o propertiesMap -- The properties that depends on the database.
    # o variousMap    -- The various settings about JDBC task.
    #
    # *The line that starts with '#' means comment-out.
    #
    map:{
        ; driver   = org.h2.Driver
        ; url      = jdbc:h2:file:../src/test/resources/dummydb/dummydb
        ; schema   =  
        ; user     = sa
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 7.3K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

                println("CACHE_MISS in task $taskPath")
                cacheMiss.set(true)
            }
        }
    }
    
    
    /**
     *  We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS".
     */
    fun isCacheMissMonitoredTask(task: Task) = task.isCompileCacheMissMonitoredTask() || task.project.isAsciidoctorCacheMissTask()
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

    import java.util.logging.Level
    import java.util.logging.Logger
    
    internal inline fun Logger.taskLog(
      task: Task,
      queue: TaskQueue,
      messageBlock: () -> String,
    ) {
      if (isLoggable(Level.FINE)) {
        log(task, queue, messageBlock())
      }
    }
    
    internal inline fun <T> Logger.logElapsed(
      task: Task,
      queue: TaskQueue,
      block: () -> T,
    ): T {
      var startNs = -1L
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. dbflute_fess/_readme.txt

    Directory for DBFlute client
    
    manage.bat(sh) => 21 (jdbc):
    A execution command of JDBC task
    which gets your schema info and saves it to SchemaXML
    located to the "schema" directory.
    This task should be executed after ReplaceSchema task
    and before other tasks(e.g. Generate, Document task).
    
    manage.bat(sh) => 22 (doc):
    A execution command of Document task
    which creates documents, for example, SchemaHTML, HistoryHTML
    to the "output/doc" directory.
    
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Jul 04 22:46:31 GMT 2015
    - 2.5K bytes
    - Viewed (0)
Back to top