Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 374 for Mask (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/RateLimiter.java

     * <pre>{@code
     * final RateLimiter rateLimiter = RateLimiter.create(2.0); // rate is "2 permits per second"
     * void submitTasks(List<Runnable> tasks, Executor executor) {
     *   for (Runnable task : tasks) {
     *     rateLimiter.acquire(); // may wait
     *     executor.execute(task);
     *   }
     * }
     * }</pre>
     *
     * <p>As another example, imagine that we produce a stream of data, and we want to cap it at 5kb per
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

        }
    
        @Internal
        protected
        fun getContributorsFromPullRequests(): Set<GitHubUser> {
            if (!milestone.isPresent) {
                error("Milestone not set: please rerun the task with `--milestone <milestone>`")
            }
            val prs: MutableList<GitHubPullRequest> = mutableListOf()
            for (page in 1..10) {
                val prPage = getMergedContributorPullRequests(page)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg net, method (IP) IsLinkLocalUnicast() bool
    pkg net, method (IP) IsLoopback() bool
    pkg net, method (IP) IsMulticast() bool
    pkg net, method (IP) IsUnspecified() bool
    pkg net, method (IP) Mask(IPMask) IP
    pkg net, method (IP) String() string
    pkg net, method (IP) To16() IP
    pkg net, method (IP) To4() IP
    pkg net, method (IPMask) Size() (int, int)
    pkg net, method (IPMask) String() string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

            return ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId());
        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, long time) {
            buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error));
        }
    
        public boolean hasBuildFailures() {
            return !buildFailuresByProject.isEmpty();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    import org.gradle.api.file.Directory
    import org.gradle.api.provider.Provider
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.kotlin.dsl.*
    
    
    // `generatePrecompiledScriptPluginAccessors` task invokes this method without `gradle.build-environment` applied
    fun Project.getBuildEnvironmentExtension(): BuildEnvironmentExtension = extensions.getByType(BuildEnvironmentExtension::class.java)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              public void run() {
                runChosenTest();
              }
            };
        final FutureTask<@Nullable Void> task = new FutureTask<>(runChosenTest, null);
        startThread(
            new Runnable() {
              @Override
              public void run() {
                task.run();
              }
            });
        awaitUninterruptibly(doingCallLatch);
        long hangDelayMillis =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. docs/ru/docs/deployment/manually.md

    Starlette и **FastAPI** основаны на <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, которая делает их совместимыми как с <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">asyncio</a> - стандартной библиотекой Python, так и с <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">Trio</a>.
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. cmd/callhome.go

    	"fmt"
    	"math/rand"
    	"net/url"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second)
    
    // initCallhome will start the callhome task in the background.
    func initCallhome(ctx context.Context, objAPI ObjectLayer) {
    	if !globalCallhomeConfig.Enabled() {
    		return
    	}
    
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

    import java.nio.file.Path
    import java.nio.file.SimpleFileVisitor
    import java.nio.file.attribute.BasicFileAttributes
    import java.util.zip.ZipEntry
    import java.util.zip.ZipInputStream
    
    
    /**
     * This task will generate the list of relocated packages into a file that will in turn be used when generating the runtime shaded jars. All we need is a list of packages that need to be relocated, so
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top