Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,023 for Cmp (0.06 sec)

  1. pkg/api/testing/copy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package testing
    
    import (
    	"bytes"
    	"math/rand"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. tools/istio-clean-iptables/pkg/cmd/cleanup_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cmd
    
    import (
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	testutil "istio.io/istio/pilot/test/util"
    	"istio.io/istio/tools/istio-clean-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. test/codegen/mathbits.go

    func Add(x, y, ci uint) (r, co uint) {
    	// arm64:"ADDS","ADCS","ADC",-"ADD\t",-"CMP"
    	// amd64:"NEGL","ADCQ","SBBQ","NEGQ"
    	// ppc64x: "ADDC", "ADDE", "ADDZE"
    	// s390x:"ADDE","ADDC\t[$]-1,"
    	// riscv64: "ADD","SLTU"
    	return bits.Add(x, y, ci)
    }
    
    func AddC(x, ci uint) (r, co uint) {
    	// arm64:"ADDS","ADCS","ADC",-"ADD\t",-"CMP"
    	// amd64:"NEGL","ADCQ","SBBQ","NEGQ"
    	// loong64: "ADDV", "SGTU"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/matcher/string_test.go

    // limitations under the License.
    
    package matcher
    
    import (
    	"testing"
    
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    )
    
    type testCase struct {
    	name   string
    	v      string
    	prefix string
    	want   *matcher.StringMatcher
    }
    
    func TestStringMatcherWithPrefix(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 17 22:42:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_version.txt

    # indicated version.
    
    go mod tidy -go=1.15
    cmp go.mod go.mod.115
    
    go mod tidy
    cmp go.mod go.mod.115
    
    
    go mod tidy -go=1.16
    cmp go.mod go.mod.116
    
    go mod tidy
    cmp go.mod go.mod.116
    
    
    go mod tidy -go=1.17
    cmp go.mod go.mod.117
    
    go mod tidy
    cmp go.mod go.mod.117
    
    
    # If we downgrade back to 1.15, we should re-resolve d to v0.2.0 instead
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. pkg/controller/certificates/authority/authority_test.go

    package authority
    
    import (
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"math/big"
    	"net/url"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    
    	capi "k8s.io/api/certificates/v1"
    	"k8s.io/apimachinery/pkg/util/diff"
    )
    
    func TestCertificateAuthority(t *testing.T) {
    	caKey, err := ecdsa.GenerateKey(elliptic.P224(), rand.Reader)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/work_use_dot.txt

    # If the current directory contains a go.mod file,
    # 'go work use .' should add an entry for it.
    cd bar/baz
    go work use .
    cmp ../../go.work ../../go.work.rel
    
    # If the current directory lacks a go.mod file, 'go work use .'
    # should remove its entry.
    mv go.mod go.mod.bak
    go work use .
    cmp ../../go.work ../../go.work.orig
    
    # If the path is absolute, it should remain absolute.
    mv go.mod.bak go.mod
    go work use $PWD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 03 21:19:37 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/matcher/header_test.go

    package matcher
    
    import (
    	"regexp"
    	"testing"
    
    	routepb "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    )
    
    func TestHeaderMatcher(t *testing.T) {
    	testCases := []struct {
    		Name   string
    		K      string
    		V      string
    		Expect *routepb.HeaderMatcher
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 17 22:42:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/meta_test.go

    */
    
    package meta
    
    import (
    	"math/rand"
    	"reflect"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    )
    
    func TestAsPartialObjectMetadata(t *testing.T) {
    	f := fuzz.New().NilChance(.5).NumElements(0, 1).RandSource(rand.NewSource(1))
    
    	for i := 0; i < 100; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_arm.s

    	MOVB	runtime·iscgo(SB), R7
    	CMP	$0, R7
    	BNE	nosaveg
    	// If we don't have a signal stack, we won't receive signal, so don't
    	// bother saving g.
    	MOVW	m_gsignal(R6), R7          // g.m.gsignal
    	CMP	$0, R7
    	BEQ	nosaveg
    	// Don't save g if we are already on the signal stack, as we won't get
    	// a nested signal.
    	CMP	g, R7
    	BEQ	nosaveg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top