- Sort Score
- Result 10 results
- Languages All
Results 691 - 700 of 1,533 for somt (0.02 sec)
-
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
@Param({"1000", "2000"}) int maximumSize; @Param("5000") int distinctKeys; @Param("4") int segments; // 1 means uniform likelihood of keys; higher means some keys are more popular // tweak this to control hit rate @Param("2.5") double concentration; Random random = new Random(); LoadingCache<Integer, Integer> cache; int max;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/html/HtmlEscapers.java
* href="https://developers.google.com/closure/templates/">Closure Templates</a>. * * <p>HTML escaping is particularly tricky: For example, <a * href="https://www.w3.org/TR/html4/types.html#h-6.2">some elements' text contents must not be HTML * escaped</a>. As a result, it is impossible to escape an HTML document correctly without * domain-specific knowledge beyond what {@code HtmlEscapers} provides. We strongly encourage the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
import java.util.concurrent.TimeUnit; import org.checkerframework.checker.nullness.qual.Nullable; /** * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be * desirable to use in some unit tests. More importantly, attempting to debug a call which is * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in * for your real time-limiter while you're debugging. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/GwtCompatible.java
* </pre> * * <p>The {@code newArrayList(E[])} method of all implementations of {@code ListFactory} is expected * to return a value with a GWT serializable type. * * <p>Note that a {@code GwtCompatible} type may have some {@link GwtIncompatible} methods. * * @author Charles Fry * @author Hayward Chan */ @Retention(RetentionPolicy.CLASS) @Target({ElementType.TYPE, ElementType.METHOD}) @Documented @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 2.9K bytes - Viewed (0) -
cmd/signature-v2.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "crypto/hmac" "crypto/sha1" "crypto/subtle" "encoding/base64" "fmt" "net/http" "net/url" "sort" "strconv" "strings" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/auth" ) // Whitelist resource list that will be used in query string for signature-V2 calculation.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* demand. * * <p><b>Warning:</b> in most circumstances it is better to set a per-cache {@linkplain * #maximumSize(long) maximum size} instead of using soft references. You should only use this * method if you are well familiar with the practical consequences of soft references. * * <p><b>Note:</b> when this method is used, the resulting cache will use identity ({@code ==}) * comparison to determine equality of values.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 51.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
// Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) { final char c = (char) random.nextInt(); if (bitSet.get(c)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 16 22:49:59 UTC 2018 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* to test it. */ return; } /* * Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test * anything interesting under most environments. Still, we can run it (except for Android, at
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
// Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) { final char c = (char) random.nextInt(); if (bitSet.get(c)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 16 22:49:59 UTC 2018 - 3.9K bytes - Viewed (0) -
cmd/namespace-lock.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "fmt" pathutil "path" "runtime" "sort" "strings" "sync" "time" "github.com/minio/minio/internal/dsync" "github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/lsync" ) // local lock servers
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0)