Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 299 for Cmp (0.02 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    */
    
    package v1
    
    import (
    	"encoding/json"
    	"fmt"
    	"reflect"
    	"testing"
    	"time"
    
    	cbor "k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct"
    	"sigs.k8s.io/yaml"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    )
    
    type TimeHolder struct {
    	T Time `json:"t"`
    }
    
    func TestTimeMarshalYAML(t *testing.T) {
    	cases := []struct {
    		input  Time
    		result string
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. pkg/registry/core/persistentvolumeclaim/storage/storage_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package storage
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. 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)
  4. src/internal/trace/batchcursor.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package trace
    
    import (
    	"cmp"
    	"encoding/binary"
    	"fmt"
    
    	"internal/trace/event"
    	"internal/trace/event/go122"
    )
    
    type batchCursor struct {
    	m       ThreadID
    	lastTs  Time
    	idx     int       // next index into []batch
    	dataOff int       // next index into batch.data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/certlist_test.go

    limitations under the License.
    */
    
    package certs
    
    import (
    	"crypto"
    	"crypto/tls"
    	"crypto/x509"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	certutil "k8s.io/client-go/util/cert"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. pkg/controller/job/pod_failure_policy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package job
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	batch "k8s.io/api/batch/v1"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/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)
  8. 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)
  9. pkg/controller/job/backoff_utils_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package job
    
    import (
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/klog/v2/ktesting"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. android/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 (2)
Back to top