Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for lineLess (0.24 sec)

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

    	for _, stmt := range f.Syntax.Stmt {
    		block, ok := stmt.(*LineBlock)
    		if !ok {
    			continue
    		}
    		sort.SliceStable(block.Line, func(i, j int) bool {
    			return lineLess(block.Line[i], block.Line[j])
    		})
    	}
    }
    
    // removeDups removes duplicate replace directives.
    //
    // Later replace directives take priority.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. 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)
  3. samples/health-check/liveness-command.yaml

    # Liveness service
    ##################################################################################################
    apiVersion: v1
    kind: Service
    metadata:
      name: liveness
      labels:
        app: liveness
        service: liveness
    spec:
      ports:
      - port: 80
        name: http
      selector:
        app: liveness
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 26 14:35:29 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. samples/health-check/liveness-http-same-port.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: liveness-http
      labels:
        app: liveness-http
        service: liveness-http
    spec:
      ports:
      - name: http
        port: 8001
      selector:
        app: liveness-http
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: liveness-http
    spec:
      selector:
        matchLabels:
          app: liveness-http
          version: v1
      template:
        metadata:
          labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 07 20:03:32 UTC 2020
    - 734 bytes
    - Viewed (0)
  5. 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)
  6. test/live1.go

    // "internal error: ... recorded as live on entry" errors
    // from the liveness code.
    //
    // This code contains methods or other construct that
    // trigger the generation of wrapper functions with no
    // clear line number (they end up using line 1), and those
    // would have annotations printed if we used -live=1,
    // like the live.go test does.
    // Instead, this test relies on the fact that the liveness
    // analysis turns any non-live parameter on entry into
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  7. test/fixedbugs/issue27518a.go

    	// Trigger a sigpanic. Since this is an implicit panic, we
    	// don't have an explicit liveness map here.
    	// Traceback used to use the liveness map of the most recent defer,
    	// but in that liveness map, x will be live again even though
    	// it points to dead memory. The fix is to use the liveness
    	// map of a deferreturn call instead.
    	*nilp = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:23 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  8. cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml

                    rm -rf /var/log/fluentd-buffers;
                    exit 1;
                  fi;
                  touch -d "${LIVENESS_THRESHOLD_SECONDS} seconds ago" /tmp/marker-liveness;
                  if [ -z "$(find /var/log/fluentd-buffers -type d -newer /tmp/marker-liveness -print -quit)" ];
                  then
                    exit 1;
                  fi;
          # BEGIN_PROMETHEUS_TO_SD
          - name: prometheus-to-sd-exporter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 27 17:54:10 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top