- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 324 for listFn (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
} @Test fun proxySelector() { server.enqueue(MockResponse.Builder().body("abc").build()) val proxySelector: ProxySelector = object : ProxySelector() { override fun select(uri: URI) = listOf(socksProxy.proxy()) override fun connectFailed( uri: URI, socketAddress: SocketAddress, e: IOException, ) = error("unexpected call") } val client =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
cmd/peer-rest-client.go
select { case listenCh <- *b: default: // Do not block on slow receivers. b.Recycle() } return nil }) } // Listen - listen on peers. func (client *peerRESTClient) Listen(ctx context.Context, listenCh chan<- []byte, v url.Values) { go func() { for { client.doListen(ctx, listenCh, v) select { case <-ctx.Done(): return default:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
public void testNoNullValues() { for (StandardSystemProperty property : StandardSystemProperty.values()) { // Even though the contract in System.getProperties() specifies that a value will exist for // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs. if (property == JAVA_COMPILER) { continue; } // Removed in Java 9:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntry.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; /** * Interface representing a file entry in an SMB directory listing. * Provides access to file metadata and attributes. * */ public interface FileEntry { /** * Gets the file name. * * @return the file name */ String getName();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
} @AfterEach fun tearDown() { Authenticator.setDefault(null) factory.close() } @Test fun testBasicAuth() { fakeDns["server"] = listOf(InetAddress.getLocalHost()) val route = factory.newRoute() val request = Request .Builder() .url("https://server/robots.txt") .build() val response =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName) expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName) if (listOf<String>(*socket.supportedCipherSuites).contains("TLS_FALLBACK_SCSV")) { expectedCipherSuites.add("TLS_FALLBACK_SCSV") } assertThat(socket.enabledCipherSuites)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0) -
docs/sts/custom-token-identity.go
} // Use minIO Client object normally like the regular client. fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList) objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{}) for obj := range objCh { if obj.Err != nil { log.Fatalf("Listing error: %v", obj.Err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 3.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
private fun configureClientAndServerProxies(http2: Boolean) { server.useHttps(handshakeCertificates.sslSocketFactory()) server.protocols = when { http2 -> listOf(Protocol.HTTP_2, Protocol.HTTP_1_1) else -> listOf(Protocol.HTTP_1_1) } server.enqueue( MockResponse .Builder() .inTunnel() .build(), ) client = client
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
import org.jspecify.annotations.Nullable; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example: * * {@snippet : * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * } * * @author Ben Yu * @since 12.0 */ /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
it.close(); verify(tree).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test @DisplayName("open() gracefully handles NT_STATUS_NO_SUCH_FILE (empty listing)") void open_handles_no_such_file_and_yields_empty() throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0)