- Sort Score
- Result 10 results
- Languages All
Results 1301 - 1310 of 4,648 for new1 (0.02 sec)
-
android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
ImmutableList.Builder<Object> builder = new ImmutableList.Builder<>(size); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += builder.build().size(); } return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
* * @author Louis Wasserman */ @NullUnmarked public class DoubleMathRoundingBenchmark { private static final double[] doubleInIntRange = new double[ARRAY_SIZE]; private static final double[] doubleInLongRange = new double[ARRAY_SIZE]; private static final double[] positiveDoubles = new double[ARRAY_SIZE]; @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"}) RoundingMode mode; @BeforeExperimentRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UnicodeString.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
if (throwOnEncode) { throw new NdrException("Failed to encode"); } // Simulate some encoding activity on the buffer dst.enc_ndr_long(123); } @Override public void decode(NdrBuffer src) throws NdrException { if (throwOnDecode) { throw new NdrException("Failed to decode"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
List<Artifact> list = new ArrayList<>(); list.add(newArtifact("b")); list.add(newArtifact("a")); list.add(newArtifact("c")); list.add(newArtifact("e")); list.add(newArtifact("d")); Map<String, Artifact> map = ArtifactUtils.artifactMapByVersionlessId(list); assertNotNull(map); assertEquals(list, new ArrayList<>(map.values())); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
final SearchHit[] hits = searchResponse.getHits().getHits(); final List<String> words = new ArrayList<>(); final List<String> firstWords = new ArrayList<>(); final List<String> secondWords = new ArrayList<>(); final List<SuggestItem> firstItems = new ArrayList<>(); final List<SuggestItem> secondItems = new ArrayList<>(); final String index; if (hits.length > 0) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java
* . */ @Test public void testSUnsupportedOperationExceptionStringThrowable() { final ClUnsupportedOperationException clUnsupportedOperationException = new ClUnsupportedOperationException("hoge", new NullPointerException()); assertThat(clUnsupportedOperationException.getMessage(), is("hoge")); assertThat(clUnsupportedOperationException.getCause(), instanceOf(NullPointerException.class)); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
void testReadWriteMethodsReturnValues() { SmbComClose close = new SmbComClose(10, 5000L); assertEquals(0, close.readParameterWordsWireFormat(new byte[10], 0)); assertEquals(0, close.readBytesWireFormat(new byte[10], 0)); assertEquals(0, close.writeBytesWireFormat(new byte[10], 0)); assertEquals(6, close.writeParameterWordsWireFormat(new byte[10], 0)); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
*/ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <E extends Comparable> TreeMultiset<E> create() { return new TreeMultiset<>(Ordering.natural()); } /** * Creates a new, empty multiset, sorted according to the specified comparator. All elements * inserted into the multiset must be <i>mutually comparable</i> by the specified comparator:Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
final int threadCount = 10; final Thread[] threads = new Thread[threadCount]; final InvertibleCryptographer[] invertibles = new InvertibleCryptographer[threadCount]; final OneWayCryptographer[] oneWays = new OneWayCryptographer[threadCount]; for (int i = 0; i < threadCount; i++) { final int index = i; threads[i] = new Thread(() -> {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0)