- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 349 for listFn (0.04 sec)
-
internal/http/check_port_test.go
if runtime.GOOS != "linux" { t.Skip() } l, err := net.Listen("tcp", "localhost:0") // ask kernel for a free port. if err != nil { t.Fatal(err) } defer l.Close() port := l.Addr().(*net.TCPAddr).Port testCases := []struct { host string port int expectedErr error }{ {"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
.github/workflows/multipart/nginx-site1.conf
upstream minio { server site1-minio1:9000; server site1-minio2:9000; server site1-minio3:9000; server site1-minio4:9000; } server { listen 9001; listen [::]:9001; server_name localhost; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Sep 30 10:13:56 UTC 2023 - 1.7K bytes - Viewed (0) -
.github/workflows/multipart/nginx-site2.conf
upstream minio { server site2-minio1:9000; server site2-minio2:9000; server site2-minio3:9000; server site2-minio4:9000; } server { listen 9002; listen [::]:9002; server_name localhost; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Sep 30 10:13:56 UTC 2023 - 1.7K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
{"test-bucket-list-object", "", "", "", 5, resultCases[1], nil, true}, {"test-bucket-list-object", "", "", "", 4, resultCases[2], nil, true}, {"test-bucket-list-object", "", "", "", 3, resultCases[3], nil, true}, {"test-bucket-list-object", "", "", "", 1, resultCases[4], nil, true}, // Testing with prefix (25-28). {"test-bucket-list-object", "new", "", "", 3, resultCases[5], nil, true},Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 76.1K bytes - Viewed (0) -
internal/http/check_port_linux.go
} }) return nil }, } ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use. // Close the listener and continue check other networks. return l.Close()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalListener.java
* shared resources. * * @param <K> the most general type of keys this listener can listen for; for example {@code Object} * if any key is acceptable * @param <V> the most general type of values this listener can listen for; for example {@code * Object} if any key is acceptable * @author Charles Fry * @since 10.0 */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt
assertThat(result).isEqualTo( listOf(ipv6_ab), ) } @Test fun singleIpv4() { val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6)) assertThat(result).isEqualTo( listOf(ipv4_10_0_0_6), ) } @Test fun prioritiseIpv6() { val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6, ipv6_ab)) assertThat(result).isEqualTo( listOf(ipv6_ab, ipv4_10_0_0_6), ) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.4K bytes - Viewed (0) -
internal/http/listener.go
listenCfg := net.ListenConfig{ Control: setTCPParametersFn(opts), } for i, serverAddr := range serverAddrs { l, e := listenCfg.Listen(ctx, "tcp", serverAddr) if e != nil { opts.Trace("listenCfg.Listen: " + e.Error()) listenErrs[i] = e continue } opts.Trace("adding listener to " + l.Addr().String()) listeners = append(listeners, l) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
assertThat( mergeAdjacentRanges( listOf( Mapping(0x0000, 0x002c, TYPE_DISALLOWED_STD3_VALID, ByteString.EMPTY), ), ), ).containsExactly( Mapping(0x0000, 0x002c, TYPE_VALID, ByteString.EMPTY), ) } @Test fun simplifyCombinesCanonicalEquivalent() { assertThat( mergeAdjacentRanges( listOf(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
Probably in many cases the default will be that the proxy doesn't have a stripped path prefix. In a case like that (without a stripped path prefix), the proxy would listen on something like `https://myawesomeapp.com`, and then if the browser goes to `https://myawesomeapp.com/api/v1/app` and your server (e.g. Uvicorn) listens on `http://127.0.0.1:8000` the proxy (without a stripped path prefix) would access Uvicorn at the same path: `http://127.0.0.1:8000/api/v1/app`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (0)