Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for tarask (0.05 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. buildSrc/src/main/kotlin/Osgi.kt

      project.dependencies {
        osgiApi(kotlinOsgi)
      }
    
      val jarTask = tasks.getByName<Jar>(jarTaskName)
      val bundleExtension =
        jarTask.extensions.findByType() ?: jarTask.extensions.create(
          BundleTaskExtension.NAME,
          BundleTaskExtension::class.java,
          jarTask,
        )
      bundleExtension.run {
        setClasspath(osgi.compileClasspath + sourceSets["main"].compileClasspath)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 scheduled after 100 µs: task",
          "FINE: Q10000 starting              : task",
          "FINE: Q10000 run again after  50 µs: task",
          "FINE: Q10000 finished run in   0 µs: task",
          "FINE: Q10000 starting              : task",
          "FINE: Q10000 run again after 150 µs: task",
          "FINE: Q10000 finished run in   0 µs: task",
          "FINE: Q10000 starting              : task",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        /**
         * @param track
         * @return tree with increased usage count
         */
        public SmbTreeImpl acquire ( boolean track ) {
            long usage = this.usageCount.incrementAndGet();
            if ( log.isTraceEnabled() ) {
                log.trace("Acquire tree " + usage + " " + this);
            }
    
            if ( track && this.traceResource ) {
                synchronized ( this.acquires ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/background-tasks.md

    ## Create a task function
    
    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_distributed_test.cc

      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      const char task0_name[] = "/job:localhost/replica:0/task:0/device:CPU:0";
      const char task1_name[] = "/job:localhost/replica:0/task:1/device:CPU:0";
      const char task2_name[] = "/job:localhost/replica:0/task:2/device:CPU:0";
    
      // Create one variable per task.
      TFE_TensorHandle* h0 = TestVariable(ctx, 1.0, task1_name);
      TFE_TensorHandle* h1 = TestVariable(ctx, 2.0, task2_name);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                directExecutor());
    
        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    final Tuple3<String, String, String> task = generator.createTask(path, docMap);
                    if (task != null) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Add thumbnail task: {}", task);
                        }
                        if (!thumbnailTaskQueue.offer(task)) {
                            logger.warn("Failed to add thumbnail task: {}", task);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
     * <p>Note that task wrapping may occur even if the task is never executed.
     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class WrappingScheduledExecutorService extends WrappingExecutorService
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/behind-a-proxy.md

    # Atrás de um Proxy
    
    Em algumas situações, você pode precisar usar um servidor **proxy** como Traefik ou Nginx com uma configuração que adiciona um prefixo de caminho extra que não é visto pela sua aplicação.
    
    Nesses casos, você pode usar `root_path` para configurar sua aplicação.
    
    O `root_path` é um mecanismo fornecido pela especificação ASGI (que o FastAPI utiliza, através do Starlette).
    
    O `root_path` é usado para lidar com esses casos específicos.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top