Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 349 for Cmp (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/serviceaccount/openidmetadata_test.go

    				t.Fatalf("Decode(_) = %v, want: <nil>", err)
    			}
    
    			bigIntComparer := cmp.Comparer(
    				func(x, y *big.Int) bool {
    					return x.Cmp(y) == 0
    				})
    			if !cmp.Equal(tt.WantKeys, ks.Keys, bigIntComparer) {
    				t.Errorf("unexpected diff in JWKS keys (-want, +got): %v",
    					cmp.Diff(tt.WantKeys, ks.Keys, bigIntComparer))
    			}
    		})
    	}
    }
    
    func TestURLBoundaries(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 01:53:17 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  9. pkg/controlplane/apiserver/options/options_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"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
    - 10.7K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/cache/snapshot_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cache
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top