- Sort Score
- Result 10 results
- Languages All
Results 1231 - 1240 of 4,655 for news (0.06 sec)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
handle.setDoReceiveFragmentReturn(50); // When: Calling fragment methods int sendReceiveResult = handle.doSendReceiveFragment(new byte[10], 0, 10, new byte[100]); int receiveResult = handle.doReceiveFragment(new byte[100]); // Then: Should return configured values assertEquals(100, sendReceiveResult); assertEquals(50, receiveResult); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } }; public void testEnqueueAndDispatch() { Object listener = new Object();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } }; public void testEnqueueAndDispatch() { Object listener = new Object();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
} public SafeTreeSet(Comparator<? super E> comparator) { this(new TreeSet<E>(comparator)); } public SafeTreeSet(SortedSet<E> set) { this(new TreeSet<E>(set)); } private SafeTreeSet(NavigableSet<E> delegate) { this.delegate = delegate; for (E e : this) { checkValid(e); } } @Override public boolean add(E element) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
@Inject private ProfileSelector profileSelector; private List<String> activatedIds = new ArrayList<>(); private List<String> deactivatedIds = new ArrayList<>(); private List<String> defaultIds = new ArrayList<>(); private Map<String, Profile> profilesById = new LinkedHashMap<>(); private Properties requestProperties; /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
final ByteArrayOutputStream baos = new ByteArrayOutputStream(BYTE_ARRAY_SIZE); final ObjectOutputStream oos = new ObjectOutputStream(baos); try { oos.writeObject(obj); } finally { oos.close(); } return baos.toByteArray(); } catch (final IOException ex) { throw new IORuntimeException(ex); } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
new TreeBasedTable<>( requireNonNull(table.rowKeySet().comparator()), table.columnComparator()); result.putAll(table); return result; } TreeBasedTable(Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) { super(new TreeMap<R, Map<C, V>>(rowComparator), new Factory<C, V>(columnComparator));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* * {@snippet : * final WeakHashMap<Object, Object> map = new WeakHashMap<>(); * map.put(new Object(), Boolean.TRUE); * GcFinalization.awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return map.isEmpty(); * } * }); * } * * <p>Even if your non-test code does not use finalization, you can use this class to test forRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
public class PreauthIntegrityServiceTest { private PreauthIntegrityService preauthService; private SecureRandom secureRandom; @BeforeEach public void setUp() { secureRandom = new SecureRandom(); preauthService = new PreauthIntegrityService(secureRandom, PreauthIntegrityService.HASH_ALGO_SHA512, true); } @AfterEach public void tearDown() { if (preauthService != null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); } else { throw new ExecutionException(cause); } } private void wrapAndThrowRuntimeExecutionExceptionOrError(Throwable cause) { if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.5K bytes - Viewed (0)