- Sort Score
- Num 10 results
- Language All
Results 2691 - 2700 of 6,187 for New (0.01 seconds)
-
guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java
@Subscribe public abstract void overriddenInSubclass(Object o); } static class SubClass extends SuperClass { final List<Object> overriddenAndAnnotatedInSubclassEvents = new ArrayList<>(); final List<Object> overriddenInSubclassEvents = new ArrayList<>(); @Subscribe @Override public void overriddenAndAnnotatedInSubclass(Object o) { overriddenAndAnnotatedInSubclassEvents.add(o); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
* @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() { @Override protected void parseURL(final URL u, final String spec, final int start, final int limit) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
InetAddress remoteAddr = InetAddress.getByName("192.168.1.200"); localInterface = new NetworkInterfaceInfo(localAddr, 1000); remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000); channelInfo = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); } @Test void testConstructor() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
@Param Impl impl; private final Exception exception = new Exception(); private Facade<?> notDoneFuture; @BeforeExperiment void setUp() throws Exception { notDoneFuture = impl.newFacade(); } @Benchmark public long timeComplete_Normal(int reps) throws Exception { long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps); for (int i = 0; i < reps; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java
assertThat(map.keySet().toString()).isEqualTo("[" + JOINER.join(map.keySet()) + "]"); assertThat(map.values().toString()).isEqualTo("[" + JOINER.join(map.values()) + "]"); assertEquals(new HashSet<>(map.entrySet()), map.entrySet()); assertEquals(new HashSet<>(map.keySet()), map.keySet()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
} while (bufferIndex < bufferOffset + bufferLength); this.results = infos.toArray(new FileEntry[infos.size()]); return bufferIndex - start; } private FileBothDirectoryInfo createFileInfo() { if (this.expectInfoClass == Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO) { return new FileBothDirectoryInfo(getConfig(), true); } return null; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Throwables.java
* illustrated in the example above * @deprecated To preserve behavior, use {@code throw e} or {@code throw new RuntimeException(e)} * directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new * RuntimeException(e)}. But consider whether users would be better off if your API threw a * different type of exception. For background on the deprecation, read <aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null. assertEquals(new ArrayList<>(), new ArrayList<>(values)); assertEquals(size, multimap().size()); } else { assertEquals(newArrayList(v3()), new ArrayList<>(values)); assertEquals(size + 1, multimap().size()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaperBuilder.java
// Replacement mappings. private final Map<Character, String> map; // The highest index we've seen so far. private int max = -1; /** Construct a new sparse array builder. */ public CharEscaperBuilder() { this.map = new HashMap<>(); } /** Add a new mapping from an index to an object to the escaping. */ @CanIgnoreReturnValue public CharEscaperBuilder addEscape(char c, String r) { map.put(c, checkNotNull(r));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
String throughput = ""; long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0) { DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH)); double kbPerSec = (contentLength / 1024.0) / (duration / 1000.0); throughput = " at " + format.format(kbPerSec) + " KB/sec"; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.5K bytes - Click Count (0)