Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 349 for Cmp (0.79 sec)

  1. pkg/api/testing/unstructured_test.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"bytes"
    	"fmt"
    	"math/rand"
    	"os"
    	"reflect"
    	"strconv"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/meta"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/version/version_test.go

    		}
    
    		switch {
    		case cmp == -1:
    			return fmt.Errorf("unexpected ordering %q < %q", item.version, prev.version)
    		case cmp == 0 && !item.equalsPrev:
    			return fmt.Errorf("unexpected comparison %q == %q", item.version, prev.version)
    		case cmp == 1 && item.equalsPrev:
    			return fmt.Errorf("unexpected comparison %q != %q", item.version, prev.version)
    		case cmp != -rcmp:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  3. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package persistentvolumeclaim
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	apitesting "k8s.io/kubernetes/pkg/api/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    limitations under the License.
    */
    
    package nodeports
    
    import (
    	"fmt"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/klog/v2/ktesting"
    	_ "k8s.io/klog/v2/ktesting/init"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	st "k8s.io/kubernetes/pkg/scheduler/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. src/runtime/race_ppc64le.s

    	MOVD	runtime·racearenastart(SB), R9
    	CMP	R4, R9
    	BLT	data
    	MOVD	runtime·racearenaend(SB), R9
    	CMP	R4, R9
    	BLT	call
    data:
    	MOVD	runtime·racedatastart(SB), R9
    	CMP	R4, R9
    	BLT	ret
    	MOVD	runtime·racedataend(SB), R9
    	CMP	R4, R9
    	BGT	ret
    call:
    	// Careful!! racecall will save LR on its
    	// stack, which is OK as long as racecalladdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    // Absorb boolean tests into block
    (NE (FPFlagTrue cmp) yes no) => (FPT cmp yes no)
    (NE (FPFlagFalse cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagTrue cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagFalse cmp) yes no) => (FPT cmp yes no)
    (NE (XORconst [1] cmp:(SGT _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTU _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTconst _)) yes no) => (EQ cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  7. pkg/apis/batch/v1/defaults_test.go

    				}
    			}
    			if diff := cmp.Diff(expected.Spec.CompletionMode, actual.Spec.CompletionMode); diff != "" {
    				t.Errorf("Unexpected CompletionMode (-want,+got):\n%s", diff)
    			}
    			if diff := cmp.Diff(expected.Spec.PodReplacementPolicy, actual.Spec.PodReplacementPolicy); diff != "" {
    				t.Errorf("Unexpected PodReplacementPolicy (-want,+got):\n%s", diff)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. src/hash/crc32/crc32_ppc64le.s

    	MOVD    table8+8(FP), R4   // *Table
    	MOVD    p+16(FP), R5
    	MOVD    p_len+24(FP), R6 // p len
    
    	CMP     $0,R6           // len == 0?
    	BNE     start
    	MOVW    R3,ret+40(FP)   // return crc
    	RET
    
    start:
    	NOR     R3,R3,R7        // ^crc
    	MOVWZ	R7,R7		// 32 bits
    	CMP	R6,$16
    	MOVD	R6,CTR
    	BLT	short
    	SRAD    $3,R6,R8        // 8 byte chunks
    	MOVD    R8,CTR
    
    loop:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/options/options_test.go

    limitations under the License.
    */
    
    package options
    
    import (
    	"net"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"github.com/spf13/pflag"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	"k8s.io/apiserver/pkg/admission"
    	apiserveroptions "k8s.io/apiserver/pkg/server/options"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/join_test.go

    limitations under the License.
    */
    
    package cmd
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/ptr"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top