Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 4,007 for Sort (0.05 sec)

  1. pkg/test/framework/components/echo/instances.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package echo
    
    import (
    	"errors"
    	"sort"
    
    	"github.com/hashicorp/go-multierror"
    
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    )
    
    var _ Target = Instances{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/mod.go

    	if path == "toolchain" {
    		return Compare(maybeToolchainVersion(x), maybeToolchainVersion(y))
    	}
    	return semver.Compare(x, y)
    }
    
    // ModSort is like module.Sort but understands the "go" and "toolchain"
    // modules and their version ordering.
    func ModSort(list []module.Version) {
    	sort.Slice(list, func(i, j int) bool {
    		mi := list[i]
    		mj := list[j]
    		if mi.Path != mj.Path {
    			return mi.Path < mj.Path
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:18:46 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. hack/update-vendor.sh

      local require_json="${local_tmp_dir}/require.json"
      local replace_json="${local_tmp_dir}/replace.json"
      go mod edit -json \
          | jq -r ".Require // [] | sort | .[] | select(${require_filter})" \
          > "${require_json}"
      go mod edit -json \
          | jq -r ".Replace // [] | sort | .[] | select(${replace_filter})" \
          > "${replace_json}"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/workload.go

    	verifiedWorkloads := make([]*ZtunnelWorkload, 0, len(zDump.Workloads))
    	for _, wl := range zDump.Workloads {
    		if filter.Verify(wl) {
    			verifiedWorkloads = append(verifiedWorkloads, wl)
    		}
    	}
    
    	// Sort by name, node
    	sort.Slice(verifiedWorkloads, func(i, j int) bool {
    		in := verifiedWorkloads[i].Namespace + "." + verifiedWorkloads[i].Name
    		jn := verifiedWorkloads[j].Namespace + "." + verifiedWorkloads[j].Name
    		if in != jn {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-list.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package mesh
    
    import (
    	"sort"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/operator/pkg/helm"
    )
    
    type profileListArgs struct {
    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. pkg/ctrlz/topics/env.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package topics
    
    import (
    	"net/http"
    	"os"
    	"sort"
    	"strings"
    
    	"istio.io/istio/pkg/ctrlz/fw"
    	"istio.io/istio/pkg/ctrlz/topics/assets"
    )
    
    type envTopic struct{}
    
    // EnvTopic returns a ControlZ topic that allows visualization of process environment variables.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. pkg/credentialprovider/plugins.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package credentialprovider
    
    import (
    	"reflect"
    	"sort"
    	"sync"
    
    	"k8s.io/klog/v2"
    )
    
    // All registered credential providers.
    var providersMutex sync.Mutex
    var providers = make(map[string]DockerConfigProvider)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 22:01:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/example_test.go

    	}
    	var items []string
    	for obj, uses := range usesByObj {
    		sort.Strings(uses)
    		item := fmt.Sprintf("%s:\n  defined at %s\n  used at %s",
    			types2.ObjectString(obj, types2.RelativeTo(pkg)),
    			obj.Pos(),
    			strings.Join(uses, ", "))
    		items = append(items, item)
    	}
    	sort.Strings(items) // sort by line:col, in effect
    	fmt.Println(strings.Join(items, "\n"))
    	fmt.Println()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/inittask.go

    				continue // already found
    			}
    			q = append(q, s)
    			m[s] = 0 // mark as found
    		}
    		m[x] = ndeps
    		if ndeps == 0 {
    			h.push(ldr, x)
    		}
    	}
    
    	// Sort edges so we can look them up by edge destination.
    	sort.Slice(edges, func(i, j int) bool {
    		return edges[i].to < edges[j].to
    	})
    
    	// Figure out the schedule.
    	sched := ldr.MakeSymbolBuilder(symName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. test/typeparam/maps.go

    var m2 = map[int]string{1: "2", 2: "4", 4: "8", 8: "16"}
    
    func TestKeys() {
    	want := []int{1, 2, 4, 8}
    
    	got1 := _Keys(m1)
    	sort.Ints(got1)
    	if !_SliceEqual(got1, want) {
    		panic(fmt.Sprintf("_Keys(%v) = %v, want %v", m1, got1, want))
    	}
    
    	got2 := _Keys(m2)
    	sort.Ints(got2)
    	if !_SliceEqual(got2, want) {
    		panic(fmt.Sprintf("_Keys(%v) = %v, want %v", m2, got2, want))
    	}
    }
    
    func TestValues() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 5.9K bytes
    - Viewed (0)
Back to top