- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 3,213 for createA (0.04 sec)
-
internal/store/queuestore_test.go
defer func() { if err := tearDownQueueStore(); err != nil { t.Fatal("Failed to tear down store ", err) } }() store, err := setUpQueueStore(queueDir, 100) if err != nil { t.Fatal("Failed to create a queue store ", err) } // Put 100 items. for range 100 { if _, err := store.Put(testItem); err != nil { t.Fatal("Failed to put to queue store ", err) } } // Count the items. keys := store.List()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
UnsupportedOperationException.class, () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3())))); } @MapFeature.Require(SUPPORTS_PUT) // Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") public void testPutAllIntoEmpty() { Multimap<K, V> target = getSubjectGenerator().create(); assertEquals(!multimap().isEmpty(), target.putAll(multimap()));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
UnsupportedOperationException.class, () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3())))); } @MapFeature.Require(SUPPORTS_PUT) // Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") public void testPutAllIntoEmpty() { Multimap<K, V> target = getSubjectGenerator().create(); assertEquals(!multimap().isEmpty(), target.putAll(multimap()));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
} try { // Create SmbFile with cached attributes SmbFile file = new SmbFile(filePath, context); // Note: We would need to add a method to SmbFile to set cached attributes // For now, just return the file object return file; } catch (Exception e) { log.warn("Failed to create SmbFile for {}: {}", filePath, e.getMessage());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
implements TestListGenerator<Entry<String, Integer>> { @Override public List<Entry<String, Integer>> create(Object... elements) { return (List<Entry<String, Integer>>) super.create(elements); } } public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(transformSuite()); suite.addTest(filterSuite());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Sep 24 22:52:18 UTC 2025 - 28.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Arrange stubAcquireReturnsSelf(); List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} }); // Create iterator where open() returns null by giving null initial TestIterator it = TestIterator.create(tree, parent, "*", null, 0, null, pages); // Assert assertFalse(it.hasNext(), "No next when opened with null initial");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
for (int i = 0; i < checksum.length; i++) { checksum[i] = (byte) i; } baos.write(checksum); byte[] data = baos.toByteArray(); // Create PacSignature PacSignature pacSignature = new PacSignature(data); // Verify assertEquals(PacSignature.KERB_CHECKSUM_HMAC_MD5, pacSignature.getType());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.smb2.create.Smb2CloseRequest; import jcifs.internal.smb2.create.Smb2CloseResponse; import jcifs.internal.smb2.create.Smb2CreateRequest; import jcifs.internal.smb2.create.Smb2CreateResponse; import jcifs.internal.smb2.info.Smb2QueryInfoRequest; import jcifs.internal.smb2.info.Smb2QueryInfoResponse;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/RemovalNotificationTest.java
new EqualsTester() .addEqualityGroup( RemovalNotification.create("one", 1, RemovalCause.EXPLICIT), RemovalNotification.create("one", 1, RemovalCause.REPLACED)) .addEqualityGroup(RemovalNotification.create("1", 1, RemovalCause.EXPLICIT)) .addEqualityGroup(RemovalNotification.create("one", 2, RemovalCause.EXPLICIT)) .testEquals(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
} /** * Creates a new CurlRequest with the HTTP PUT method for the specified URL. * * @param url the URL to which the PUT request will be sent * @return a new CurlRequest object configured with the PUT method and the specified URL */ public static CurlRequest put(final String url) { return new CurlRequest(Method.PUT, url); } /**Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0)