Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,023 for Cmp (0.02 sec)

  1. src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt

    go mod edit -go=1.17 go.mod.tidye3
    go mod edit -go=1.17 go.mod.postget
    
    go list -m all
    
    go mod tidy -e
    cmp go.mod go.mod.tidye3
    
    go mod tidy -e
    cmp go.mod go.mod.tidye2
    
    go mod tidy -e
    cmp go.mod go.mod.tidye1
    
    go mod tidy -e
    cmp go.mod go.mod.117
    
    
    # As in the eager case, for the lazy module the fully-upgraded dependency graph
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/upgradeconfiguration_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package config
    
    import (
    	"os"
    	"path/filepath"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"github.com/lithammer/dedent"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/utils/ptr"
    	"sigs.k8s.io/yaml"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package volumerestrictions
    
    import (
    	"context"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultOrderedDisambiguationRule.java

                }
                if (max == null || comparator.compare(value, max) > 0) {
                    max = value;
                }
            }
            T cmp = pickFirst ? min : max;
            if (cmp != null) {
                for (T value : candidateValues) {
                    if (value.equals(cmp)) {
                        details.closestMatch(value);
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storageversion/manager_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package storageversion
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    func TestSortResourceInfosByGroupResource(t *testing.T) {
    	tests := []struct {
    		infos    []ResourceInfo
    		expected []ResourceInfo
    	}{
    		{
    			infos:    nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 09 02:34:59 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  6. pilot/pkg/networking/grpcgen/lds_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package grpcgen
    
    import (
    	"fmt"
    	"sort"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/istio-agent/grpcxds"
    	"istio.io/istio/pkg/util/sets"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 30 20:07:58 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/matcher/template_test.go

    // limitations under the License.
    
    package matcher
    
    import (
    	"testing"
    
    	uri_template "github.com/envoyproxy/go-control-plane/envoy/extensions/path/match/uri_template/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    )
    
    func TestPathTemplateMatcher(t *testing.T) {
    	testCases := []struct {
    		name string
    		path string
    		want *uri_template.UriTemplateMatchConfig
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. pkg/kubelet/cloudresource/cloud_request_manager_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cloudresource
    
    import (
    	"errors"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/cloud-provider/fake"
    )
    
    func createNodeInternalIPAddress(address string) []v1.NodeAddress {
    	return []v1.NodeAddress{
    		{
    			Type:    v1.NodeInternalIP,
    			Address: address,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_metrics_test.go

    				if metrics.Available.Cmp(*availableBytes) != 0 {
    					t.Fatalf("for %s: error: expected :%v , got: %v", tc.name, *availableBytes, *(metrics.Available))
    				}
    				if metrics.Capacity.Cmp(*totalBytes) != 0 {
    					t.Fatalf("for %s: error: expected :%v , got: %v", tc.name, *totalBytes, *(metrics.Capacity))
    				}
    				if metrics.Used.Cmp(*usedBytes) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/audit/request_test.go

    				}
    
    				if !cmp.Equal(test.expected, objectGot) {
    					t.Errorf("expected and actual do not match, diff: %s", cmp.Diff(test.expected, objectGot))
    				}
    			}
    
    			// we always expect the original object to be unchanged.
    			if !cmp.Equal(original, test.object) {
    				t.Errorf("the original object has mutated, diff: %s", cmp.Diff(original, test.object))
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 6.2K bytes
    - Viewed (0)
Back to top