- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 504 for printer (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
} /** * Ensures toString contains key fields with expected formatting. */ @Test void testToStringContainsExpectedFields() { // Given int sid = 4660; // 0x1234, printed as decimal int resumeKey = 0x01020304; // shows only low 4 hex digits per implementation String name = "name"; Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
prepare_stmt.go
// - ttl: The time-to-live duration for each prepared statement in the store. Statements older than this duration will be automatically removed. // // Returns: // - A pointer to a PreparedStmtDB instance, which manages prepared statements using the provided connection pool and configuration. func NewPreparedStmtDB(connPool ConnPool, maxSize int, ttl time.Duration) *PreparedStmtDB { return &PreparedStmtDB{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/http-tracer.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
.url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); try (Response response = client.newCall(request).execute()) { System.out.println("Response completed: " + response); } } public static void main(String... args) throws Exception { new ConfigureTimeouts().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Sep 28 18:00:26 UTC 2019 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java
final TimeConverter converter = new TimeConverter("HH:mm:ss"); final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56"); System.out.println(result); assertThat(converter.getAsString(result), is("12:34:56")); } /** * @throws Exception */ public void testIsTarget() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostForm.java
.post(formBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostForm().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java
final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd"); final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.body().string()); } server.shutdown(); socketFile.delete(); } public static void main(String... args) throws Exception { new ClientAndServer().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 24 03:46:30 UTC 2018 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
*/ public void testExpired() throws Exception { TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() { public void expired() { System.out.println("expired"); expiredCount++; } }, 1, true); assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000); assertTrue(expiredCount > 0);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K bytes - Viewed (0)