Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 444 for Cmp (0.04 sec)

  1. 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)
  2. src/cmd/go/testdata/script/build_trimpath.txt

    go mod edit -droprequire rsc.io/fortune
    
    # Two binaries built from identical packages in different directories
    # should be identical.
    cd $WORK/b/src/paths
    go build -trimpath -o $WORK/paths-b.exe
    cmp -q $WORK/paths-a.exe $WORK/paths-b.exe
    
    
    # Same sequence of tests but with overlays.
    # A binary built without -trimpath should contain the module root dir
    # and GOROOT for debugging and stack traces.
    cd $WORK/a/src/paths
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        E current = thisIterator.next();
        try {
          while (true) {
            int cmp = unsafeCompare(current, target);
    
            if (cmp < 0) {
              if (!thisIterator.hasNext()) {
                return false;
              }
              current = thisIterator.next();
            } else if (cmp == 0) {
              if (!thatIterator.hasNext()) {
                return true;
              }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/crypto/aes/asm_s390x.s

    	// Check that the src size is less than or equal to the buffer size.
    	MOVD	buf_len+88(FP), R4
    	CMP	R0, R4
    	BGT	crash
    
    	// Check that the src size is a multiple of 16-bytes.
    	MOVD	R0, R4
    	AND	$0xf, R4
    	BLT	crash // non-zero
    
    	// Check that the src size is less than or equal to the dst size.
    	MOVD	dst_len+40(FP), R4
    	CMP	R0, R4
    	BGT	crash
    
    	MOVD	R2, R4
    	MOVD	R2, R6
    	MOVD	R2, R8
    	MOVD	R3, R5
    	MOVD	R3, R7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa_legacy.go

    		return false
    	}
    	r, s := new(big.Int).SetBytes(rBytes), new(big.Int).SetBytes(sBytes)
    
    	c := pub.Curve
    	N := c.Params().N
    
    	if r.Sign() <= 0 || s.Sign() <= 0 {
    		return false
    	}
    	if r.Cmp(N) >= 0 || s.Cmp(N) >= 0 {
    		return false
    	}
    
    	// SEC 1, Version 2.0, Section 4.1.4
    	e := hashToInt(hash, c)
    	w := new(big.Int).ModInverse(s, N)
    
    	u1 := e.Mul(e, w)
    	u1.Mod(u1, N)
    	u2 := w.Mul(r, w)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/runtime/asm_ppc64x.s

    	MOVD	fn+0(FP), R3	// R3 = fn
    	MOVD	R3, R11		// context
    	MOVD	g_m(g), R4	// R4 = m
    
    	MOVD	m_gsignal(R4), R5	// R5 = gsignal
    	CMP	g, R5
    	BEQ	noswitch
    
    	MOVD	m_g0(R4), R5	// R5 = g0
    	CMP	g, R5
    	BEQ	noswitch
    
    	MOVD	m_curg(R4), R6
    	CMP	g, R6
    	BEQ	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: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  7. pkg/apis/storage/v1/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1_test
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	storagev1 "k8s.io/api/storage/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    }
    
    // Cmp returns 0 if the quantity is equal to y, -1 if the quantity is less than y, or 1 if the
    // quantity is greater than y.
    func (q *Quantity) Cmp(y Quantity) int {
    	if q.d.Dec == nil && y.d.Dec == nil {
    		return q.i.Cmp(y.i)
    	}
    	return q.AsDec().Cmp(y.AsDec())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. src/crypto/aes/gcm_ppc64x.s

    	ADD $64, R19; \
    	LXVD2X (blk_key)(R16), VS9; \
    	LXVD2X (blk_key)(R17), VS10; \
    	CMP key_len, $12, CR2; \
    	CMP key_len, $10; \
    	BEQ keysLoaded; \
    	LXVD2X (blk_key)(R18), VS11; \
    	LXVD2X (blk_key)(R19), VS12; \
    	BEQ CR2, keysLoaded; \
    	ADD $64, R16; \
    	ADD $64, R17; \
    	LXVD2X (blk_key)(R16), VS13; \
    	LXVD2X (blk_key)(R17), VS14; \
    	CMP key_len, $14; \
    	BEQ keysLoaded; \
    	MOVD R0,0(R0); \
    keysLoaded:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        E current = thisIterator.next();
        try {
          while (true) {
            int cmp = unsafeCompare(current, target);
    
            if (cmp < 0) {
              if (!thisIterator.hasNext()) {
                return false;
              }
              current = thisIterator.next();
            } else if (cmp == 0) {
              if (!thatIterator.hasNext()) {
                return true;
              }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top