Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 223 for getStat (1.16 sec)

  1. src/cmd/vendor/golang.org/x/term/term.go

    // restored.
    func MakeRaw(fd int) (*State, error) {
    	return makeRaw(fd)
    }
    
    // GetState returns the current state of a terminal which may be useful to
    // restore the terminal after a signal.
    func GetState(fd int) (*State, error) {
    	return getState(fd)
    }
    
    // Restore restores the terminal connected to the given file descriptor to a
    // previous state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/term/term_unsupported.go

    	return false
    }
    
    func makeRaw(fd int) (*State, error) {
    	return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func getState(fd int) (*State, error) {
    	return nil, fmt.Errorf("terminal: GetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func restore(fd int, state *State) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializerTest.groovy

            def newState = serialized(state)
            newState.fileStates.size() == 2
    
            def emptyCompileState = newState.getState(fileEmpty)
            emptyCompileState.hash == TestHashCodes.hashCodeFrom(0x12345678)
            emptyCompileState.edges.empty
    
            def otherCompileState = newState.getState(fileTwo)
            otherCompileState.hash == TestHashCodes.hashCodeFrom(0x23456789)
            otherCompileState.edges == stateTwo.edges
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskMutator.java

            this.task = task;
        }
    
        public void mutate(String method, Runnable action) {
            if (!task.getState().isConfigurable()) {
                throw new IllegalStateException(format(method));
            }
            action.run();
        }
    
        public <T> T mutate(String method, Callable<T> action) {
            if (!task.getState().isConfigurable()) {
                throw new IllegalStateException(format(method));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/term/term_plan9.go

    }
    
    func makeRaw(fd int) (*State, error) {
    	return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func getState(fd int) (*State, error) {
    	return nil, fmt.Errorf("terminal: GetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    }
    
    func restore(fd int, state *State) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/EmbeddedDaemonRegistry.java

                return daemonInfo.getState() == Idle;
            }
        });
    
        @SuppressWarnings("unchecked")
        private final Spec<DaemonInfo> busySpec = Specs.<DaemonInfo>intersect(allSpec, new Spec<DaemonInfo>() {
            public boolean isSatisfiedBy(DaemonInfo daemonInfo) {
                return daemonInfo.getState() != Idle;
            }
        });
    
        @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java

                    return daemonInfo.getState() == Idle;
                }
            });
        }
    
        @Override
        public List<DaemonInfo> getNotIdle() {
            return getDaemonsMatching(new Spec<DaemonInfo>() {
                @Override
                public boolean isSatisfiedBy(DaemonInfo daemonInfo) {
                    return daemonInfo.getState() != Idle;
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/edges/DependencyNodesSet.java

            }
    
            @Override
            public void onNodeComplete(Node node, Node dependency) {
            }
    
            @Override
            public Node.DependenciesState getState(Node node) {
                return Node.DependenciesState.COMPLETE_AND_SUCCESSFUL;
            }
    
            @Override
            public void healthDiagnostics(StringBuilder builder) {
                builder.append("no dependencies");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 20 06:27:56 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. cmd/speedtest.go

    		var throughputHighestResults []SpeedTestResult
    
    		sendResult := func() {
    			var result madmin.SpeedTestResult
    
    			durationSecs := opts.duration.Seconds()
    
    			result.GETStats.ThroughputPerSec = throughputHighestGet / uint64(durationSecs)
    			result.GETStats.ObjectsPerSec = throughputHighestGet / uint64(opts.objectSize) / uint64(durationSecs)
    			result.PUTStats.ThroughputPerSec = throughputHighestPut / uint64(durationSecs)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonRegistryStateProbe.groovy

            def daemonInfo = registry.all.find { it.context.pid == context.pid }
            registry.remove(daemonInfo.address)
            registry.store(new DaemonInfo(daemonInfo.address, daemonInfo.context, "password".bytes, daemonInfo.getState()))
        }
    
        void assertRegistryNotWorldReadable() {
            def registryFile = new DaemonDir(context.daemonRegistryDir).registry
            if (OperatingSystem.current().isLinux() || OperatingSystem.current().isMacOsX()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top