Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,635 for net (0.09 sec)

  1. src/cmd/go/testdata/script/mod_tidy_compat.txt

    module example.com/m
    
    go 1.17
    
    replace example.net/lazy v0.1.0 => ./lazy
    
    require (
    	example.com/version v1.1.0
    	example.net/lazy v0.1.0
    )
    -- m_all.txt --
    example.com/m
    example.com/version v1.1.0
    example.net/lazy v0.1.0 => ./lazy
    -- compatible.go --
    package compatible
    
    import (
    	_ "example.com/version"
    	_ "example.net/lazy"
    )
    -- lazy/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_vcs_missing.txt

    [exec:bzr] skip 'tests NOT having bzr'
    [!net:launchpad.net] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    
    cd empty
    ! go get launchpad.net/gocheck
    stderr '"bzr": executable file not found'
    cd ..
    
    # 1.11 used to give the cryptic error "cannot find module for path" here, but
    # only for a main package.
    cd main
    ! go build -mod=mod
    stderr '"bzr": executable file not found'
    cd ..
    
    -- empty/go.mod --
    module m
    -- main/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 513 bytes
    - Viewed (0)
  3. pkg/util/node/node_test.go

    limitations under the License.
    */
    
    package node
    
    import (
    	"net"
    	"reflect"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	netutils "k8s.io/utils/net"
    )
    
    func TestGetPreferredAddress(t *testing.T) {
    	testcases := map[string]struct {
    		Labels      map[string]string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

     */
    package okhttp3.internal.platform
    
    import java.security.KeyStore
    import java.security.Provider
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    import org.bouncycastle.jsse.BCSSLSocket
    import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. pkg/test/echo/server/endpoint/tcp.go

    package endpoint
    
    import (
    	"crypto/tls"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"os"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/google/uuid"
    
    	"istio.io/istio/pkg/test/echo"
    	"istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    var _ Instance = &tcpInstance{}
    
    type tcpInstance struct {
    	Config
    	l net.Listener
    }
    
    func newTCP(config Config) Instance {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/main/java/org/myorg/http/DefaultHttpCaller.java

    package org.myorg.http;
    
    import java.io.IOException;
    import java.net.HttpURLConnection;
    import java.net.URI;
    import java.net.URISyntaxException;
    
    public class DefaultHttpCaller implements HttpCaller {
        @Override
        public HttpResponse get(String url) {
            try {
                HttpURLConnection connection = (HttpURLConnection) new URI(url).toURL().openConnection();
                connection.setConnectTimeout(5000);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:15:15 UTC 2024
    - 911 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/url-verifier-plugin/src/main/java/org/myorg/http/DefaultHttpCaller.java

    package org.myorg.http;
    
    import java.io.IOException;
    import java.net.HttpURLConnection;
    import java.net.URI;
    import java.net.URISyntaxException;
    
    public class DefaultHttpCaller implements HttpCaller {
        @Override
        public HttpResponse get(String url) {
            try {
                HttpURLConnection connection = (HttpURLConnection) new URI(url).toURL().openConnection();
                connection.setConnectTimeout(5000);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:15:15 UTC 2024
    - 911 bytes
    - Viewed (0)
  8. cni/pkg/monitoring/monitoring.go

    package monitoring
    
    import (
    	"fmt"
    	"net"
    	"net/http"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/monitoring"
    	"istio.io/istio/pkg/network"
    )
    
    func SetupMonitoring(port int, path string, stop <-chan struct{}) {
    	if port <= 0 {
    		return
    	}
    	mux := http.NewServeMux()
    	var listener net.Listener
    	var err error
    	if listener, err = net.Listen("tcp", fmt.Sprintf(":%d", port)); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 07:54:01 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    )
    
    package okhttp3
    
    import java.io.Closeable
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.Socket
    import java.util.concurrent.TimeUnit
    import javax.net.SocketFactory
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.HttpsURLConnection
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.internal.RecordingOkAuthenticator
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. hack/update-netparse-cve.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script replace "net" stdlib IP and CIDR parsers
    # with the ones forked in k8s.io/utils/net to parse IP addresses
    # because of the compatibility break introduced in golang 1.17
    # Reference: #100895
    # Usage: `hack/update-netparse-cve.sh`.
    
    set -o errexit
    set -o nounset
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top