Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for lineLess (0.22 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. 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)
  4. docs/metrics/README.md

    ## Healthcheck Probe
    
    MinIO server has two healthcheck related un-authenticated endpoints, a liveness probe to indicate if server is responding, cluster probe to check if server can be taken down for maintenance.
    
    - Liveness probe available at `/minio/health/live`
    - Cluster probe available at `/minio/health/cluster`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 29 18:35:20 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/deadness_analysis.h

    //              v   v
    //               ADD
    //
    // can have its inputs independently dead or alive based on the runtime values
    // of PRED0 and PRED1.
    //
    // It is tempting to call this a liveness analysis but I avoided that because
    // "liveness" already has other connotations.
    class DeadnessAnalysis {
     public:
      // An opaque representation of a predicate.  DeadnessPredicate
      // instances that compare equal via operator== represent predicates
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. pkg/probe/exec/exec.go

    func New() Prober {
    	return execProber{}
    }
    
    // Prober is an interface defining the Probe object for container readiness/liveness checks.
    type Prober interface {
    	Probe(e exec.Cmd) (probe.Result, string, error)
    }
    
    type execProber struct{}
    
    // Probe executes a command to check the liveness/readiness of container
    // from executing a command. Returns the Result status, command output, and
    // errors if any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. cni/pkg/nodeagent/healthServer.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"net/http"
    	"sync/atomic"
    
    	"istio.io/istio/cni/pkg/constants"
    )
    
    // StartHealthServer initializes and starts a web server that exposes liveness and readiness endpoints at port 8000.
    func StartHealthServer() (installReady *atomic.Value, watchReady *atomic.Value) {
    	router := http.NewServeMux()
    	installReady, watchReady = initRouter(router)
    
    	go func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/mergelocals_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package test
    
    import (
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/liveness"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"internal/testenv"
    	"path/filepath"
    	"sort"
    	"strings"
    	"testing"
    )
    
    func mkiv(name string) *ir.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. 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)
Back to top