Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 304 for striped (0.15 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ProducerGuard.java

                        producing.notifyAll();
                    }
                }
            }
        }
    
        private static class StripedProducerGuard<T> extends ProducerGuard<T> {
            private final Striped<Lock> locks = Striped.lock(Runtime.getRuntime().availableProcessors() * 4);
    
            @Override
            public <V> V guardByKey(T key, Supplier<V> supplier) {
                Lock lock = locks.get(key);
                lock.lock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:31 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ProducerGuardTest.groovy

                            }
                        })
                    }
                }
            }
    
            then:
            calls.get() == 100
    
            where:
            guard << [ProducerGuard.serial(), ProducerGuard.striped(), ProducerGuard.adaptive()]
        }
    
        def "does not call factories with the same key concurrently"() {
            def concurrentCalls = new AtomicInteger()
    
            when:
            async {
                100.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/css/javadoc.css

    }
    table.striped {
        border-collapse: collapse;
        border: 1px solid var(--table-border-color);
    }
    table.striped > thead {
        background-color: var(--subnav-background-color);
    }
    table.striped > thead > tr > th, table.striped > thead > tr > td {
        border: 1px solid var(--table-border-color);
    }
    table.striped > tbody > tr:nth-child(even) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 14:25:49 UTC 2024
    - 50.5K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

                virtualFileSystem.invalidateAll();
            }
        }
    
        private static class StripedProducerGuard<T> {
            private final Striped<Lock> locks = Striped.lock(Runtime.getRuntime().availableProcessors() * 4);
    
            public <V> V guardByKey(T key, Supplier<V> supplier) {
                Lock lock = locks.get(key);
                lock.lock();
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

            }
        }
    
        String getOptionsAsHtml() {
            StringBuilder sb = new StringBuilder(512);
            boolean odd = true;
            sb.append(
                    "<table border='1' class='zebra-striped'><tr class='a'><th><b>Options</b></th><th><b>Description</b></th></tr>");
            for (Option option : new CLIManagerExtension().getOptions()) {
                odd = !odd;
                sb.append("<tr class='");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.css

    -card-media]) .uk-list-striped>li:nth-of-type(odd),.uk-card-secondary.uk-card-body .uk-list-striped>li:nth-of-type(odd),.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-striped>li:nth-of-type(odd),.uk-light .uk-list-striped>li:nth-of-type(odd),.uk-offcanvas-bar .uk-list-striped>li:nth-of-type(odd),.uk-overlay-primary .uk-list-striped>li:nth-of-type(odd),.uk-section-primary:not(.uk-preserve-color) .uk-list-striped>li:nth-of-type(odd),.uk-section-secondary:not(.uk-preserve-color) .uk-list-...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 257.2K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/AbstractTablePageGenerator.java

                private void renderDetailsTable(PerformanceReportScenario scenario) {
                    table().classAttr("table table-condensed table-bordered table-striped");
                        tr();
                            th().text("Date").end();
                            th().text("Commit").end();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    //
    // Otherwise, for each pair of NUMA nodes:
    //   - If the set of requested CPUs (modulo 2) can be evenly split across
    //     the 2 NUMA nodes; AND
    //   - Any remaining CPUs (after the modulo operation) can be striped across
    //     some subset of the NUMA nodes;
    //     --> Do the allocation by running takeByTopologyNUMAPacked() over the
    //     available CPUs in both NUMA nodes and return
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. releasenotes/notes/wasm-cache-with-tag-stripped-url.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
        **Improved** Use tag-stripped URL + checksum as a Wasm module cachekey, and the tagged URL is separately cached. 
        This may increase the chance of cache hit (e.g., trying to find the same image with both of the tagged and digest URLs.)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 23 08:37:23 UTC 2024
    - 402 bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/Stripper.java

    import org.gradle.nativeplatform.internal.StripperSpec;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.List;
    
    public class Stripper extends AbstractCompiler<StripperSpec> {
        public Stripper(BuildOperationExecutor buildOperationExecutor, CommandLineToolInvocationWorker commandLineToolInvocationWorker, CommandLineToolContext invocationContext, WorkerLeaseService workerLeaseService) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top