Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 145 for getrusage (0.23 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStats.java

                sum += event.getUsage().getUsed();
            }
            return sum / events.size();
        }
    
        private static long findMaxSize(Collection<GarbageCollectionEvent> events) {
            // Maximum pool size is fixed, so we should only need to get it from the first event
            GarbageCollectionEvent first = events.iterator().next();
            return first.getUsage().getMax();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/component/UsageContext.java

    /**
     * This is a legacy type and should be avoided if possible. Use {@link SoftwareComponentVariant} instead.
     */
    public interface UsageContext extends SoftwareComponentVariant {
        @Deprecated
        default Usage getUsage(){
            // This method kept for backwards compatibility of plugins (like kotlin-multiplatform) using internal APIs.
            // KMP has recently stopped using this method, so we should be able to remove it
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 04 19:31:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/script/errors.go

    	suffix := ""
    	if usage.Async {
    		suffix = " [&]"
    	}
    	return fmt.Sprintf("usage: %s %s%s", e.Name, usage.Args, suffix)
    }
    
    // ErrUsage may be returned by a Command to indicate that it was called with
    // invalid arguments; its Usage method may be called to obtain details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:10 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolverTest.groovy

        }
    
        def "detects variants with the same name"() {
            def child1 = Stub(TestComponent) {
                getUsages() >> [
                    Stub(UsageContext) {
                        getName() >> "foo"
                    }
                ]
            }
            def child2 = Stub(TestComponent) {
                getUsages() >> [
                    Stub(UsageContext) {
                        getName() >> "foo"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:37:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/vcweb/script.go

    		},
    		func(st *script.State, args ...string) (wait script.WaitFunc, err error) {
    			if len(args) != 3 {
    				return nil, script.ErrUsage
    			}
    			zipPath := st.Path(args[0])
    			mPath, version, ok := strings.Cut(args[1], "@")
    			if !ok {
    				return nil, script.ErrUsage
    			}
    			dir := st.Path(args[2])
    
    			if err := os.MkdirAll(filepath.Dir(zipPath), 0755); err != nil {
    				return nil, err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 9K bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), func Getpgrp() int
    pkg syscall (freebsd-386-cgo), func Getpriority(int, int) (int, error)
    pkg syscall (freebsd-386-cgo), func Getrlimit(int, *Rlimit) error
    pkg syscall (freebsd-386-cgo), func Getrusage(int, *Rusage) error
    pkg syscall (freebsd-386-cgo), func Getsid(int) (int, error)
    pkg syscall (freebsd-386-cgo), func Getsockname(int) (Sockaddr, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  7. src/cmd/go/internal/script/conds.go

    	eval  func(*State) (bool, error)
    	usage CondUsage
    }
    
    func (c *funcCond) Usage() *CondUsage { return &c.usage }
    
    func (c *funcCond) Eval(s *State, suffix string) (bool, error) {
    	if suffix != "" {
    		return false, ErrUsage
    	}
    	return c.eval(s)
    }
    
    // PrefixCondition returns a Cond with the given summary and evaluation function.
    func PrefixCondition(summary string, eval func(*State, string) (bool, error)) Cond {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionEvent.java

            this.timestamp = timestamp;
            this.usage = usage;
            this.count = count;
        }
    
        public long getTimestamp() {
            return timestamp;
        }
    
        public MemoryUsage getUsage() {
            return usage;
        }
    
        public long getCount() {
            return count;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/script/cmds.go

    		CmdUsage{
    			Summary: "concatenate files and print to the script's stdout buffer",
    			Args:    "files...",
    		},
    		func(s *State, args ...string) (WaitFunc, error) {
    			if len(args) == 0 {
    				return nil, ErrUsage
    			}
    
    			paths := make([]string, 0, len(args))
    			for _, arg := range args {
    				paths = append(paths, s.Path(arg))
    			}
    
    			var buf strings.Builder
    			errc := make(chan error, 1)
    			go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishCustomComponentIntegTest.groovy

                class MySoftwareComponent implements org.gradle.api.internal.component.SoftwareComponentInternal {
                    String name = 'comp'
                    Set<org.gradle.api.internal.component.UsageContext> getUsages() {
                        return Collections.emptySet()
                    }
                }
                class MyComponentWithUsages extends MySoftwareComponent {
                    static PublishArtifact publishedArtifact
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top