- Sort Score
- Result 10 results
- Languages All
Results 1901 - 1910 of 3,018 for strana (0.07 sec)
-
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
runTest { server.enqueue(MockResponse(body = "abc")) val call = client.newCall(request) call.executeAsync().use { withContext(Dispatchers.IO) { assertThat(it.body.string()).isEqualTo("abc") } } } } @Test fun timeoutCall() { runTest { server.enqueue( MockResponse .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
@DisplayName("Should create mock with string name") void testMockWithStringName() { String nameStr = "MOCK_CONTEXT"; MockCreateContextResponse mock = new MockCreateContextResponse(nameStr); assertArrayEquals(nameStr.getBytes(StandardCharsets.UTF_8), mock.getName()); } @Test @DisplayName("Should handle null string name")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
} fun validateCloseCode(code: Int) { val message = closeCodeExceptionMessage(code) require(message == null) { message!! } } fun acceptHeader(key: String): String = (key + ACCEPT_MAGIC).encodeUtf8().sha1().base64()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
* * @param host the hostname to resolve * @param tc the CIFS context * @return resolved name, null if not found */ public synchronized NbtAddress getByName(final String host, final CIFSContext tc) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) { NbtAddress result = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
assertEquals("4.0.0", project4.getModelVersion()); Build build = project4.getBuild(); List<Plugin> plugins = build.getPlugins(); Map<String, Integer> validPluginCounts = new HashMap<>(); String testPluginArtifactId = "maven-compiler-plugin"; // this is the plugin we're looking for. validPluginCounts.put(testPluginArtifactId, 0);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jun 04 10:35:11 UTC 2025 - 6.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
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 PostMultipart().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 24 12:59:42 UTC 2019 - 2.2K bytes - Viewed (0) -
tests/non_std_test.go
package tests_test import ( "testing" "time" ) type Animal struct { Counter uint64 `gorm:"primary_key:yes"` Name string `gorm:"DEFAULT:'galeone'"` From string // test reserved sql keyword as field name Age *time.Time unexported string // unexported value CreatedAt time.Time UpdatedAt time.Time } func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) { DB.Migrator().DropTable(&Animal{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoException.java
* @param cause the cause of this exception */ public SpnegoException(final String message, final Throwable cause) { super(message, cause); } /** * Constructs a new SpnegoException with the specified detail message * @param message the detail message */ public SpnegoException(final String message) { super(message); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/RequestTimeoutException.java
*/ public RequestTimeoutException(final String msg, final Throwable rootCause) { super(msg, rootCause); } /** * Constructs a new RequestTimeoutException with the specified detail message. * * @param msg the detail message */ public RequestTimeoutException(final String msg) { super(msg); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
/** * Internal: for testing only * * @param dr the DFS referral data to process * @param reqPath the requested path to resolve * @return resolved unc path */ String handleDFSReferral(DfsReferralData dr, String reqPath);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)