- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for math (0.13 sec)
-
cmd/metrics-v3-system-cpu.go
m.Set(sysCPULoadPerc, math.Round(perc*100)/100) } ts := cpuMetrics.TimesStat tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal cpuUserVal := math.Round(ts.User/tot*100*100) / 100 m.Set(sysCPUUser, cpuUserVal) cpuSystemVal := math.Round(ts.System/tot*100*100) / 100 m.Set(sysCPUSystem, cpuSystemVal) cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100 m.Set(sysCPUNice, cpuNiceVal)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 23:56:12 GMT 2024 - 3K bytes - Viewed (0) -
cmd/warm-backend-minio.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "fmt" "io" "math" "net/url" "strings" "github.com/minio/madmin-go/v3" minio "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) type warmBackendMinIO struct { warmBackendS3 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 3.8K bytes - Viewed (0) -
cmd/erasure-common.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "fmt" "io" "math/rand" "sync" "time" "github.com/minio/pkg/v2/sync/errgroup" ) func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) { disks := er.getDisks() var wg sync.WaitGroup var mu sync.Mutex
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 4.6K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "encoding/json" "fmt" "math/big" "strings" "text/tabwriter" "time" "sigs.k8s.io/yaml" "istio.io/istio/pkg/log" ) // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0) -
.cm/plugins/filters/byCodeowner/index.js
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 19:12:32 GMT 2024 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java
import java.nio.file.Files; import java.nio.file.Path; import java.util.Objects; class PathSource implements ModelSource { private final Path path; private final String location; PathSource(Path path) { this(path, null); } PathSource(Path path, String location) { this.path = path; this.location = location != null ? location : path.toString(); } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 2.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 4.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
} } } Path path = paths.get(id); if (path == null && artifact instanceof DefaultArtifact) { path = ((DefaultArtifact) artifact).getArtifact().getPath(); } return Optional.ofNullable(path); } @Override public void setPath(@Nonnull Artifact artifact, Path path) { String id = id(nonNull(artifact, "artifact"));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
StringBuilder path = new StringBuilder(128); path.append(artifact.getGroupId()).append('/'); path.append(artifact.getExtension()).append("s/"); path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion()); if (!artifact.getClassifier().isEmpty()) { path.append('-').append(artifact.getClassifier()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java
LocalSnapshotMetadata(Artifact artifact, Date timestamp) { super(createMetadata(artifact), (Path) null, timestamp); } LocalSnapshotMetadata(Metadata metadata, Path path, Date timestamp) { super(metadata, path, timestamp); } private static Metadata createMetadata(Artifact artifact) { Snapshot snapshot = Snapshot.newBuilder().localCopy(true).build();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 10:10:21 GMT 2024 - 4.8K bytes - Viewed (0)