Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 449 for Cmp (0.04 sec)

  1. pkg/api/pod/util_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pod
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. src/slices/example_test.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 slices_test
    
    import (
    	"cmp"
    	"fmt"
    	"slices"
    	"strconv"
    	"strings"
    )
    
    func ExampleBinarySearch() {
    	names := []string{"Alice", "Bob", "Vera"}
    	n, found := slices.BinarySearch(names, "Vera")
    	fmt.Println("Vera:", n, found)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    limitations under the License.
    */
    
    package aggregated
    
    import (
    	"context"
    	"errors"
    	"net/http"
    	"reflect"
    	"sync"
    	"time"
    
    	"github.com/emicklei/go-restful/v3"
    	"github.com/google/go-cmp/cmp"
    	apidiscoveryv2 "k8s.io/api/apidiscovery/v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    type FakeResourceManager interface {
    	ResourceManager
    	Expect() ResourceManager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/extension/wasmplugin_test.go

    	networkwasm "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/wasm/v3"
    	wasmextension "github.com/envoyproxy/go-control-plane/envoy/extensions/wasm/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/anypb"
    	"google.golang.org/protobuf/types/known/durationpb"
    	"google.golang.org/protobuf/types/known/wrapperspb"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    cp go.mod go.mod.orig
    
    ! go mod tidy
    
    stderr '^go: example\.com/m imports\n\texample\.net/added: module example\.net/added@latest found \(v0\.3\.0, replaced by \./a1\), but does not contain package example\.net/added$'
    
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    [exec:patch] cp go.mod.orig go.mod
    [exec:patch] ! exists go.sum
    [exec:patch] ! go mod tidy -diff
    [exec:patch] ! stdout .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/runtime/atomic/atomic_ppc64x.s

    TEXT ·Load8(SB),NOSPLIT|NOFRAME,$-8-9
    	MOVD	ptr+0(FP), R3
    	SYNC
    	MOVBZ	0(R3), R3
    	CMP	R3, R3, CR7
    	BC	4, 30, 1(PC) // bne- cr7,0x4
    	ISYNC
    	MOVB	R3, ret+8(FP)
    	RET
    
    // uint64 ·Load64(uint64 volatile* ptr)
    TEXT ·Load64(SB),NOSPLIT|NOFRAME,$-8-16
    	MOVD	ptr+0(FP), R3
    	SYNC
    	MOVD	0(R3), R3
    	CMP	R3, R3, CR7
    	BC	4, 30, 1(PC) // bne- cr7,0x4
    	ISYNC
    	MOVD	R3, ret+8(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K 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. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    limitations under the License.
    */
    
    package servicecidrs
    
    import (
    	"context"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	v1 "k8s.io/api/core/v1"
    	networkingapiv1alpha1 "k8s.io/api/networking/v1alpha1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K 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