- Sort Score
- Result 10 results
- Languages All
Results 971 - 980 of 3,763 for Int (0.04 sec)
-
guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
} } } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held segment.removeEntryFromChain(chain, head); dummy += segment.count; } return dummy; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
reader.close(); } @Override public int read() throws IOException { return (read(singleByte) == 1) ? UnsignedBytes.toInt(singleByte[0]) : -1; } // TODO(chrisn): Consider trying to encode/flush directly to the argument byte // buffer when possible. @Override public int read(byte[] b, int off, int len) throws IOException { // Obey InputStream contract.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/io/ReaderInputStream.java
reader.close(); } @Override public int read() throws IOException { return (read(singleByte) == 1) ? UnsignedBytes.toInt(singleByte[0]) : -1; } // TODO(chrisn): Consider trying to encode/flush directly to the argument byte // buffer when possible. @Override public int read(byte[] b, int off, int len) throws IOException { // Obey InputStream contract.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
private static void runLeastOfComparison(int iterations, int elements, int seeds) { Random random = new Random(42); Ordering<Integer> ordering = Ordering.natural(); for (int i = 0; i < iterations; i++) { List<Integer> list = Lists.newArrayList(); for (int j = 0; j < elements; j++) { list.add(random.nextInt(10 * i + j + 1)); } for (int seed = 1; seed < seeds; seed++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
private static void runLeastOfComparison(int iterations, int elements, int seeds) { Random random = new Random(42); Ordering<Integer> ordering = Ordering.natural(); for (int i = 0; i < iterations; i++) { List<Integer> list = Lists.newArrayList(); for (int j = 0; j < elements; j++) { list.add(random.nextInt(10 * i + j + 1)); } for (int seed = 1; seed < seeds; seed++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
public void testSize() { int expectedSize = getNumElements(); Multimap<K, V> multimap = multimap(); assertEquals(expectedSize, multimap.size()); int size = 0; for (Entry<K, V> entry : multimap.entries()) { assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue())); size++; } assertEquals(expectedSize, size); int size2 = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/WebApiException.java
private static final long serialVersionUID = 1L; private final int statusCode; public int getStatusCode() { return statusCode; } public WebApiException(final int statusCode, final String message, final Throwable cause) { super(message, cause); this.statusCode = statusCode; } public WebApiException(final int statusCode, final String message) { super(message);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbShareInfo.java
protected String netName; protected int type; protected String remark; public SmbShareInfo() { } public SmbShareInfo(String netName, int type, String remark) { this.netName = netName; this.type = type; this.remark = remark; } public String getName() { return netName; } public int getType() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.4K bytes - Viewed (0)