- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 3,763 for Int (0.02 sec)
-
android/guava/src/com/google/common/hash/Hashing.java
*/ public static int consistentHash(long input, int buckets) { checkArgument(buckets > 0, "buckets must be positive: %s", buckets); LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input); int candidate = 0; int next; // Jump from bucket to bucket until we go out of range while (true) { next = (int) ((candidate + 1) / generator.nextDouble());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ModifierUtil.java
*/ public static boolean isPublicStaticFinal(final int modifier) { return isPublic(modifier) && isStatic(modifier) && isFinal(modifier); } /** * <code>public</code>かどうか返します。 * * @param modifier * モディファイヤ * @return <code>public</code>かどうか */ public static boolean isPublic(final int modifier) { return Modifier.isPublic(modifier); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
} runFilenameTest(splitString(str, 8)); } private static String makeCharsetString ( Charset cs, int min, int max, int... excludes ) { ByteBuffer buf = ByteBuffer.allocate(128); Arrays.sort(excludes); for ( int i = 128; i < 255; i++ ) { int idx = Arrays.binarySearch(excludes, i); if ( idx < 0 || excludes[ idx ] == i ) { continue; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
* @author shinsuke * */ public class CrawlerWebServer { private int port = 8080; private File docRoot; private Server server; private boolean tempDocRoot = false; public CrawlerWebServer(final int port) { this(port, createDocRoot(3)); tempDocRoot = true; } public CrawlerWebServer(final int port, final File docRoot) { this.port = port;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Hasher[] hashers = new Hasher[functions.length]; for (int i = 0; i < hashers.length; i++) { hashers[i] = functions[i].newHasher(); } return fromHashers(hashers); } @Override public Hasher newHasher(int expectedInputSize) { checkArgument(expectedInputSize >= 0); Hasher[] hashers = new Hasher[functions.length]; for (int i = 0; i < hashers.length; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 5.4K bytes - Viewed (0) -
cmd/background-heal-ops.go
type healRoutine struct { tasks chan healTask workers int } func activeListeners() int { // Bucket notification and http trace are not costly, it is okay to ignore them // while counting the number of concurrent connections return int(globalHTTPListen.Subscribers()) + int(globalTrace.Subscribers()) } func waitForLowIO(maxIO int, maxWait time.Duration, currentIO func() int) { // No need to wait run at full speed. if maxIO <= 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
fun call(): Call fun connectTimeoutMillis(): Int fun withConnectTimeout( timeout: Int, unit: TimeUnit, ): Chain fun readTimeoutMillis(): Int fun withReadTimeout( timeout: Int, unit: TimeUnit, ): Chain fun writeTimeoutMillis(): Int fun withWriteTimeout( timeout: Int, unit: TimeUnit, ): Chain }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
*/ public class PowerSetBenchmark { @Param({"2", "4", "8", "16"}) int elements; Set<Set<Integer>> powerSet; @BeforeExperiment void setUp() { Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers()); powerSet = Sets.powerSet(set); } @Benchmark int iteration(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Set<Integer> subset : powerSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
private static int id = 0; private static final Logger log = LoggerFactory.getLogger(Transport.class); /** * Read bytes from the input stream into a buffer * * @param in * @param b * @param off * @param len * @return number of bytes read * @throws IOException */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, int num_shapes_and_types, const int64_t** shapes, const int* ranks, const TF_DataType* types, TF_Status* status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0)