- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 2,810 for created (0.09 sec)
-
mockwebserver/README.md
1. Script the mocks. 2. Run application code. 3. Verify that the expected requests were made. Here's a complete example: ### Java ```java public void test() throws Exception { // Create a MockWebServer. These are lean enough that you can create a new // instance for every unit test. MockWebServer server = new MockWebServer(); // Schedule some responses. server.enqueue(new MockResponse.Builder() .body("hello, world!")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
// create input source final InputSource is = new InputSource(new ByteArrayInputStream(accessResultData.getData())); if (StringUtil.isNotBlank(accessResultData.getEncoding())) { is.setEncoding(accessResultData.getEncoding()); } // create handler final DocHandler handler = new DocHandler();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
private final transient int mask; static <K, V> ImmutableMap<K, V> fromEntries(Entry<K, V>... entries) { return fromEntryArray(entries.length, entries, /* throwIfDuplicateKeys= */ true); } /** * Creates an ImmutableMap from the first n entries in entryArray. This implementation may replace * the entries in entryArray with its own entry objects (though they will have the same key/value
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
tests/error_translator_test.go
} city := City{Name: "Amsterdam"} err = db.Create(&city).Error if err != nil { t.Fatalf("failed to create city: %v", err) } err = db.Create(&Museum{Name: "Eye Filmmuseum", CityID: city.ID}).Error if err != nil { t.Fatalf("failed to create museum: %v", err) } err = db.Create(&Museum{Name: "Dungeon", CityID: 123}).Error if !errors.Is(err, gorm.ErrForeignKeyViolated) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
create().isEmpty(); create().iterator(); create().remove("foo"); create().removeAll(ImmutableList.of("foo")); create().retainAll(ImmutableList.of("foo")); create().size(); create().toArray(); create().toArray(new String[] {"foo"}); create().addFirst("e"); create().addLast("e"); create().offerFirst("e"); create().offerLast("e"); create().removeFirst();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java
private static final long serialVersionUID = -6732367317955522602L; /** * Creates a {@link ClUnsupportedOperationException}. */ public ClUnsupportedOperationException() { } /** * Creates a {@link ClUnsupportedOperationException}. * * @param message the message */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
private byte[] tmp = new byte[1]; private SmbComWriteAndX reqx; private SmbComWriteAndXResponse rspx; private SmbComWrite req; private SmbComWriteResponse rsp; /** * Creates an {@link java.io.OutputStream} for writing to a file * on an SMB server addressed by the URL parameter. See {@link * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of * the smb URL syntax. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
long create = 1600000000000L; long lastAccess = 1600000100000L; long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601) long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; writeLong(buffer, 0, (create + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public static final fun create (Lokhttp3/MediaType;[B)Lokhttp3/RequestBody; public static final fun create (Lokhttp3/MediaType;[BI)Lokhttp3/RequestBody; public static final fun create (Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody; public static final fun create (Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)