Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for striped (0.21 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. 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)
  3. platforms/ide/problems-api/build.gradle.kts

    }
    
    description = """A problems description API
        |
        |This project provides base classes to describe problems and their
        |solutions, in a way that enforces the creation of good error messages.
        |
        |It's a stripped down version of the original code available
        |at https://github.com/melix/jdoctor/
    """.trimMargin()
    
    gradlebuildJava.usedInWorkers()
    
    dependencies {
        api(projects.stdlibJavaExtensions)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    	f.Lock()
    	defer f.Unlock()
    	if !f.stopped {
    		klog.V(4).Infof("Stopping fake watcher.")
    		close(f.result)
    		f.stopped = true
    	}
    }
    
    func (f *FakeWatcher) IsStopped() bool {
    	f.Lock()
    	defer f.Unlock()
    	return f.stopped
    }
    
    // Reset prepares the watcher to be reused.
    func (f *FakeWatcher) Reset() {
    	f.Lock()
    	defer f.Unlock()
    	f.stopped = false
    	f.result = make(chan Event)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  5. manifests/charts/ambient/Chart.yaml

    appVersion: 1.0.0
    kubeVersion: ">= 1.23.0-0"
    keywords:
      - istio-cni
      - istio
      - ambient
    sources:
      - https://github.com/istio/istio
    icon: https://istio.io/latest/favicons/android-192x192.png
    
    # These will be stamped out to real versions during release publish
    dependencies:
      - name: base
        version: 1.0.0
        repository: "file://../base"
      - name: cni
        version: 1.0.0
        repository: "file://../istio-cni"
      - name: istiod
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 21:20:01 UTC 2024
    - 718 bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

                synchronized (lock) {
                    stopped = true;
                }
                stopped(this);
            }
    
            @Override
            public void dispatch(MethodInvocation message) {
                synchronized (lock) {
                    if (stopped) {
                        throw new IllegalStateException("This actor has been stopped.");
                    }
                    dispatch.dispatch(message);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStopState.java

    package org.gradle.launcher.daemon.server;
    
    /**
     * Indicates the state of the daemon when it stops doing work.
     */
    public enum DaemonStopState {
        /**
         * Daemon was stopped cleanly and all work stopped.
         */
        Clean,
        /**
         * Daemon could not be stopped cleanly and some work may still be running.
         */
        Forced
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:45:11 UTC 2024
    - 953 bytes
    - Viewed (0)
  8. security/pkg/util/jwtutil_test.go

    	twoAudList = "header.eyJhdWQiOlsiYWJjIiwieHl6Il0sImV4cCI6NDczMjk5NDgwMSwiaWF0IjoxNTc5Mzk0ODAxLCJpc3MiOiJ0ZXN0LWlzc3Vlci0xQGlzdGlvLmlvIiwic3ViIjoic3ViLTEifQ.signature" // nolint: lll
    
    	// A JWT encoded payload that has the padding stripped and contains an underscore character from the base64url alphabet
    	base64UrlEncodedPaddingStrippedPart = "eyJpc3MiOiJodHRwczovL2V4YW1wbGUuY29tIiwiYXVkIjoiSm9lIEFyZG_DsWV6In0"
    )
    
    func TestGetExp(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/internal/syscall/unix/siginfo_linux.go

    	_CLD_KILLED          = 2
    	_CLD_DUMPED          = 3
    	_CLD_TRAPPED         = 4
    	_CLD_STOPPED         = 5
    	_CLD_CONTINUED       = 6
    
    	// These are the same as in syscall/syscall_linux.go.
    	core      = 0x80
    	stopped   = 0x7f
    	continued = 0xffff
    )
    
    // WaitStatus converts SiginfoChild, as filled in by the waitid syscall,
    // to syscall.WaitStatus.
    func (s *SiginfoChild) WaitStatus() (ws syscall.WaitStatus) {
    	switch s.Code {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. pkg/proxy/util/endpoints.go

    	netutils "k8s.io/utils/net"
    )
    
    // IPPart returns just the IP part of an IP or IP:port or endpoint string. If the IP
    // part is an IPv6 address enclosed in brackets (e.g. "[fd00:1::5]:9999"),
    // then the brackets are stripped as well.
    func IPPart(s string) string {
    	if ip := netutils.ParseIPSloppy(s); ip != nil {
    		// IP address without port
    		return s
    	}
    	// Must be IP:port
    	host, _, err := net.SplitHostPort(s)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top