Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getCpu (0.07 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

        private static class OptionComparator implements Comparator<Option> {
            public int compare(Option opt1, Option opt2) {
                String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt();
                String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt();
                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. lib/wasm/wasm_exec.js

    							const args = loadSliceOfValues(sp + 32);
    							const result = Reflect.apply(m, v, args);
    							sp = this._inst.exports.getsp() >>> 0; // see comment above
    							storeValue(sp + 56, result);
    							this.mem.setUint8(sp + 64, 1);
    						} catch (err) {
    							sp = this._inst.exports.getsp() >>> 0; // see comment above
    							storeValue(sp + 56, err);
    							this.mem.setUint8(sp + 64, 0);
    						}
    					},
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                StringBuilder sb = new StringBuilder();
                sb.append("The option ");
                if (option.getOpt() != null) {
                    sb.append("-").append(option.getOpt());
                }
                if (option.getLongOpt() != null) {
                    if (option.getOpt() != null) {
                        sb.append(",");
                    }
                    sb.append("--").append(option.getLongOpt());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

                commandLineBuilder.setDeprecatedHandler(o -> {});
                for (Option option : options.commandLine.getOptions()) {
                    if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) {
                        List<String> values = option.getValuesList();
                        for (ListIterator<String> it = values.listIterator(); it.hasNext(); ) {
                            it.set(interpolator.interpolate(it.next()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    	resp, err := serverInfoRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{peerRESTMetrics: strconv.FormatBool(metrics)}))
    	return resp.ValueOrZero(), err
    }
    
    // GetCPUs - fetch CPU information for a remote node.
    func (client *peerRESTClient) GetCPUs(ctx context.Context) (info madmin.CPUs, err error) {
    	resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                commandLineBuilder.setDeprecatedHandler(o -> {});
                for (Option option : options.commandLine.getOptions()) {
                    if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) {
                        List<String> values = option.getValuesList();
                        for (ListIterator<String> it = values.listIterator(); it.hasNext(); ) {
                            it.set(interpolator.interpolate(it.next()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. cmd/notification.go

    		if nErr.Err != nil {
    			peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String())
    		}
    	}
    }
    
    // GetCPUs - Get all CPU information.
    func (sys *NotificationSys) GetCPUs(ctx context.Context) []madmin.CPUs {
    	reply := make([]madmin.CPUs, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            List<Option> setPropertyOptions = new ArrayList<>();
            for (Option opt : mavenCli.getOptions()) {
                if (String.valueOf(CLIManager.SET_USER_PROPERTY).equals(opt.getOpt())) {
                    setPropertyOptions.add(opt);
                } else {
                    commandLineBuilder.addOption(opt);
                }
            }
            for (Option opt : mavenConfig.getOptions()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		}
    	}
    
    	getAndWriteCPUs := func() {
    		if query.Get("syscpu") == "true" {
    			localCPUInfo := madmin.GetCPUs(healthCtx, globalLocalNodeName)
    			anonymizeAddr(&localCPUInfo)
    			healthInfo.Sys.CPUInfo = append(healthInfo.Sys.CPUInfo, localCPUInfo)
    
    			peerCPUInfo := globalNotificationSys.GetCPUs(healthCtx)
    			for _, cpuInfo := range peerCPUInfo {
    				anonymizeAddr(&cpuInfo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	return madminServerProperties.NewJSONWith(&info), nil
    }
    
    // GetCPUsHandler - returns CPU info.
    func (s *peerRESTServer) GetCPUsHandler(_ *grid.MSS) (*grid.JSON[madmin.CPUs], *grid.RemoteErr) {
    	info := madmin.GetCPUs(context.Background(), globalLocalNodeName)
    	return madminCPUs.NewJSONWith(&info), nil
    }
    
    // GetNetInfoHandler - returns network information.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top