Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SOCKET (0.1 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            def socket = new DatagramSocket(0, addressFactory.wildcardBindingAddress)
            (1..500).each {
                addressFactory.communicationAddresses.each { address ->
                    byte[] bytes = [1, 0, 0, 0, 0, 0, 0, 0, 0]
                    DatagramPacket confirmPacket = new DatagramPacket(bytes, bytes.length, address, receivingSocket.localPort)
                    socket.send(confirmPacket)
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

            UnitTestPreconditions.Jdk8OrEarlier
        ])
        def "retries if expected exception occurs"() {
            given:
            iteration++
    
            when:
            logToFakeDaemonLog('java.net.SocketException: Socket operation on nonsocket: no further information')
            throwWhen(new IOException("Could not dispatch a message to the daemon.",
                new IOException("Some exception in the chain",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

            RandomAccessFile                      | RandomAccessFile               | "new RandomAccessFile(project.file('some').tap { text = '' }, 'r').tap { close() }"
            Socket                                | Socket                         | "new java.net.Socket()"
            ServerSocket                          | ServerSocket                   | "new java.net.ServerSocket(0).tap { close() }"
            // Gradle Build Model
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. samples/bookinfo/src/details/details.rb

        exit(-1)
    end
    
    port = Integer(ARGV[0])
    
    server = WEBrick::HTTPServer.new(
        :BindAddress => '*',
        :Port => port,
        :AcceptCallback => -> (s) { s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) },
    )
    
    trap 'INT' do server.shutdown end
    
    server.mount_proc '/health' do |req, res|
        res.status = 200
        res.body = {'status' => 'Details is healthy'}.to_json
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. pkg/security/security.go

    	// WorkloadIdentitySocketPath is the well-known path to the Unix Domain Socket for SDS.
    	WorkloadIdentitySocketPath = "./var/run/secrets/workload-spiffe-uds/socket"
    
    	// CredentialNameSocketPath is the well-known path to the Unix Domain Socket for Credential Name.
    	CredentialNameSocketPath = "./var/run/secrets/credential-uds/socket"
    
    	// CredentialMetaDataName is the name in node meta data.
    	CredentialMetaDataName = "credential"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. manifests/charts/ztunnel/templates/daemonset.yaml

            configMap:
              name: istio-ca-root-cert
          - name: cni-ztunnel-sock-dir
            hostPath:
              path: /var/run/ztunnel
              type: DirectoryOrCreate # ideally this would be a socket, but ztunnel may not have started yet.
          # pprof needs a writable /tmp, and we don't have that thanks to `readOnlyRootFilesystem: true`, so mount one
          - name: tmp
            emptyDir: {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 01:33:52 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster.go

    	if features.EnableHBONESend && proxy.Type != model.Waypoint && bool(!proxy.Metadata.DisableHBONESend) {
    		clusters = append(clusters, cb.buildConnectOriginate(proxy, req.Push, nil))
    	}
    
    	// if credential socket exists, create a cluster for it
    	if proxy.Metadata != nil && proxy.Metadata.Raw[security.CredentialMetaDataName] == "true" {
    		clusters = append(clusters, cb.buildExternalSDSCluster(security.CredentialNameSocketPath))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  8. pkg/config/validation/validation.go

    func ValidateUnixAddress(addr string) error {
    	if len(addr) == 0 {
    		return errors.New("unix address must not be empty")
    	}
    
    	// Allow unix abstract domain sockets whose names start with @
    	if strings.HasPrefix(addr, "@") {
    		return nil
    	}
    
    	// Note that we use path, not path/filepath even though a domain socket path is a file path.  We don't want the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  9. go.mod

    	github.com/mailru/easyjson v0.7.7 // indirect
    	github.com/mattn/go-colorable v0.1.13 // indirect
    	github.com/mattn/go-runewidth v0.0.15 // indirect
    	github.com/mdlayher/netlink v1.7.2 // indirect
    	github.com/mdlayher/socket v0.5.0 // indirect
    	github.com/mitchellh/go-wordwrap v1.0.1 // indirect
    	github.com/mitchellh/mapstructure v1.5.0 // indirect
    	github.com/mitchellh/reflectwalk v1.0.2 // indirect
    	github.com/moby/spdystream v0.2.0 // indirect
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/sidecar_simulation_test.go

    							Number:   80,
    							Protocol: "HTTP",
    							Name:     "http",
    						},
    						DefaultEndpoint: "unix:///socket",
    					}}},
    				},
    			},
    			clusters: map[string][]string{
    				"inbound|80||": {"/socket"},
    			},
    		},
    		{
    			name: "multiple ingress",
    			configs: []config.Config{
    				{
    					Meta: config.Meta{GroupVersionKind: gvk.Sidecar, Namespace: "default", Name: "sidecar"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top