Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 558 for nThreads (0.2 sec)

  1. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
            final Threads threads = jvmStats.getThreads();
            buf.append("\"threads\":{");
            append(buf, "count", () -> threads.getCount()).append(',');
            append(buf, "peak", () -> threads.getPeakCount());
            buf.append("},");
            final Classes classes = jvmStats.getClasses();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/codeQuality/codeQuality/kotlin/build.gradle.kts

        toolVersion = "7.0.0"
        rulesMinimumPriority = 5
        ruleSets = listOf("category/java/errorprone.xml", "category/java/bestpractices.xml")
    }
    // end::customize-pmd[]
    
    // tag::pmd-threads[]
    pmd {
        threads = 4
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 14 14:22:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue18146.go

    		var rlim syscall.Rlimit
    		if syscall.Getrlimit(nproc, &rlim) == nil {
    			max := int(rlim.Cur) / (threads + 5)
    			if attempts > max {
    				t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max)
    				attempts = max
    			}
    		}
    	}
    
    	if os.Getenv("test18146") == "exec" {
    		runtime.GOMAXPROCS(1)
    		for n := threads; n > 0; n-- {
    			go func() {
    				for {
    					_ = md5.Sum([]byte("Hello, !"))
    				}
    			}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/codeQuality/codeQuality/groovy/build.gradle

        toolVersion = "7.0.0"
        rulesMinimumPriority = 5
        ruleSets = ["category/java/errorprone.xml", "category/java/bestpractices.xml"]
    }
    // end::customize-pmd[]
    
    // tag::pmd-threads[]
    pmd {
        threads = 4
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 14 14:22:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/core-runtime/functional/src/main/java/org/gradle/internal/lazy/Lazy.java

        }
    
        /**
         * An atomic {@link Lazy} allows concurrent access from multiple threads without locking.
         * <br>
         * The given {@code Supplier} might be executed more than once when multiple threads access a
         * non-initialized {@link Lazy} at the same time but one value will eventually be cached and
         * published to all threads.
         * <br>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

    import okhttp3.internal.okHttpName
    import okhttp3.internal.threadFactory
    
    /**
     * A set of worker threads that are shared among a set of task queues.
     *
     * Use [INSTANCE] for a task runner that uses daemon threads. There is not currently a shared
     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. pkg/ctrlz/topics/proc.go

    	Pid        int    `json:"pid"`
    	Ppid       int    `json:"ppid"`
    	UID        int    `json:"uid"`
    	Wd         string `json:"wd"`
    	Hostname   string `json:"hostname"`
    	TempDir    string `json:"tempdir"`
    	Threads    int    `json:"threads"`
    	Goroutines int    `json:"goroutines"`
    }
    
    func getProcInfo() *procInfo {
    	pi := procInfo{
    		Egid:       os.Getegid(),
    		Euid:       os.Geteuid(),
    		GID:        os.Getgid(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. docs/contribute/concurrency.md

    #### Shared reader thread
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGStaticLoggingIntegrationTest.groovy

        }
    
        def "test can generate output from multiple threads"() {
            file("src/test/java/OkTest.java") << """
    import java.util.logging.Logger;
    import java.util.List;
    import java.util.ArrayList;
    import org.testng.annotations.*;
    
    public class OkTest {
        @Test
        public void ok() throws Exception {
            // logging from multiple threads
            List<Thread> threads  = new ArrayList<Thread>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/core-plugins/pmd_plugin.adoc

    [[sec:pmd_conf_threads]]
    === Parallel analysis
    
    You can configure the number of threads to be used by PMD for running its analysis.
    
    ====
    include::sample[dir="snippets/codeQuality/codeQuality/kotlin",files="build.gradle.kts[tags=pmd-threads]"]
    include::sample[dir="snippets/codeQuality/codeQuality/groovy",files="build.gradle[tags=pmd-threads]"]
    ====
    
    [NOTE]
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top