Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 816 for masks (0.02 seconds)

  1. tensorflow/c/eager/c_api_experimental.cc

            "Coordination service is not enabled.");
        return;
      }
      std::vector<tensorflow::CoordinatedTask> task_vec(tasks.length);
      auto* task_iter = static_cast<const tensorflow::CoordinatedTask*>(tasks.data);
      for (size_t i = 0; i < tasks.length; ++i) {
        task_vec[i].set_job_name(task_iter->job_name());
        task_vec[i].set_task_id(task_iter->task_id());
        ++task_iter;
      }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

        // Allows us to use & instead of %, acting on hearsay that division
        // operators (/%) are disproportionately expensive; should test this too!
        int mask = queries.length - 1;
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= map.get(queries[i & mask]) != null;
        }
        return dummy;
      }
    
      @Benchmark
      int createAndPopulate(int reps) {
        int dummy = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantExtension.java

    import org.gradle.api.Project;
    import org.gradle.api.file.RegularFileProperty;
    import org.gradle.api.provider.MapProperty;
    import org.gradle.api.provider.Property;
    import org.gradle.api.tasks.Input;
    
    import java.io.File;
    import java.util.Map;
    
    public class VagrantExtension {
    
        private final Property<String> box;
        private final MapProperty<String, Object> hostEnv;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  4. cmd/notification.go

    	workers    *workers.Workers
    	errs       []NotificationPeerErr
    	retryCount int
    }
    
    // WithNPeers returns a new NotificationGroup with length of errs slice upto nerrs,
    // upon Wait() errors are returned collected from all tasks.
    func WithNPeers(nerrs int) *NotificationGroup {
    	if nerrs <= 0 {
    		nerrs = 1
    	}
    	wk, _ := workers.New(nerrs)
    	return &NotificationGroup{errs: make([]NotificationPeerErr, nerrs), workers: wk, retryCount: 3}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body/test_tutorial003.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial003_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.internal.tasks.testing.results.serializable.SerializableTestResultStore
    import org.gradle.api.provider.Provider
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.api.tasks.testing.TestResult
    import org.gradle.internal.exceptions.DefaultMultiCauseException
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  7. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    val artifactoryUserName
        get() = project.providers.gradleProperty("artifactoryUserName").orNull
    
    val artifactoryUserPassword
        get() = project.providers.gradleProperty("artifactoryUserPassword").orNull
    
    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Feb 06 07:41:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_additional_responses/test_tutorial004.py

    from inline_snapshot import snapshot
    
    from tests.utils import needs_py310, workdir_lock
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial004_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.additional_responses.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditPrecommitPlugin.java

    import org.elasticsearch.gradle.internal.conventions.precommit.PrecommitPlugin;
    import org.gradle.api.Project;
    import org.gradle.api.Task;
    import org.gradle.api.artifacts.Configuration;
    import org.gradle.api.tasks.TaskProvider;
    import org.gradle.internal.jvm.Jvm;
    
    import java.nio.file.Path;
    
    public class ThirdPartyAuditPrecommitPlugin extends PrecommitPlugin implements InternalPlugin {
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      public <T> void testListeningExecutorServiceInvokeAllJavadocCodeCompiles() throws Exception {
        ListeningExecutorService executor = newDirectExecutorService();
        List<Callable<T>> tasks = ImmutableList.of();
        List<? extends Future<?>> unused = executor.invokeAll(tasks);
      }
    
      public void testListeningDecorator() throws Exception {
        ListeningExecutorService service = listeningDecorator(newDirectExecutorService());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
Back to Top