Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 357 for Cmp (0.04 sec)

  1. pkg/test/framework/components/echo/echotest/filters_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package echotest_test
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/components/cluster/kube"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/trace/tasks.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 main
    
    import (
    	"bytes"
    	"cmp"
    	"fmt"
    	"html/template"
    	"internal/trace"
    	"internal/trace/traceviewer"
    	"log"
    	"net/http"
    	"slices"
    	"strings"
    	"time"
    )
    
    // UserTasksHandlerFunc returns a HandlerFunc that reports all tasks found in the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. pilot/pkg/model/typed_xds_cache.go

    // limitations under the License.
    
    package model
    
    import (
    	"fmt"
    	"sync"
    	"time"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"github.com/google/go-cmp/cmp"
    	"github.com/hashicorp/golang-lru/v2/simplelru"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/monitoring"
    	"istio.io/istio/pkg/slices"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_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 MicroTimeHolder struct {
    	T MicroTime `json:"t"`
    }
    
    func TestMicroTimeMarshalYAML(t *testing.T) {
    	cases := []struct {
    		input  MicroTime
    		result string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    */
    
    package intstr
    
    import (
    	"encoding/json"
    	"fmt"
    	"math"
    	"reflect"
    	"testing"
    
    	cbor "k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct"
    	"sigs.k8s.io/yaml"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    )
    
    func TestFromInt(t *testing.T) {
    	i := FromInt(93)
    	if i.Type != Int || i.IntVal != 93 {
    		t.Errorf("Expected IntVal=93, got %+v", i)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    limitations under the License.
    */
    
    package labels
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"k8s.io/apimachinery/pkg/selection"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    )
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
  8. src/runtime/sys_linux_arm64.s

    	MOVD	R12, -24(R1)
    	MOVD	$1234, R10
    	MOVD	R10, -32(R1)
    
    	MOVD	$SYS_clone, R8
    	SVC
    
    	// In parent, return.
    	CMP	ZR, R0
    	BEQ	child
    	MOVW	R0, ret+40(FP)
    	RET
    child:
    
    	// In child, on new stack.
    	MOVD	-32(RSP), R10
    	MOVD	$1234, R0
    	CMP	R0, R10
    	BEQ	good
    	MOVD	$0, R0
    	MOVD	R0, (R0)	// crash
    
    good:
    	// Initialize m->procid to Linux tid
    	MOVD	$SYS_gettid, R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top