- Sort Score
- Result 10 results
- Languages All
Results 1161 - 1170 of 4,617 for New (0.01 sec)
-
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/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
@Test void testShareInfoCtr0EncodeWithArray() throws NdrException { srvsvc.ShareInfoCtr0 ctr0 = new srvsvc.ShareInfoCtr0(); ctr0.count = 2; ctr0.array = new srvsvc.ShareInfo0[2]; ctr0.array[0] = new srvsvc.ShareInfo0(); ctr0.array[0].netname = "Share1"; ctr0.array[1] = new srvsvc.ShareInfo0(); ctr0.array[1].netname = "Share2"; // Set up mocksRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
SmbCircuitBreaker backpressureCircuitBreaker = new SmbCircuitBreaker("backpressure-test", 5, 2, 1000, 3, false, true, 2); try { CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch completeLatch = new CountDownLatch(5); AtomicInteger rejectedCount = new AtomicInteger(0); AtomicInteger successCount = new AtomicInteger(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K 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) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
// Create RDMA-enabled context Properties props = new Properties(); props.setProperty("jcifs.smb.client.useRDMA", "true"); props.setProperty("jcifs.smb.client.rdmaProvider", "auto"); PropertyConfiguration config = new PropertyConfiguration(props); testContext = new BaseContext(config); } // ============================================Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
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/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) -
android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) { AssertionError error = new AssertionError("malformed class path entry: " + entry); error.initCause(e);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0)