- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 2,559 for Chen (0.02 sec)
-
guava/src/com/google/common/collect/Queues.java
*/ long deadline = System.nanoTime() + unit.toNanos(timeout); int added = 0; while (added < numElements) { // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once) added += q.drainTo(buffer, numElements - added);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
* at most once. This is typically used when writing the request body is destructive and it is not * possible to recreate the request body after it has been sent. * * This method returns false unless it is overridden by a subclass. * * By default OkHttp will attempt to retransmit request bodies when the original request fails * due to any of: *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 25 14:41:37 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
server.requireClientAuth() val call = client.newCall(Request.Builder().url(server.url("/")).build()) assertFailsWith<IOException> { call.execute() }.also { expected -> when (expected) { is SSLHandshakeException -> { // JDK 11+ } is SSLException -> { // javax.net.ssl.SSLException: readRecord } is SocketException -> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* SMB server addressed by the URL parameter. See {@link jcifs.smb1.smb1.SmbFile} * for a detailed description and examples of the smb URL syntax. If the * second argument is <code>true</code>, then bytes will be written to the * end of the file rather than the beginning. * * @param url An smb URL string representing the file to write to * @param append Append to the end of file */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
if err.Error() != msg { t.Fatalf("Expected msg %s, got %s", msg, err) } } // Failure case when input path is not absolute. { absPaths := []string{"."} if err = checkCrossDevice(absPaths, mountsPath); err == nil { t.Fatal("Expected to fail for non absolute paths") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
} catch (_: SSLException) { false } } } fun verify( host: String, certificate: X509Certificate, ): Boolean { return when { host.canParseAsIpAddress() -> verifyIpAddress(host, certificate) else -> verifyHostname(host, certificate) } } /** Returns true if [certificate] matches [ipAddress]. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AggregateFutureState.java
} catch (Throwable reflectionFailure) { // sneaky checked exception // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // For these users fallback to a suboptimal implementation, based on synchronized. This will // be a definite performance hit to those users.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
PropertyConfiguration p3 = new PropertyConfiguration(prop3); assertEquals(DialectVersion.SMB202, p3.getMinimumVersion()); // needs to be adjusted when default changes assertEquals(DialectVersion.SMB210, p3.getMaximumVersion()); } @Test // #226 public void testLegacyConfig () throws CIFSException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
// It would be cool if there was a hook that I could use to set up a test environment. // I want to set up a local/remote repositories for testing but I don't want to have // to change them when I change the layout of the repositories. So I want to generate // the structure I want to test by using the artifact handler manager which dictates // the layout used for a particular artifact type. /** */ @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/sts/web-identity.py
authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth" token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token" # callback url specified when the application was defined callback_uri = "http://localhost:8000/oauth2/callback" # keycloak id and secret client_id = 'account' client_secret = 'daaa3008-80f0-40f7-80d7-e15167531ff0' sts_client = boto3.client(
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0)