Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 335 for Sort (0.04 sec)

  1. cmd/metrics-v3.go

    	collectorPaths := make([]collectorPath, 0, len(collectors))
    	for path, collector := range collectors {
    		gatherers[path] = mustRegister(collector)
    		collectorPaths = append(collectorPaths, path)
    	}
    	slices.Sort(collectorPaths)
    	return &metricsV3Collection{
    		mgMap:          mgMap,
    		bucketMGMap:    bucketMGMap,
    		mgGatherers:    gatherers,
    		collectorPaths: collectorPaths,
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pkg/controller/daemon/update.go

    			if hash := pod.Labels[apps.DefaultDaemonSetUniqueLabelKey]; len(hash) > 0 {
    				liveHashes[hash] = true
    			}
    		}
    	}
    
    	// Clean up old history from smallest to highest revision (from oldest to newest)
    	sort.Sort(historiesByRevision(old))
    	for _, history := range old {
    		if toKill <= 0 {
    			break
    		}
    		if hash := history.Labels[apps.DefaultDaemonSetUniqueLabelKey]; liveHashes[hash] {
    			continue
    		}
    		// Clean up
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/hex"
    	"fmt"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/amztime"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash/sha256"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. pilot/pkg/model/context.go

    // CanBindToPort returns true if the proxy can bind to a given port.
    func (node *Proxy) CanBindToPort(bindTo bool, port uint32) bool {
    	if bindTo {
    		if IsPrivilegedPort(port) && node.IsUnprivileged() {
    			return false
    		}
    		if node.Metadata != nil &&
    			(node.Metadata.EnvoyPrometheusPort == int(port) || node.Metadata.EnvoyStatusPort == int(port)) {
    			// can not bind to port that already bound by proxy static listener
    			return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  5. cmd/kubeadm/app/cmd/config.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cmd
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"os"
    	"sort"
    	"strings"
    
    	"github.com/lithammer/dedent"
    	"github.com/pkg/errors"
    	"github.com/spf13/cobra"
    	flag "github.com/spf13/pflag"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    			return ep, fmt.Errorf("invalid URL endpoint format")
    		}
    
    		var port string
    		host, port, err = net.SplitHostPort(u.Host)
    		if err != nil {
    			if !strings.Contains(err.Error(), "missing port in address") {
    				return ep, fmt.Errorf("invalid URL endpoint format: %w", err)
    			}
    
    			host = u.Host
    		} else {
    			var p int
    			p, err = strconv.Atoi(port)
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. src/cmd/cover/cover.go

    		return
    	}
    	// Self-check: Verify that the instrumented basic blocks are disjoint.
    	t := make([]block1, len(f.blocks))
    	for i := range f.blocks {
    		t[i].Block = f.blocks[i]
    		t[i].index = i
    	}
    	sort.Sort(blockSlice(t))
    	for i := 1; i < len(t); i++ {
    		if t[i-1].endByte > t[i].startByte {
    			fmt.Fprintf(os.Stderr, "cover: internal error: block %d overlaps block %d\n", t[i-1].index, t[i].index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

       * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
       * sort by keys, or call {@link #orderEntriesByValue(Comparator)}, which changes this builder to
       * sort entries by value.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/ProjectReportTask.java

                }
            });
            return results;
        }
    
        private List<ProjectReportModel> calculateChildrenProjectsFor(Project project) {
            List<Project> childProjects = CollectionUtils.sort(ProjectHierarchyUtils.getChildProjectsForInternalUse(project));
            List<ProjectReportModel> children = new ArrayList<>(childProjects.size());
            for (Project childProject : childProjects) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho.go

    	ldr := ctxt.loader
    
    	// On Mac OS X Mountain Lion, we must sort exported symbols
    	// So we sort them here and pre-allocate dynid for them
    	// See https://golang.org/issue/4029
    	for _, s := range ctxt.dynexp {
    		if !ldr.AttrReachable(s) {
    			panic("dynexp symbol is not reachable")
    		}
    	}
    	collectmachosyms(ctxt)
    	sort.Slice(sortsym[:nsortsym], func(i, j int) bool {
    		s1 := sortsym[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top