Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for RES (0.02 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/sets/set.go

    func List[T cmp.Ordered](s Set[T]) []T {
    	res := make(sortableSliceOfGeneric[T], 0, len(s))
    	for key := range s {
    		res = append(res, key)
    	}
    	sort.Sort(res)
    	return res
    }
    
    // UnsortedList returns the slice with contents in random order.
    func (s Set[T]) UnsortedList() []T {
    	res := make([]T, 0, len(s))
    	for key := range s {
    		res = append(res, key)
    	}
    	return res
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:51:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    func getVIPs(svc *v1.Service) []string {
    	res := []string{}
    	if svc.Spec.ClusterIP != "" && svc.Spec.ClusterIP != v1.ClusterIPNone {
    		res = append(res, svc.Spec.ClusterIP)
    	}
    	for _, ing := range svc.Status.LoadBalancer.Ingress {
    		// IPs are strictly optional for loadbalancers - they may just have a hostname.
    		if ing.IP != "" {
    			res = append(res, ing.IP)
    		}
    	}
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/xdsgen.go

    			TypeUrl:       w.TypeUrl,
    			ResourceNames: req.Delta.Subscribed.UnsortedList(),
    		}
    	}
    	res, logdata, err := gen.Generate(con.proxy, w, req)
    	info := ""
    	if len(logdata.AdditionalInfo) > 0 {
    		info = " " + logdata.AdditionalInfo
    	}
    	if len(logFiltered) > 0 {
    		info += logFiltered
    	}
    	if err != nil || res == nil {
    		// If we have nothing to send, report that we got an ACK for this version.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                ProjectBuildingResult res;
                if (request.getPath().isPresent()) {
                    Path path = request.getPath().get();
                    res = builder.build(path.toFile(), req);
                } else if (request.getSource().isPresent()) {
                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
                    res = builder.build(modelSource, req);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/parser_test.go

    // checkTrace walks over a good trace and makes a bunch of additional checks
    // that may not cause the parser to outright fail.
    func checkTrace(t *testing.T, ver int, res Trace) {
    	for i := 0; i < res.Events.Len(); i++ {
    		ev := res.Events.Ptr(i)
    		if ver >= 21 {
    			if ev.Type == EvSTWStart && res.Strings[ev.Args[0]] == "unknown" {
    				t.Errorf("found unknown STW event; update stwReasonStrings?")
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/internal/poll/fd_poll_runtime.go

    	pollErrTimeout     = 2
    	pollErrNotPollable = 3
    )
    
    func convertErr(res int, isFile bool) error {
    	switch res {
    	case pollNoError:
    		return nil
    	case pollErrClosing:
    		return errClosing(isFile)
    	case pollErrTimeout:
    		return ErrDeadlineExceeded
    	case pollErrNotPollable:
    		return ErrNotPollable
    	}
    	println("unreachable: ", res)
    	panic("unreachable")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/os/exec_posix.go

    		res = "stop signal: " + status.StopSignal().String()
    		if status.StopSignal() == syscall.SIGTRAP && status.TrapCause() != 0 {
    			res += " (trap " + itoa.Itoa(status.TrapCause()) + ")"
    		}
    	case status.Continued():
    		res = "continued"
    	}
    	if status.CoreDump() {
    		res += " (core dumped)"
    	}
    	return res
    }
    
    // ExitCode returns the exit code of the exited process, or -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. cmd/kms-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if res, err := json.Marshal(metrics); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    	} else {
    		writeSuccessResponseJSON(w, res)
    	}
    }
    
    // KMSAPIsHandler - POST /minio/kms/v1/apis
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/runtime/covercounter.go

    func coverage_getCovCounterList() []rtcov.CovCounterBlob {
    	res := []rtcov.CovCounterBlob{}
    	u32sz := unsafe.Sizeof(uint32(0))
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.covctrs == datap.ecovctrs {
    			continue
    		}
    		res = append(res, rtcov.CovCounterBlob{
    			Counters: (*uint32)(unsafe.Pointer(datap.covctrs)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 740 bytes
    - Viewed (0)
  10. pilot/pkg/xds/deltatest.go

    		byName[v.Name] = v
    	}
    	res := model.Resources{}
    	for _, m := range message {
    		if deleted.Contains(m.Name) {
    			continue
    		}
    		if replaced := byName[m.Name]; replaced != nil {
    			res = append(res, replaced)
    			delete(byName, m.Name)
    			continue
    		}
    		res = append(res, m)
    	}
    	for _, v := range byName {
    		res = append(res, v)
    	}
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top