Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for lineLess (0.14 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    			if len(lines) == 0 {
    				continue
    			}
    		}
    		stmts = append(stmts, stmt)
    	}
    	syntax.Stmt = stmts
    }
    
    // lineLess returns whether li should be sorted before lj. It sorts
    // lexicographically without assigning any special meaning to tokens.
    func lineLess(li, lj *Line) bool {
    	for k := 0; k < len(li.Token) && k < len(lj.Token); k++ {
    		if li.Token[k] != lj.Token[k] {
    			return li.Token[k] < lj.Token[k]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/liveness/plive.go

    // Garbage collector liveness bitmap generation.
    
    // The command line flag -live causes this code to print debug information.
    // The levels are:
    //
    //	-live (aka -live=1): print liveness lists as code warnings at safe points
    //	-live=2: print an assembly listing with liveness annotations
    //
    // Each level includes the earlier output as well.
    
    package liveness
    
    import (
    	"fmt"
    	"os"
    	"sort"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. pkg/kubelet/prober/prober_manager.go

    			m.workers[key] = w
    			go w.run()
    		}
    
    		if c.LivenessProbe != nil {
    			key.probeType = liveness
    			if _, ok := m.workers[key]; ok {
    				klog.V(8).ErrorS(nil, "Liveness probe already exists for container",
    					"pod", klog.KObj(pod), "containerName", c.Name)
    				return
    			}
    			w := newWorker(m, liveness, pod, c)
    			m.workers[key] = w
    			go w.run()
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. pkg/kubelet/prober/worker_test.go

    			},
    			{ // No container status
    				podStatus: &otherStatus,
    				expectContinue: map[string]bool{
    					liveness.String():  true,
    					readiness.String(): true,
    					startup.String():   true,
    				},
    			},
    			{ // Container waiting
    				podStatus: &pendingStatus,
    				expectContinue: map[string]bool{
    					liveness.String():  true,
    					readiness.String(): true,
    					startup.String():   true,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/prober_manager_test.go

    		t.Error(err)
    	}
    
    	// Adding a pod with probes.
    	m.AddPod(&probePod)
    	probePaths := []probeKey{
    		{"probe_pod", "readiness", readiness},
    		{"probe_pod", "liveness", liveness},
    		{"probe_pod", "startup", startup},
    	}
    	if err := expectProbes(m, probePaths); err != nil {
    		t.Error(err)
    	}
    
    	// Removing un-probed pod.
    	m.RemovePod(&noProbePod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. pkg/kubelet/prober/worker.go

    		return true
    	}
    
    	w.resultsManager.Set(w.containerID, result, w.pod)
    
    	if (w.probeType == liveness || w.probeType == startup) && result == results.Failure {
    		// The container fails a liveness/startup check, it will need to be restarted.
    		// Stop probing until we see a new container ID. This is to reduce the
    		// chance of hitting #21751, where running `docker exec` when a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/pgen.go

    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/liveness"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/pgoir"
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // cmpstackvarlt reports whether the stack variable a sorts before b.
    func cmpstackvarlt(a, b *ir.Name, mls *liveness.MergeLocalsState) bool {
    	// Sort non-autos before autos.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. test/live.go

    //
    // For register ABI, liveness info changes slightly. See live_regabi.go.
    
    // Copyright 2014 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.
    
    // liveness tests with inlining disabled.
    // see also live2.go.
    
    package main
    
    func printnl()
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/stackalloc.go

    			if f.pass.debug > stackDebug && s.values[v.ID].needSlot {
    				fmt.Printf("%s needs a stack slot\n", v)
    			}
    			if v.Op == OpStoreReg {
    				s.values[v.Args[0].ID].spill = v
    			}
    		}
    	}
    
    	// Compute liveness info for values needing a slot.
    	s.computeLive(spillLive)
    
    	// Build interference graph among values needing a slot.
    	s.buildInterferenceGraph()
    }
    
    func (s *stackAllocState) stackalloc() {
    	f := s.f
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    					TerminationGracePeriodSeconds: &longGracePeriod,
    				},
    			},
    			reason:              reasonUnknown,
    			expectedGracePeriod: longGracePeriod,
    		},
    		{
    			name: "liveness probe overrides pod termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{{
    						Name: "foo", LivenessProbe: &v1.Probe{TerminationGracePeriodSeconds: &shortGracePeriod},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top