Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,023 for Cmp (0.16 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                data[ index + i ] = 0;
    
            this.digest.update(data, offset, length);
    
            byte[] cmp = new byte[SIGNATURE_LENGTH];
            System.arraycopy(this.digest.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH);
            if ( !MessageDigest.isEqual(sig, cmp) ) {
                return true;
            }
            return false;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package internalversion
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    				acc = sum
    			} else {
    				acc = nextAdder
    			}
    		}
    		return acc.(ref.Val)
    	}
    }
    
    func min() functions.UnaryOp {
    	return cmp("min", types.IntOne)
    }
    
    func max() functions.UnaryOp {
    	return cmp("max", types.IntNegOne)
    }
    
    func cmp(opName string, opPreferCmpResult ref.Val) functions.UnaryOp {
    	return func(val ref.Val) ref.Val {
    		var result traits.Comparer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_indirect_tidy.txt

    # for indirect dependencies already implied by older-than-selected versions
    # already in the build list.
    
    cp go.mod.orig go.mod
    go mod tidy
    cmp go.mod go.mod.orig
    
    cp go.mod.orig go.mod
    go list -m all
    cmp go.mod go.mod.orig
    
    -- go.mod.orig --
    module main
    
    go 1.13
    
    require a v0.0.0
    
    replace (
    	a v0.0.0 => ./a
    	b v0.0.0 => ./b
    	i v0.0.0 => ./i
    	x v0.1.0 => ./x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 18 19:43:01 UTC 2019
    - 804 bytes
    - Viewed (0)
  5. src/runtime/vlop_arm.s

    	MOVW	RM, 16(R13)
    	MOVW	Rn, Rr			/* numerator */
    	MOVW	g_m(g), Rq
    	MOVW	m_divmod(Rq), Rq	/* denominator */
    	CMP 	$0, Rr
    	BGE 	d1
    	RSB 	$0, Rr, Rr
    	CMP 	$0, Rq
    	BGE 	d2
    	RSB 	$0, Rq, Rq
    d0:
    	BL  	runtimeĀ·udiv(SB)  	/* none/both neg */
    	MOVW	Rq, RTMP
    	B	out1
    d1:
    	CMP 	$0, Rq
    	BGE 	d0
    	RSB 	$0, Rq, Rq
    d2:
    	BL  	runtimeĀ·udiv(SB)  	/* one neg */
    	RSB	$0, Rq, RTMP
    out1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  6. src/hash/crc32/crc32_s390x.s

    	ADD     $(-64), R4               // LEN = LEN - 64
    
    	CMP     R4, $64
    	BGE     fold_64bytes_loop
    
    less_than_64bytes:
    	// Fold V1 to V4 into a single 128-bit value in V1
    	VGFMAG  CONST_R4R3, V1, V2, V1
    	VGFMAG  CONST_R4R3, V1, V3, V1
    	VGFMAG  CONST_R4R3, V1, V4, V1
    
    	// Check whether to continue with 64-bit folding
    	CMP R4, $16
    	BLT final_fold
    
    fold_16bytes_loop:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 00:49:17 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/mvs/graph.go

    // may be in use.
    func NewGraph(cmp func(p, v1, v2 string) int, roots []module.Version) *Graph {
    	g := &Graph{
    		cmp:      cmp,
    		roots:    slices.Clip(roots),
    		required: make(map[module.Version][]module.Version),
    		isRoot:   make(map[module.Version]bool),
    		selected: make(map[string]string),
    	}
    
    	for _, m := range roots {
    		g.isRoot[m] = true
    		if g.cmp(m.Path, g.Selected(m.Path), m.Version) < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_download.txt

    ! exists go.sum
    go mod download
    cmp go.mod.update go.mod
    cmp go.sum.update go.sum
    cp go.mod.orig go.mod
    rm go.sum
    
    # download with arguments (even "all") does update go.mod and go.sum.
    go mod download rsc.io/sampler
    cmp go.mod.update go.mod
    grep '^rsc.io/sampler v1.3.0 ' go.sum
    cp go.mod.orig go.mod
    rm go.sum
    
    go mod download all
    cmp go.mod.update go.mod
    grep '^rsc.io/sampler v1.3.0 ' go.sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 20:42:35 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  9. tests/fuzz/crd_roundtrip_fuzzer.go

    	"strings"
    	"sync"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    	"github.com/davecgh/go-spew/spew"
    	legacyproto "github.com/golang/protobuf/proto" // nolint: staticcheck
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"google.golang.org/protobuf/testing/protocmp"
    	apimeta "k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. 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)
Back to top