- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 41 for GB (0.52 seconds)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("1.0 GB", format.format(1000L * 1000L * 1000L)); assertEquals("5.5 GB", format.format(5500L * 1000L * 1000L)); assertEquals("10 GB", format.format(10L * 1000L * 1000L * 1000L)); assertEquals("15 GB", format.format(15L * 1000L * 1000L * 1000L)); assertEquals("1000 GB", format.format(1000L * 1000L * 1000L * 1000L)); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 10.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
Arguments.of(1000L * 1000L * 1000L, "1.0 GB"), Arguments.of(5500L * 1000L * 1000L, "5.5 GB"), Arguments.of(10L * 1000L * 1000L * 1000L, "10 GB"), Arguments.of(15L * 1000L * 1000L * 1000L, "15 GB"), Arguments.of(1000L * 1000L * 1000L * 1000L, "1000 GB")); } @ParameterizedTest @MethodSource("sizeTestData")
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java
*/ package org.apache.maven.cling.transfer; import org.apache.maven.api.services.MessageBuilder; /** * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10 * and <code>###0</code> for numbers between 10 and 1000+ by default. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 7K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/concepts.md
而多個行程通常「不共享記憶體」。這表示每個執行中的行程都有自己的東西、變數與記憶體。如果你的程式碼會用掉大量記憶體,「每個行程」都會消耗等量的記憶體。 ### 伺服器記憶體 { #server-memory } 例如,如果你的程式碼載入一個「1 GB 大小」的機器學習模型,當你用一個行程執行你的 API,它就會至少吃掉 1 GB 的 RAM。若你啟動「4 個行程」(4 個 workers),每個會吃 1 GB RAM。總計你的 API 會吃掉「4 GB RAM」。 如果你的遠端伺服器或虛擬機只有 3 GB RAM,嘗試載入超過 4 GB 的 RAM 就會出問題。🚨 ### 多個行程 - 範例 { #multiple-processes-an-example } 在這個例子中,有一個「管理行程(Manager Process)」會啟動並控制兩個「工作行程(Worker Processes)」。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 16.1K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
private static final String ANSI_DARK_RESET = ESC + "[0m"; // CHECKSTYLE_OFF: LineLength /** * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10 * and <code>###0</code> for numbers between 10 and 1000+ by default. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 9.2K bytes - Click Count (0) -
docs/en/docs/deployment/concepts.md
For example, if your code loads a Machine Learning model with **1 GB in size**, when you run one process with your API, it will consume at least 1 GB of RAM. And if you start **4 processes** (4 workers), each will consume 1 GB of RAM. So in total, your API will consume **4 GB of RAM**. And if your remote server or virtual machine only has 3 GB of RAM, trying to load more than 4 GB of RAM will cause problems. 🚨
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 18.5K bytes - Click Count (1) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
*/ package org.apache.maven.cli.transfer; import org.apache.maven.api.services.MessageBuilder; /** * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10 * and <code>###0</code> for numbers between 10 and 1000+ by default. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 6.5K bytes - Click Count (0) -
build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/fake_elasticsearch-with-added-config.tar.gz
some added config file elasticsearch-1.2.3/config/jvm.options ## JVM configuration ########## ## IMPORTANT: JVM heap size ########## ## ## You should always set the min and max JVM heap ## size to the same value. For example, to set ## the heap to 4 GB, set: ## ## -Xms4g ## -Xmx4g ## ## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html ## for more information ## ########## # Xms represents the initial size of total heap space # Xmx represents the maximum size of total...
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.2K bytes - Click Count (0) -
build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/fake_elasticsearch.tar.gz
fake_elasticsearch.tar elasticsearch-1.2.3/config/jvm.options ## JVM configuration ########## ## IMPORTANT: JVM heap size ########## ## ## You should always set the min and max JVM heap ## size to the same value. For example, to set ## the heap to 4 GB, set: ## ## -Xms4g ## -Xmx4g ## ## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html ## for more information ## ########## # Xms represents the initial size of total heap space # Xmx represents the maximum size of total...
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/fake_elasticsearch-with-added-jar.tar.gz
{ void SomeClass(); } elasticsearch-1.2.3/config/jvm.options ## JVM configuration ########## ## IMPORTANT: JVM heap size ########## ## ## You should always set the min and max JVM heap ## size to the same value. For example, to set ## the heap to 4 GB, set: ## ## -Xms4g ## -Xmx4g ## ## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html ## for more information ## ########## # Xms represents the initial size of total heap space # Xmx represents the maximum size of total...Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.6K bytes - Click Count (0)