Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 299 for Cmp (0.12 sec)

  1. src/cmd/trace/jsontrace.go

    		if b.Start != nil {
    			bStart = b.Start.Time()
    		}
    		if a.Start != b.Start {
    			return cmp.Compare(aStart, bStart)
    		}
    		// Break ties with the end time.
    		aEnd, bEnd := parsed.endTime(), parsed.endTime()
    		if a.End != nil {
    			aEnd = a.End.Time()
    		}
    		if b.End != nil {
    			bEnd = b.End.Time()
    		}
    		return cmp.Compare(aEnd, bEnd)
    	})
    }
    
    func defaultGenOpts() *genOpts {
    	return &genOpts{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/runtime/asm_arm64.s

    	VMOV	R2, V30.D[1] // load length into seed
    
    	MOVD	$runtime·aeskeysched+0(SB), R4
    	VLD1.P	16(R4), [V0.B16]
    	AESE	V30.B16, V0.B16
    	AESMC	V0.B16, V0.B16
    	CMP	$16, R2
    	BLO	aes0to15
    	BEQ	aes16
    	CMP	$32, R2
    	BLS	aes17to32
    	CMP	$64, R2
    	BLS	aes33to64
    	CMP	$128, R2
    	BLS	aes65to128
    	B	aes129plus
    
    aes0to15:
    	CBZ	R2, aes0
    	VEOR	V2.B16, V2.B16, V2.B16
    	TBZ	$3, R2, less_than_8
    	VLD1.P	8(R0), V2.D[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    */
    
    package kubelet
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    			// (file versions are either the empty string or of the form go1.dd)
    			if pkgVersionOk {
    				cmp := fileVersion.cmp(check.version)
    				// Go 1.21 introduced the feature of setting the go.mod
    				// go line to an early version of Go and allowing //go:build lines
    				// to “upgrade” (cmp > 0) the Go version in a given file.
    				// We can do that backwards compatibly.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    
    	"github.com/google/go-cmp/cmp"
    )
    
    func TestRecognizesData(t *testing.T) {
    	for _, tc := range []struct {
    		in         []byte
    		recognizes bool
    	}{
    		{
    			in:         nil,
    			recognizes: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top