Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for lineLess (0.11 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. test/fixedbugs/issue20250.go

    //go:build !goexperiment.cgocheck2
    
    // Copyright 2017 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.
    
    // Issue 20250: liveness differed with concurrent compilation
    // due to propagation of addrtaken to outer variables for
    // closure variables.
    
    package p
    
    type T struct {
    	s [2]string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 727 bytes
    - Viewed (0)
  9. test/live2.go

    // errorcheck -0 -live -wb=0
    
    // 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 ENABLED
    // see also live.go.
    
    package main
    
    // issue 8142: lost 'addrtaken' bit on inlined variables.
    
    func printnl()
    
    //go:noescape
    func useT40(*T40)
    
    type T40 struct {
    	m map[int]int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 23:29:33 UTC 2023
    - 953 bytes
    - Viewed (0)
  10. test/fixedbugs/issue15747.go

    //go:build !goexperiment.cgocheck2
    
    // Copyright 2016 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.
    
    // Issue 15747: liveness analysis was marking heap-escaped params live too much,
    // and worse was using the wrong bitmap bits to do so.
    
    package p
    
    var global *[]byte
    
    type Q struct{}
    
    type T struct{ M string }
    
    var b bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top