Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 234 for unmix (0.08 sec)

  1. src/net/iprawsock_posix.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || js || wasip1 || windows
    
    package net
    
    import (
    	"context"
    	"syscall"
    )
    
    func sockaddrToIP(sa syscall.Sockaddr) Addr {
    	switch sa := sa.(type) {
    	case *syscall.SockaddrInet4:
    		return &IPAddr{IP: sa.Addr[0:]}
    	case *syscall.SockaddrInet6:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    					},
    				},
    				PortMap: map[string]uint32{
    					"http": 80,
    				},
    			},
    		},
    		{
    			name: "unix domain socket",
    			wle: config.Config{
    				Meta: config.Meta{
    					Namespace: "ns1",
    				},
    				Spec: &networking.WorkloadEntry{
    					Address:        "unix://foo/bar",
    					ServiceAccount: "scooby",
    				},
    			},
    			out: &model.WorkloadInstance{
    				Namespace: "ns1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    		}
    	}
    	return nil
    }
    
    // ValidateUnixAddress validates that the string is a valid unix domain socket path.
    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
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. src/internal/poll/fd_poll_runtime.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || windows || wasip1
    
    package poll
    
    import (
    	"errors"
    	"sync"
    	"syscall"
    	"time"
    	_ "unsafe" // for go:linkname
    )
    
    // runtimeNano returns the current value of the runtime clock in nanoseconds.
    //
    //go:linkname runtimeNano runtime.nanotime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods_test.go

    					{
    						ID:        kubecontainer.ContainerID{ID: "c1"},
    						Name:      "containerA",
    						StartedAt: time.Unix(1, 0).UTC(),
    						State:     kubecontainer.ContainerStateRunning,
    					},
    					{
    						ID:        kubecontainer.ContainerID{ID: "c2"},
    						Name:      "containerB",
    						StartedAt: time.Unix(2, 0).UTC(),
    						State:     kubecontainer.ContainerStateRunning,
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  6. src/net/http/cookie_test.go

    		{&Cookie{Name: "valid-expires", Value: "foo", Path: "/bar", Domain: "example.com", Expires: time.Unix(0, 0)}, true},
    		{&Cookie{Name: "valid-max-age", Value: "foo", Path: "/bar", Domain: "example.com", MaxAge: 60}, true},
    		{&Cookie{Name: "valid-all-fields", Value: "foo", Path: "/bar", Domain: "example.com", Expires: time.Unix(0, 0), MaxAge: 0}, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. internal/config/identity/plugin/config.go

    		args:        args,
    		client:      &http.Client{Transport: args.Transport},
    		shutdownCtx: shutdownCtx,
    		serviceMetrics: &metrics{
    			Mutex:            sync.Mutex{},
    			LastCheckSuccess: time.Unix(0, 0),
    			LastCheckFailure: time.Unix(0, 0),
    			lastFullMinute:   serviceRTTMinuteStats{},
    			currentMinute:    serviceRTTMinuteStats{},
    		},
    	}
    	go plugin.doPeriodicHealthCheck()
    	return &plugin
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/mime/type.go

    // When ext has no associated type, TypeByExtension returns "".
    //
    // Extensions are looked up first case-sensitively, then case-insensitively.
    //
    // The built-in table is small but on unix it is augmented by the local
    // system's MIME-info database or mime.types file(s) if available under one or
    // more of these names:
    //
    //	/usr/local/share/mime/globs2
    //	/usr/share/mime/globs2
    //	/etc/mime.types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/os/user/cgo_lookup_unix.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (cgo || darwin) && !osusergo && unix && !android
    
    package user
    
    import (
    	"fmt"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    func current() (*User, error) {
    	return lookupUnixUid(syscall.Getuid())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. internal/http/listener.go

    	listeners := make([]net.Listener, 0, len(serverAddrs))
    	listenErrs = make([]error, len(serverAddrs))
    
    	// Unix listener with special TCP options.
    	listenCfg := net.ListenConfig{
    		Control: setTCPParametersFn(opts),
    	}
    
    	for i, serverAddr := range serverAddrs {
    		l, e := listenCfg.Listen(ctx, "tcp", serverAddr)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top