Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 364 for Cmp (0.03 sec)

  1. cmd/kubeadm/app/cmd/init_test.go

    limitations under the License.
    */
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"net/http/httptest"
    	"os"
    	"path/filepath"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"github.com/stretchr/testify/assert"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/utils/ptr"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/runtime/sys_darwin_arm64.s

    	MOVW	0(R0), R0	// arg 1 fd
    	BL	libc_write(SB)
    	MOVD	$-1, R1
    	CMP	R0, R1
    	BNE	noerr
    	BL	libc_error(SB)
    	MOVW	(R0), R0
    	NEG	R0, R0		// caller expects negative errno value
    noerr:
    	RET
    
    TEXT runtime·read_trampoline(SB),NOSPLIT,$0
    	MOVD	8(R0), R1	// arg 2 buf
    	MOVW	16(R0), R2	// arg 3 count
    	MOVW	0(R0), R0	// arg 1 fd
    	BL	libc_read(SB)
    	MOVD	$-1, R1
    	CMP	R0, R1
    	BNE	noerr
    	BL	libc_error(SB)
    	MOVW	(R0), R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go

    				t.Errorf("unexpected: %v", cmp.Diff(e, a))
    			}
    			if e, a := tc.expectAllowed, result.Allowed; !reflect.DeepEqual(e, a) {
    				t.Errorf("unexpected: %v", cmp.Diff(e, a))
    			}
    			if e, a := tc.expectPatch, result.Patch; !reflect.DeepEqual(e, a) {
    				t.Errorf("unexpected: %v", cmp.Diff(e, a))
    			}
    			if e, a := tc.expectPatchType, result.PatchType; !reflect.DeepEqual(e, a) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  4. src/math/big/prime.go

    			x = x.random(rand, nm3, nm3Len)
    			x = x.add(x, natTwo)
    		}
    		y = y.expNN(x, q, n, false)
    		if y.cmp(natOne) == 0 || y.cmp(nm1) == 0 {
    			continue
    		}
    		for j := uint(1); j < k; j++ {
    			y = y.sqr(y)
    			quotient, y = quotient.div(y, y, n)
    			if y.cmp(nm1) == 0 {
    				continue NextRandom
    			}
    			if y.cmp(natOne) == 0 {
    				return false
    			}
    		}
    		return false
    	}
    
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  5. pilot/pkg/model/service_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package model
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	fuzz "github.com/google/gofuzz"
    
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/labels"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/compare.go

    		ncs = n.Y
    	case ir.IsConst(n.Y, constant.String):
    		cs = n.Y
    		ncs = n.X
    	}
    	if cs != nil {
    		cmp := n.Op()
    		// Our comparison below assumes that the non-constant string
    		// is on the left hand side, so rewrite "" cmp x to x cmp "".
    		// See issue 24817.
    		if ir.IsConst(n.X, constant.String) {
    			cmp = brrev(cmp)
    		}
    
    		// maxRewriteLen was chosen empirically.
    		// It is the value that minimizes cmd/go file size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. pkg/controller/job/indexed_job_utils_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package job
    
    import (
    	"math"
    	"strconv"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	batch "k8s.io/api/batch/v1"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"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: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    // Absorb boolean tests into block
    (NE (FPFlagTrue cmp) yes no) => (FPT cmp yes no)
    (NE (FPFlagFalse cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagTrue cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagFalse cmp) yes no) => (FPT cmp yes no)
    (NE (XORconst [1] cmp:(SGT _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTU _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTconst _)) yes no) => (EQ cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  9. src/runtime/race_arm64.s

    	MOVD	runtime·racearenastart(SB), R10
    	CMP	R10, R1
    	BLT	data
    	MOVD	runtime·racearenaend(SB), R10
    	CMP	R10, R1
    	BLT	call
    data:
    	MOVD	runtime·racedatastart(SB), R10
    	CMP	R10, R1
    	BLT	ret
    	MOVD	runtime·racedataend(SB), R10
    	CMP	R10, R1
    	BGT	ret
    call:
    	JMP	racecall<>(SB)
    ret:
    	RET
    
    // func runtime·racefuncenter(pc uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/runtime/asm_arm.s

    TEXT runtime·systemstack(SB),NOSPLIT,$0-4
    	MOVW	fn+0(FP), R0	// R0 = fn
    	MOVW	g_m(g), R1	// R1 = m
    
    	MOVW	m_gsignal(R1), R2	// R2 = gsignal
    	CMP	g, R2
    	B.EQ	noswitch
    
    	MOVW	m_g0(R1), R2	// R2 = g0
    	CMP	g, R2
    	B.EQ	noswitch
    
    	MOVW	m_curg(R1), R3
    	CMP	g, R3
    	B.EQ	switch
    
    	// Bad: g is not gsignal, not g0, not curg. What is it?
    	// Hide call from linker nosplit analysis.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
Back to top