Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 397 for afunc (0.04 sec)

  1. security/pkg/nodeagent/sds/sdsservice.go

    	return nil
    }
    
    func (c *Context) Close() {
    	c.s.Lock()
    	defer c.s.Unlock()
    	delete(c.s.clients, c.XdsConnection().ID())
    }
    
    func (c *Context) Watcher() xds.Watcher {
    	return c.w
    }
    
    func (w *Watch) DeleteWatchedResource(string) {
    	w.Lock()
    	defer w.Unlock()
    	w.watch = nil
    }
    
    func (w *Watch) GetWatchedResource(string) *xds.WatchedResource {
    	w.Lock()
    	defer w.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/os/pidfd_other.go

    package os
    
    import "syscall"
    
    func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
    	return sysAttr
    }
    
    func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) {
    	return 0, false
    }
    
    func pidfdFind(_ int) (uintptr, error) {
    	return 0, syscall.ENOSYS
    }
    
    func (p *Process) pidfdRelease() {}
    
    func (_ *Process) pidfdWait() (*ProcessState, error) {
    	panic("unreachable")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 692 bytes
    - Viewed (0)
  3. test/alias2.go

    )
    
    // Methods can be declared on the original named type and the alias.
    func (T0) m1()  {} // GCCGO_ERROR "previous"
    func (*T0) m1() {} // ERROR "method redeclared: T0\.m1|T0\.m1 already declared|redefinition of .m1."
    func (A0) m1()  {} // ERROR "T0\.m1 already declared|redefinition of .m1."
    func (A0) m1()  {} // ERROR "T0\.m1 already declared|redefinition of .m1."
    func (A0) m2()  {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/math/rand/rand.go

    	r.readPos = 0
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *Rand) Int63() int64 { return r.src.Int63() }
    
    // Uint32 returns a pseudo-random 32-bit value as a uint32.
    func (r *Rand) Uint32() uint32 { return uint32(r.Int63() >> 31) }
    
    // Uint64 returns a pseudo-random 64-bit value as a uint64.
    func (r *Rand) Uint64() uint64 {
    	if r.s64 != nil {
    		return r.s64.Uint64()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go

    // copy-by-assign, despite the presence of (unexported) Pointer fields.
    func (t *Time) DeepCopyInto(out *Time) {
    	*out = *t
    }
    
    // NewTime returns a wrapped instance of the provided time
    func NewTime(time time.Time) Time {
    	return Time{time}
    }
    
    // Date returns the Time corresponding to the supplied parameters
    // by wrapping time.Date.
    func Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. pkg/istio-agent/agent_test.go

    	})
    	t.Run("Implicit file mounted certs", func(t *testing.T) {
    		// User mounts certificates in /etc/certs (hardcoded path). CA communication is disabled.
    		// mTLS is always used for authentication with Istiod, never JWT.
    		copyCerts(t, "./etc/certs")
    		t.Cleanup(func() {
    			_ = os.RemoveAll("./etc/certs")
    		})
    		Setup(t, func(a AgentTest) AgentTest {
    			// Ensure we use the token
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. pkg/api/pod/util.go

    				return false
    			}
    		}
    	}
    	return true
    }
    
    // Visitor is called with each object name, and returns true if visiting should continue
    type Visitor func(name string) (shouldContinue bool)
    
    func skipEmptyNames(visitor Visitor) Visitor {
    	return func(name string) bool {
    		if len(name) == 0 {
    			// continue visiting
    			return true
    		}
    		// delegate to visitor
    		return visitor(name)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  8. src/net/tcpsock_posix.go

    		return syscall.AF_INET
    	}
    	return syscall.AF_INET6
    }
    
    func (a *TCPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
    	if a == nil {
    		return nil, nil
    	}
    	return ipToSockaddr(family, a.IP, a.Port, a.Zone)
    }
    
    func (a *TCPAddr) toLocal(net string) sockaddr {
    	return &TCPAddr{loopbackIP(net), a.Port, a.Zone}
    }
    
    func (c *TCPConn) readFrom(r io.Reader) (int64, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/net/rpc/debug.go

    }
    
    type serviceArray []debugService
    
    func (s serviceArray) Len() int           { return len(s) }
    func (s serviceArray) Less(i, j int) bool { return s[i].Name < s[j].Name }
    func (s serviceArray) Swap(i, j int)      { s[i], s[j] = s[j], s[i] }
    
    func (m methodArray) Len() int           { return len(m) }
    func (m methodArray) Less(i, j int) bool { return m[i].Name < m[j].Name }
    func (m methodArray) Swap(i, j int)      { m[i], m[j] = m[j], m[i] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/net/lookup_windows_test.go

    	"syscall"
    	"testing"
    )
    
    var nslookupTestServers = []string{"mail.golang.com", "gmail.com"}
    var lookupTestIPs = []string{"8.8.8.8", "1.1.1.1"}
    
    func toJson(v any) string {
    	data, _ := json.Marshal(v)
    	return string(data)
    }
    
    func testLookup(t *testing.T, fn func(*testing.T, *Resolver, string)) {
    	for _, def := range []bool{true, false} {
    		def := def
    		for _, server := range nslookupTestServers {
    			server := server
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top