Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Ap (0.29 sec)

  1. pkg/config/analysis/analyzers/authz/authorizationpolicies.go

    	ap := r.Message.(*v1beta1.AuthorizationPolicy)
    	apNs := r.Metadata.FullName.Namespace.String()
    
    	// If AuthzPolicy is mesh-wide
    	if meshWidePolicy(apNs, c) {
    		// If it has selector, need further analysis
    		if ap.GetSelector() != nil {
    			apSelector := klabels.SelectorFromSet(ap.GetSelector().MatchLabels)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 20:57:29 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_fatalf.c

    #include <stdarg.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include "libcgo.h"
    
    void
    fatalf(const char* format, ...)
    {
    	va_list ap;
    
    	fprintf(stderr, "runtime/cgo: ");
    	va_start(ap, format);
    	vfprintf(stderr, format, ap);
    	va_end(ap);
    	fprintf(stderr, "\n");
    	abort();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 14:57:16 UTC 2023
    - 526 bytes
    - Viewed (0)
  3. src/runtime/defer_test.go

    }
    
    //go:noinline
    func (f *foo) method2() {
    }
    
    func g2() {
    	var a foo
    	ap := &a
    	// The loop forces this defer to be heap-allocated and the remaining two
    	// to be stack-allocated.
    	for i := 0; i < 1; i++ {
    		defer ap.method1()
    	}
    	defer ap.method2()
    	defer ap.method1()
    	ff1(ap, 1, 2, 3, 4, 5, 6, 7, 8, 9)
    	// Try to get the stack to be moved by growing it too large, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/runtime/mem_sbrk.go

    			}
    			*p = memHdr{}
    			return unsafe.Pointer(p)
    		}
    		prevp = p
    	}
    	return sbrk(n)
    }
    
    func memFree(ap unsafe.Pointer, n uintptr) {
    	n = memRound(n)
    	memclrNoHeapPointers(ap, n)
    	bp := (*memHdr)(ap)
    	bp.size = n
    	bpn := uintptr(ap)
    	if memFreelist == 0 {
    		bp.next = 0
    		memFreelist.set(bp)
    		return
    	}
    	p := memFreelist.ptr()
    	if bpn < uintptr(unsafe.Pointer(p)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. test/typeparam/issue50485.dir/a.go

    type ApplicativeFunctor1[H Header[HT], HT, A, R any] struct {
    	h  Option[H]
    	fn Option[Func1[A, R]]
    }
    
    func (r ApplicativeFunctor1[H, HT, A, R]) ApOption(a Option[A]) Option[R] {
    	return Ap(r.fn, a)
    }
    
    func (r ApplicativeFunctor1[H, HT, A, R]) Ap(a A) Option[R] {
    	return r.ApOption(Some(a))
    }
    
    func Applicative1[A, R any](fn Func1[A, R]) ApplicativeFunctor1[Nil, Nil, A, R] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. pilot/pkg/model/authorization.go

    	Annotations map[string]string           `json:"annotations"`
    	Spec        *authpb.AuthorizationPolicy `json:"spec"`
    }
    
    func (ap *AuthorizationPolicy) NamespacedName() types.NamespacedName {
    	return types.NamespacedName{Name: ap.Name, Namespace: ap.Namespace}
    }
    
    // AuthorizationPolicies organizes AuthorizationPolicy by namespace.
    type AuthorizationPolicies struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/crypto/sha512/sha512.go

    	d.Reset()
    	d.Write(data)
    	sum := d.checkSum()
    	ap := (*[Size384]byte)(sum[:])
    	return *ap
    }
    
    // Sum512_224 returns the Sum512/224 checksum of the data.
    func Sum512_224(data []byte) [Size224]byte {
    	d := digest{function: crypto.SHA512_224}
    	d.Reset()
    	d.Write(data)
    	sum := d.checkSum()
    	ap := (*[Size224]byte)(sum[:])
    	return *ap
    }
    
    // Sum512_256 returns the Sum512/256 checksum of the data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pkg/kube/krt/internal.go

    	// We should have a way to opt-in to RV comparison, but not default to it.
    
    	ap, ok := any(a).(proto.Message)
    	if ok {
    		if reflect.TypeOf(ap.ProtoReflect().Interface()) == reflect.TypeOf(ap) {
    			return proto.Equal(ap, any(b).(proto.Message))
    		}
    		// If not, this is an embedded proto most likely... Sneaky.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/net/ipsock_posix.go

    	}
    	return nil, &AddrError{Err: "invalid address family", Addr: ip.String()}
    }
    
    func addrPortToSockaddrInet4(ap netip.AddrPort) (syscall.SockaddrInet4, error) {
    	// ipToSockaddrInet4 has special handling here for zero length slices.
    	// We do not, because netip has no concept of a generic zero IP address.
    	addr := ap.Addr()
    	if !addr.Is4() {
    		return syscall.SockaddrInet4{}, &AddrError{Err: "non-IPv4 address", Addr: addr.String()}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/pgen.go

    	// Sort pointer-typed before non-pointer types.
    	// Keeps the stack's GC bitmap compact.
    	ap := a.Type().HasPointers()
    	bp := b.Type().HasPointers()
    	if ap != bp {
    		return ap
    	}
    
    	// Group variables that need zeroing, so we can efficiently zero
    	// them altogether.
    	ap = a.Needzero()
    	bp = b.Needzero()
    	if ap != bp {
    		return ap
    	}
    
    	// Sort variables in descending alignment order, so we can optimally
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top