- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,428 for CREATE (0.03 sec)
-
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
entry -> !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556); protected Multimap<String, Integer> create() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("foo", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
import org.jspecify.annotations.NullMarked; /** * Create queue of strings for tests. * * @author Jared Levy */ @GwtCompatible @NullMarked public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> { @Override public SampleElements<String> samples() { return new Strings(); } @Override public Queue<String> create(Object... elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
*/ public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) { HandleGuid guid = new HandleGuid(); // Create handle info with empty file ID (will be populated after successful create response) HandleInfo info = new HandleInfo(path, guid, new byte[16], type, timeout, leaseKey); lock.writeLock().lock(); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
private SetMultimap<String, Integer> create() { return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); } /** Create and populate a {@code TreeMultimap} with explicit comparators. */ private TreeMultimap<@Nullable String, @Nullable Integer> createPopulate() { TreeMultimap<@Nullable String, @Nullable Integer> multimap = TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
*/ public void testSize() { int unused = create().size(); } public void testIsEmpty() { boolean unused = create().isEmpty(); } public void testRemove() { create().remove(null); } public void testClear() { create().clear(); } public void testContainsKey() { boolean unused = create().containsKey(null); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext); assertNull(result); } @Test void testGetByNameWithValidEntry() throws IOException { // Create a temporary lmhosts file File lmhostsFile = tempDir.resolve("lmhosts").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.100 TESTHOST\n");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); addCallback(f, callback, directExecutor()); f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
// share access specified in SmbFile // create disposition /* Creates a new file or supersedes the existing one */ static final int FILE_SUPERSEDE = 0x0; /* Open the file or fail if it does not exist * aka OPEN_EXISTING */ static final int FILE_OPEN = 0x1; /* Create the file or fail if it does not exist * aka CREATE_NEW */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
assertFalse(task.isDone()); task.run(); assertTrue(task.isDone()); assertFalse(task.isCancelled()); assertEquals(2, getDone(task).intValue()); } public void testCancelled() throws Exception { TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2)); assertFalse(task.isDone());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0)