Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 364 for Cmp (0.06 sec)

  1. pkg/slices/slices_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package slices
    
    import (
    	"cmp"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"strconv"
    	"testing"
    
    	cmp2 "github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tests/util/leak"
    )
    
    type s struct {
    	Junk string
    }
    
    func TestEqual(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    // limitations under the License.
    
    package multicluster
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	. "github.com/onsi/gomega"
    	"github.com/spf13/pflag"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  3. internal/s3select/sql/evaluate.go

    }
    
    const floatCmpTolerance = 0.000001
    
    func (e *In) evalInNode(r Record, lhs *Value, tableAlias string) (*Value, error) {
    	// Compare two values in terms of in-ness.
    	var cmp func(a, b Value) bool
    	cmp = func(a, b Value) bool {
    		// Convert if needed.
    		inferTypesForCmp(&a, &b)
    
    		if a.Equals(b) {
    			return true
    		}
    
    		// If elements, compare each.
    		aA, aOK := a.ToArray()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    package modes_test
    
    import (
    	"encoding/hex"
    	"fmt"
    	"math"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/conversion"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    
    	"github.com/google/go-cmp/cmp"
    )
    
    // TestAppendixA roundtrips the examples of encoded CBOR data items in RFC 8949 Appendix A. For
    // completeness, all examples from the appendix are included, even those those that are rejected by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/coerce_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package objectmeta
    
    import (
    	"math/rand"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	"k8s.io/apimachinery/pkg/api/equality"
    	metafuzzer "k8s.io/apimachinery/pkg/apis/meta/fuzzer"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. api/go1.21.txt

    pkg bytes, func ContainsFunc([]uint8, func(int32) bool) bool #54386
    pkg bytes, method (*Buffer) AvailableBuffer() []uint8 #53685
    pkg bytes, method (*Buffer) Available() int #53685
    pkg cmp, func Compare[$0 Ordered]($0, $0) int #59488
    pkg cmp, func Less[$0 Ordered]($0, $0) bool #59488
    pkg cmp, type Ordered interface {} #59488
    pkg context, func AfterFunc(Context, func()) func() bool #57928
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  7. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package clusterauthenticationtrust
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	corev1 "k8s.io/api/core/v1"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    limitations under the License.
    */
    
    package imagelocality
    
    import (
    	"context"
    	"crypto/sha256"
    	"encoding/hex"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/klog/v2/ktesting"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	"k8s.io/kubernetes/pkg/scheduler/framework/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "RSBSshiftRAreg", argLength: 3, reg: gp31carry, asm: "RSB"}, // arg1>>arg2 - arg0, signed shift, set carry flag
    
    		// comparisons
    		{name: "CMP", argLength: 2, reg: gp2flags, asm: "CMP", typ: "Flags"},                    // arg0 compare to arg1
    		{name: "CMPconst", argLength: 1, reg: gp1flags, asm: "CMP", aux: "Int32", typ: "Flags"}, // arg0 compare to auxInt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Striped64.java

        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
          return UNSAFE.compareAndSwapLong(this, valueOffset, cmp, val);
        }
    
        // Unsafe mechanics
        private static final sun.misc.Unsafe UNSAFE;
        private static final long valueOffset;
    
        static {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top